I’m having a problem trying to export a shape file from ShrimpGIS. When read back into grasshopper, the geometry displayed is skewed from the original.
I’d like to get it into a shapefile format to be used by a colleague in ArcGIS. The boundary is the area of interest for a project in the city of Kelowna in British Columbia, Canada. I’ve used Heron to build most of the model, so to be able to export the boundary with location data is the goal.
I’m new to using GIS data and Shrimp so I’m really not sure what the problem may be or how to being troubleshooting.
Below is a screenshot of the modified example file and some Heron components to visualize the output from Shrimp:
Hi Vivian,
It appears ShrimpGIS may be converting from WGS84 to a UTM coordinate system when exporting geometry. I’m guessing it might be able to reverse the conversion on import. Are you able to use the ShrimpGIS import components for geometry ShrimpGIS exported?
Alternatively, the latest version of Heron available with the Yak Package Manager has an ExportVector component which allows you to export geometry as either SHP, GeoJson, KML or GML in the WGS84 coordinate system (see example below).
I did go back and use the ShrimpGIS import components and it does look like the correct boundary. I’m not sure why I didn’t use the ShrimpGIS component before…
Using Heron worked well! I was able to successfully export the correct geometry with the script you provided. How do I get the map shown in your example? When I put the Slippy Viewport components as you have, all I can see a boundary and a white plane, but no map.
Hi Vivian,
Glad it’s working! To get the map to show from the SlippyRaster component, make sure the get input is set to true. If you still see a white plane, try typing RefreshAllTextures into the Rhino command line, sometimes Rhino needs this prompt with this component.
Brian