GeoJSON-Seq 📋

GeoJSON Sequences (Newline-delimited)

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

GeoJSON-Seq és una variant de GeoJSON delimitada per línies on cada línia és un Feature separat. Ideal per a la transmissió en flux continu, el registre i els fluxos de Big Data.

Exporta GeoJSON-Seq ara ✨ Beta oberta — gratuït, sense límits

Característiques clau

Format delimitat per línies
Processament en flux
Anàlisi senzilla
Compatible amb ndjson
Example GeoJSON-Seq export (central Moscow, 1x0.5 km)
Example: central Moscow, ~1×0.5 km, medium detail

Sobre el format 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.

Quin programa obre els fitxers GeoJSON-Seq

Els programes i les aplicacions següents poden obrir, editar i treballar amb fitxers GeoJSON Sequences (Newline-delimited) (.geojsonl) exportats des d'OSM2CDR:

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

Format specifications

Qui utilitza els mapes GeoJSON-Seq

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

Com exportar GeoJSON-Seq

1
Selecciona l'àrea
Dibuixa un rectangle o un polígon al mapa interactiu d'osm2cdr.ru
2
Tria GeoJSON-Seq
Tria GeoJSON Sequences (Newline-delimited) de la llista de 127 formats d'exportació disponibles
3
Exporta
Fes clic a Exporta i rep el fitxer .geojsonl en 1-5 minuts
4
Descarrega
Descarrega el fitxer GeoJSON-Seq llest i obre'l amb jq

Com obrir el fitxer després de l'exportació

Mapes populars en GeoJSON-Seq

Free

Obtingues exportacions de mapes GeoJSON Sequences (Newline-delimited)

Descarrega mapes GeoJSON-Seq professionals d'OpenStreetMap. Generació instantània, qualsevol àrea.

Gratuït / exportació
Exporta GeoJSON-Seq ara →

Preguntes freqüents

En què es diferencia GeoJSON-Seq de GeoJSON?
On s'utilitza 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?

GeoJSON-Seq guides and tutorials

Formats relacionats

Sovint exportats junts

Related Articles