GeoJSON-Seq 📋

GeoJSON Sequences (Newline-delimited)

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

GeoJSON-Seq è una variante di GeoJSON delimitata da righe, in cui ogni riga è una Feature separata. Ideale per lo streaming, il logging e le pipeline Big Data.

Esporta GeoJSON-Seq ora ✨ Open Beta — gratis, senza limiti

Caratteristiche principali

Formato delimitato da righe
Elaborazione in streaming
Parsing semplice
Compatibile con ndjson
Example GeoJSON-Seq export (central Moscow, 1x0.5 km)
Example: central Moscow, ~1×0.5 km, medium detail

Informazioni sul formato GeoJSON-Seq

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.

Quale programma apre i file GeoJSON-Seq

I seguenti programmi e applicazioni possono aprire, modificare ed elaborare i file GeoJSON Sequences (Newline-delimited) (.geojsonl) esportati da OSM2CDR:

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

Format specifications

Chi usa le mappe GeoJSON-Seq

🏗
Elaborazione in streaming
The file is read line by line, so memory does not depend on the size of the export.
💻
Pipeline di big data
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.
🎨
Elaborazione jq/ndjson
Every line is a self-contained JSON, so the usual command line utilities work with no adaptation.
🗺
Flussi di lavoro ETL
Splitting, filtering and loading in batches are done with standard tools, without intermediate conversions.

Come esportare in GeoJSON-Seq

1
Seleziona l'area
Disegna un rettangolo o un poligono sulla mappa interattiva su osm2cdr.ru
2
Scegli GeoJSON-Seq
Seleziona GeoJSON Sequences (Newline-delimited) dall'elenco dei 127 formati di esportazione disponibili
3
Esporta
Fai clic su Esporta e ricevi il file .geojsonl in 1-5 minuti
4
Scarica
Scarica il file GeoJSON-Seq pronto e aprilo in jq

Come aprire il file dopo l'esportazione

Mappe popolari in GeoJSON-Seq

Free

Ottieni esportazioni di mappe in GeoJSON Sequences (Newline-delimited)

Scarica mappe GeoJSON-Seq professionali da OpenStreetMap. Generazione istantanea, qualsiasi area.

Gratis / esportazione
Esporta GeoJSON-Seq ora →

Domande frequenti

In che cosa GeoJSON-Seq differisce da GeoJSON?
Dove si usa GeoJSON-Seq?
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?

GeoJSON-Seq guides and tutorials

Formati correlati

Esportati spesso insieme

Related Articles