GeoJSON-Seq 📋

GeoJSON Sequences (Newline-delimited)

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

GeoJSON-Seq är en radavgränsad variant av GeoJSON där varje rad är en separat Feature. Idealiskt för strömning, loggning och Big Data-pipelines.

Exportera GeoJSON-Seq nu ✨ Öppen beta — gratis, inga begränsningar

Viktiga funktioner

Radavgränsat format
Strömbearbetning
Enkel parsning
Kompatibel med ndjson
Example GeoJSON-Seq export (central Moscow, 1x0.5 km)
Example: central Moscow, ~1×0.5 km, medium detail

Om formatet 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.

Vilket program öppnar GeoJSON-Seq-filer

Följande program och applikationer kan öppna, redigera och arbeta med GeoJSON Sequences (Newline-delimited)-filer (.geojsonl) som exporterats från OSM2CDR:

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

Format specifications

Vem använder GeoJSON-Seq-kartor

🏗
Strömmande bearbetning
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.
📊
Loggning
Records are appended to the end and move on down the line as they arrive.
🎨
jq/ndjson-bearbetning
Every line is a self-contained JSON, so the usual command line utilities work with no adaptation.
🗺
ETL-arbetsflöden
Splitting, filtering and loading in batches are done with standard tools, without intermediate conversions.

Så exporterar du GeoJSON-Seq

1
Välj område
Rita en rektangel eller polygon på den interaktiva kartan på osm2cdr.ru
2
Välj GeoJSON-Seq
Välj GeoJSON Sequences (Newline-delimited) från listan med 127 tillgängliga exportformat
3
Exportera
Klicka på Exportera och få din .geojsonl-fil på 1–5 minuter
4
Ladda ner
Ladda ner den färdiga GeoJSON-Seq-filen och öppna den i jq

Så öppnar du filen efter exporten

Populära kartor i GeoJSON-Seq

Free

Hämta kartexporter i GeoJSON Sequences (Newline-delimited)

Ladda ner professionella GeoJSON-Seq-kartor från OpenStreetMap. Direktgenerering, valfritt område.

Gratis / export
Exportera GeoJSON-Seq nu →

Vanliga frågor

Hur skiljer sig GeoJSON-Seq från GeoJSON?
Var används 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?

Relaterade format

Ofta exporterade tillsammans

Related Articles