Support newline-delimited geojson
stevage opened this issue · 3 comments
Supporting newline-delimited GeoJSON would be a great and easy way of supporting processing huge files.
Internally it's using https://github.com/mapbox/stream-features-from-file to stream features, and so far that's been working great with large input files.
That said, I'd be happy to accept a patch to support newline delimited GeoJSON.
Actually I might swap from stream-features-from-file since it's heavy mapnik dependency can be hard to install, to https://github.com/node-geojson/geojson-stream which is what I used for https://github.com/andrewharvey/geojson-tippecanoe-extensions-from-attributes and seems to work great.
Hmm, geojson-stream
is basically a wrapper around https://github.com/dominictarr/JSONStream/issues which has been archived now.