3 ms·
To do the simplification, you detect shared borders, simplify and generate polygons again. That doesn’t make topojson inherently superior. You can convert back
by echoangle 5mo ago
To do the simplification, you detect shared borders, simplify and generate polygons again.
That doesn’t make topojson inherently superior. You can convert back and forth and for many applications geojson is easier to process.
- Stratoscope 5mo agoYes, you could write code to do that. Or use the utilities provided in the TopoJSON GitHub and let them do it for you: convert to TopoJSON, simplify, convert back to GeoJSON. They have already written all the code for you.
- echoangle 5mo agoYeah, or you could use Geojson and use https://mapshaper.org/ https://mapshaper.org/