GeoJSON-Seq 📋

GeoJSON Sequences (Newline-delimited)

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

GeoJSON-Seq is 'n reëlgeskeide variant van GeoJSON waar elke reël 'n afsonderlike Feature is. Ideaal vir stroom, logboeke en Big Data-pyplyne.

Voer GeoJSON-Seq nou uit ✨ Oop beta — gratis, geen beperkings nie

Sleutelkenmerke

Reël-geskeide formaat
Stroomverwerking
Eenvoudige ontleding
ndjson-versoenbaar
Example GeoJSON-Seq export (central Moscow, 1x0.5 km)
Example: central Moscow, ~1×0.5 km, medium detail

Oor die GeoJSON-Seq-formaat

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.

Watter program open GeoJSON-Seq-lêers

Die volgende programme en toepassings kan GeoJSON Sequences (Newline-delimited) (.geojsonl)-lêers wat uit OSM2CDR uitgevoer is, open, redigeer en daarmee werk:

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

Format specifications

Wie gebruik GeoJSON-Seq-kaarte

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

Hoe om GeoJSON-Seq uit te voer

1
Kies gebied
Teken 'n reghoek of veelhoek op die interaktiewe kaart by osm2cdr.ru
2
Kies GeoJSON-Seq
Kies GeoJSON Sequences (Newline-delimited) uit die lys van 127 beskikbare uitvoerformate
3
Uitvoer
Klik op Uitvoer en ontvang jou .geojsonl-lêer binne 1-5 minute
4
Aflaai
Laai die gereede GeoJSON-Seq-lêer af en open dit in jq

Hoe om dit ná uitvoer te open

Gewilde kaarte in GeoJSON-Seq

Gratis

Kry GeoJSON Sequences (Newline-delimited)-kaartuitvoere

Laai professionele GeoJSON-Seq-kaarte van OpenStreetMap af. Onmiddellike generering, enige gebied.

Gratis / uitvoer
Voer GeoJSON-Seq nou uit →

Gereelde vrae

Hoe verskil GeoJSON-Seq van GeoJSON?
Waar word GeoJSON-Seq gebruik?
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?

Verwante formate

Dikwels saam uitgevoer

Related Articles