GeoJSON-Seq 📋

GeoJSON Sequences (Newline-delimited)

Open Beta
.geojsonl · application/geo+json-seq

GeoJSON-Seq is a line-delimited variant of GeoJSON where each line is a separate Feature. Ideal for streaming, logging, and Big Data pipelines.

Export GeoJSON-Seq now ✨ Open Beta — free, no limits

Key Features

Line-delimited format
Stream processing
Simple parsing
ndjson compatible
Example GeoJSON-Seq export (central Moscow, 1x0.5 km)
Example: central Moscow, ~1×0.5 km, medium detail

About GeoJSON-Seq Format

GeoJSON-Seq (RFC 8142) is the same GeoJSON laid out line by line: one line is one whole feature. There is no common FeatureCollection wrapper, which means you do not have to read the entire file to get to the first feature.

This is a pipeline format. Such files are read line by line and processed as a stream: filtered with jq, fed to tippecanoe to build vector tiles, poured into Kafka or Spark, cut into pieces by line count. Memory usage does not depend on the size of the export.

The output is a single .geojsonl with the features of all the selected layers written one after another. Each has a _layer property with the name of its source layer, OpenStreetMap attributes are preserved, and coordinates are WGS84 (EPSG:4326) with six decimal places.

The format is good at exactly what ordinary GeoJSON is bad at on large volumes, and vice versa: you cannot put a .geojsonl straight into Leaflet — the lines are first assembled into a FeatureCollection or processed as a stream.

What Program Opens GeoJSON-Seq Files

The following programs and applications can open, edit, and work with GeoJSON Sequences (Newline-delimited) (.geojsonl) files exported from OSM2CDR:

💻jq 💻ndjson-cli 💻Tippecanoe 💻GDAL/OGR 💻Python (json) 💻Node.js

Format specifications

Who Uses GeoJSON-Seq Maps

🏗
Stream processing
The file is read line by line, so memory does not depend on the size of the export.
💻
Big Data pipelines
A ready input for Spark, Kafka and tippecanoe, where data comes as a stream of records.
📊
Logging
Records are appended to the end and move on down the line as they arrive.
🎨
jq/ndjson processing
Every line is a self-contained JSON, so the usual command line utilities work with no adaptation.
🗺
ETL workflows
Splitting, filtering and loading in batches are done with standard tools, without intermediate conversions.

How to Export GeoJSON-Seq

1
Select area
Draw a rectangle or polygon on the interactive map at osm2cdr
2
Choose GeoJSON-Seq
Select GeoJSON Sequences (Newline-delimited) from the list of 127 available export formats
3
Export
Click Export and receive your .geojsonl file in 1-5 minutes
4
Download
Download the ready GeoJSON-Seq file and open it in jq

How to Open After Export

Popular maps in GeoJSON-Seq

Free

Get GeoJSON Sequences (Newline-delimited) map exports

Download professional GeoJSON-Seq maps from OpenStreetMap. Instant generation, any area.

Free / export
Export GeoJSON-Seq now →

Frequently Asked Questions

How is GeoJSON-Seq different from GeoJSON?
Where is GeoJSON-Seq used?
How is .geojsonl different from .ndjson and .geojsons?
How do I tell which layer a feature came from?
Can such a file be opened straight in a browser map?

Related Formats

Frequently Exported Together

Related Articles