geojson-precision
geojson-precision copied to clipboard
Error: Cannot create a string longer than 0x3fffffe7 characters (~1GB)
I have a very large file that requires coarsening (1.5GB, geojson of US ZIP codes). Running geojson-precision
results in an error "Error: Cannot create a string longer than 0x3fffffe7 characters". This is an upstream error in the Buffer npm module, but one presumes it makes more sense to report it here since the solution might involve substituting a different initial reader.
Reference file: https://github.com/jgoodall/us-maps/blob/master/geojson/zcta5.geo.json