GeoJSON-Seq 📋

GeoJSON Sequences (Newline-delimited)

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

GeoJSON-Seq on GeoJSON-i reapõhine variant, kus iga rida on eraldi Feature. Ideaalne voogedastuseks, logimiseks ja suurandmete konveieritele.

Ekspordi GeoJSON-Seq kohe ✨ Avatud beeta — tasuta, ilma piiranguteta

Põhiomadused

Reapõhine formaat
Voogtöötlus
Lihtne parsimine
Ühildub ndjson-iga
Example GeoJSON-Seq export (central Moscow, 1x0.5 km)
Example: central Moscow, ~1×0.5 km, medium detail

Vormingu GeoJSON-Seq kohta

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.

Milline programm avab GeoJSON-Seq-faile

Järgmised programmid ja rakendused suudavad avada, redigeerida ning töödelda OSM2CDR-ist eksporditud GeoJSON Sequences (Newline-delimited) (.geojsonl) faile:

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

Format specifications

Kes kasutab GeoJSON-Seq-kaarte

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

Kuidas eksportida vormingusse GeoJSON-Seq

1
Vali ala
Joonista interaktiivsel kaardil aadressil osm2cdr.ru ristkülik või polügon
2
Vali GeoJSON-Seq
Vali 127 saadaoleva eksportvormingu hulgast GeoJSON Sequences (Newline-delimited)
3
Ekspordi
Klõpsa „Ekspordi“ ja saa oma .geojsonl-fail 1–5 minutiga
4
Laadi alla
Laadi alla valmis GeoJSON-Seq-fail ja ava see programmis jq

Kuidas pärast eksporti avada

Populaarsed kaardid vormingus GeoJSON-Seq

Free

Hangi kaardiekspordid vormingus GeoJSON Sequences (Newline-delimited)

Laadi alla professionaalsed GeoJSON-Seq-kaardid OpenStreetMapi andmetest. Kohene genereerimine, mis tahes ala.

Tasuta / eksport
Ekspordi GeoJSON-Seq kohe →

Korduma kippuvad küsimused

Mille poolest erineb GeoJSON-Seq GeoJSON-ist?
Kus GeoJSON-Seq-i kasutatakse?
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

Seotud vormingud

Sageli koos eksporditavad vormingud

Related Articles