mapbox / mapbox/geobuf

Support newline-delimited GeoJSON

Open
#103 2 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
1k
Forks
86
PR merge metrics
No merged PRs in 30d

Description

It would be really handy if the command line tools could support [newline-delimited](http://ndjson.org/) GeoJSON, similar to Tippecanoe, [shp2json](https://github.com/mbostock/shapefile) and the ndjson-cli library.

In theory, processing newline-delimited files means memory is not a constraint, as the entire source GeoJSON doesn't need to be read into memory before processing begins. But I don't know enough about PBF to know whether that's actually true in this instance.

Contributor guide

Open the contributing guide

Research direction

Start by inspecting the command line tools and how they currently process GeoJSON, then compare the newline-delimited format with Tippecanoe, shp2json, and ndjson-cli. Determine whether PBF processing can stream records without loading the entire source; done means the tools accept newline-delimited GeoJSON while preserving the expected output.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
cli, data
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.