Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to convert the json into vector file(geojson or shapefile)? #8

Open
KenKenhehe opened this issue Aug 17, 2023 · 1 comment

Comments

@KenKenhehe
Copy link

After step2 a image and a json file of the 2D is genenrated, but they are in the format of list of line segments, is there an easy way to convert them into polygon? i.e, la list of points with correct order

@HeavenswordG
Copy link
Collaborator

Thank you for your comments, there is no direct way to convert json to vector file. An easy way is to write a program to convert .json file into .shp file with polygon objects, GDAL package will be a good solution to achieve this from Python environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants