GeoJSON-Seq 📋

GeoJSON Sequences (Newline-delimited)

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

GeoJSON-Seq je varijanta GeoJSON-a razdvojena prijelomima redaka, gdje je svaki redak zaseban objekt. Idealan za prijenos u stvarnom vremenu, zapisivanje i procese za velike podatke.

Izvezi GeoJSON-Seq sada ✨ Otvorena beta — besplatno, bez ograničenja

Ključne značajke

Format razdvojen prijelomima redaka
Obrada toka podataka
Jednostavno raščlanjivanje
Kompatibilno s ndjson-om
Example GeoJSON-Seq export (central Moscow, 1x0.5 km)
Example: central Moscow, ~1×0.5 km, medium detail

O formatu 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.

Koji program otvara datoteke GeoJSON-Seq

Sljedeći programi i aplikacije mogu otvoriti, uređivati i raditi s datotekama GeoJSON Sequences (Newline-delimited) (.geojsonl) izvezenima iz OSM2CDR-a:

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

Format specifications

Tko koristi karte GeoJSON-Seq

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

Kako izvesti GeoJSON-Seq

1
Odaberite područje
Nacrtajte pravokutnik ili poligon na interaktivnoj karti na osm2cdr.ru
2
Odaberite GeoJSON-Seq
Odaberite GeoJSON Sequences (Newline-delimited) s popisa od 127 dostupnih formata izvoza
3
Izvoz
Kliknite Izvoz i primite svoju .geojsonl datoteku za 1 – 5 minuta
4
Preuzimanje
Preuzmite gotovu datoteku GeoJSON-Seq i otvorite je u jq

Kako otvoriti nakon izvoza

Popularne karte u formatu GeoJSON-Seq

Besplatno

Nabavite izvoze karata u formatu GeoJSON Sequences (Newline-delimited)

Preuzmite profesionalne karte u formatu GeoJSON-Seq iz OpenStreetMapa. Trenutno generiranje, bilo koje područje.

Besplatno / izvoz
Izvezi GeoJSON-Seq sada →

Često postavljana pitanja

Po čemu se GeoJSON-Seq razlikuje od GeoJSON-a?
Gdje se GeoJSON-Seq koristi?
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

Povezani formati

Često se izvoze zajedno

Related Articles