This code uses a node-based command line tool called Mapshaper (https://github.com/mbloch/mapshaper) that can simplify geojson geometries without breaking the topology - in other words, lines that should intersect still intersect, etc. The simplified data is about half the file size with the current settings, but could be simplified further.
This code uses a node-based command line tool called Mapshaper (https://github.com/mbloch/mapshaper) that can simplify geojson geometries without breaking the topology - in other words, lines that should intersect still intersect, etc. The simplified data is about half the file size with the current settings, but could be simplified further.