You can find detailed information at: Convert Shapefile to GeoJSON and GeoJSON to Shapefile using C#
Last active
November 11, 2021 18:38
-
-
Save aspose-com-gists/133c6e8b4a613dae32991505c2583e9a to your computer and use it in GitHub Desktop.
Convert Shapefile to GeoJSON and GeoJSON to Shapefile using C#
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
string jsonPath = dataDir + "output_out.json"; | |
string outShapefilePath = dataDir + "OutputShapeFile_out.shp"; | |
VectorLayer.Convert(jsonPath, Drivers.GeoJson, outShapefilePath, Drivers.Shapefile); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
string shapefilePath = dataDir + "InputShapeFile.shp"; | |
string jsonPath = dataDir + "output_out.json"; | |
VectorLayer.Convert(shapefilePath, Drivers.Shapefile, jsonPath, Drivers.GeoJson); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment