GeoJSON-Seq 📋

GeoJSON Sequences (Newline-delimited)

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

GeoJSON-Seq er línuskipt afbrigði af GeoJSON þar sem hver lína er sérstakt fyrirbæri (Feature). Tilvalið fyrir streymi, atvikaskráningu og stórgagnaferli.

Flytja út GeoJSON-Seq núna ✨ Opin beta-prófun — ókeypis, engar takmarkanir

Helstu eiginleikar

Línuskipt snið
Straumvinnsla
Einföld þáttun
ndjson-samhæft
Example GeoJSON-Seq export (central Moscow, 1x0.5 km)
Example: central Moscow, ~1×0.5 km, medium detail

Um GeoJSON-Seq-sniðið

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.

Hvaða forrit opnar GeoJSON-Seq-skrár

Eftirfarandi forrit geta opnað, breytt og unnið með GeoJSON Sequences (Newline-delimited) (.geojsonl) skrár sem fluttar eru út úr OSM2CDR:

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

Format specifications

Hverjir nota GeoJSON-Seq-kort

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

Hvernig á að flytja út GeoJSON-Seq

1
Veldu svæði
Teiknaðu rétthyrning eða marghyrning á gagnvirka kortinu á osm2cdr.ru
2
Veldu GeoJSON-Seq
Veldu GeoJSON Sequences (Newline-delimited) úr listanum yfir 127 fáanleg útflutningssnið
3
Flytja út
Smelltu á Flytja út og fáðu .geojsonl-skrána þína eftir 1-5 mínútur
4
Sækja
Sæktu tilbúnu GeoJSON-Seq-skrána og opnaðu hana í jq

Hvernig á að opna eftir útflutning

Vinsæl kort í GeoJSON-Seq

Free

Fáðu kortaútflutning í GeoJSON Sequences (Newline-delimited)

Sæktu fagleg GeoJSON-Seq-kort úr OpenStreetMap. Tafarlaus kortagerð, hvaða svæði sem er.

Ókeypis / útflutningur
Flytja út GeoJSON-Seq núna →

Algengar spurningar

Hvernig er GeoJSON-Seq frábrugðið GeoJSON?
Hvar er GeoJSON-Seq notað?
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

Tengd snið

Oft flutt út saman

Related Articles