Input format
What is GeoJSONSeq?
GeoJSON Text Sequences store GeoJSON features as a sequence of independent JSON texts rather than as one FeatureCollection. RFC 8142, published by the IETF in 2017, defines the variant in which each feature is preceded by the ASCII record separator character, following RFC 7464. A closely related and more common convention, often called newline-delimited GeoJSON, GeoJSONL or NDJSON, simply writes one feature per line.
Because no enclosing array has to be parsed, files can be read and written as streams, appended to, split into chunks and processed in parallel. This suits very large datasets, log-style data and command-line pipelines, for example as input for vector tile generation. Geometry types and coordinate rules follow GeoJSON, so coordinates are expected in WGS 84 longitude/latitude. Limitations include the absence of collection-level metadata and the lack of a spatial index.
Typical software
- GDAL/OGR
- QGIS
- Tippecanoe
- DuckDB