I know I can create a shapefile from a geojson if the shapefile only contains Polygons, but in case there is a MultiPolygon I get the following error: return [min(x), min(y), max(
Solution 1:
after some search I found that in a multi-polygon
[
polygon_0,
polygon_1,
.
.
]
only polygon_0 is the actual polygon and the rest of polygons are holes.
In my case I didn't need the holes at all so I converted multi-polygons into polygons basically.
Share
Post a Comment
for "Geojson To Shapefile Convertion Using Shapefile Library"
Post a Comment for "Geojson To Shapefile Convertion Using Shapefile Library"