GeoJSON-Seq 📋

GeoJSON Sequences (Newline-delimited)

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

GeoJSON-Seq је варијанта GeoJSON-а раздвојена редовима, где је сваки ред засебан објекат. Идеалан за стримовање, бележење и процесе обраде великих података.

Извезите GeoJSON-Seq одмах ✨ Отворена бета — бесплатно, без ограничења

Кључне могућности

Формат раздвојен редовима
Обрада тока података
Једноставно рашчлањивање
Компатибилан са ndjson-ом
Example GeoJSON-Seq export (central Moscow, 1x0.5 km)
Example: central Moscow, ~1×0.5 km, medium detail

О формату 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.

Који програм отвара GeoJSON-Seq датотеке

Следећи програми и апликације могу да отворе, уреде и раде са GeoJSON Sequences (Newline-delimited) (.geojsonl) датотекама извезеним из OSM2CDR:

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

Format specifications

Ко користи GeoJSON-Seq карте

🏗
Обрада тока података
The file is read line by line, so memory does not depend on the size of the export.
💻
Процеси обраде великих података
A ready input for Spark, Kafka and tippecanoe, where data comes as a stream of records.
📊
Бележење
Records are appended to the end and move on down the line as they arrive.
🎨
Обрада преко jq/ndjson
Every line is a self-contained JSON, so the usual command line utilities work with no adaptation.
🗺
ETL процеси
Splitting, filtering and loading in batches are done with standard tools, without intermediate conversions.

Како извести GeoJSON-Seq

1
Изаберите област
Нацртајте правоугаоник или полигон на интерактивној карти на osm2cdr.ru
2
Одаберите GeoJSON-Seq
Изаберите GeoJSON Sequences (Newline-delimited) са листе од 127 доступних формата извоза
3
Извоз
Кликните на Извоз и добићете своју .geojsonl датотеку за 1–5 минута
4
Преузимање
Преузмите готову GeoJSON-Seq датотеку и отворите је у jq

Како отворити након извоза

Популарне карте у формату GeoJSON-Seq

Бесплатно

Преузмите извозе карата у формату GeoJSON Sequences (Newline-delimited)

Преузмите професионалне GeoJSON-Seq карте из OpenStreetMap. Тренутачно генерисање, било која област.

Бесплатно / извоз
Извезите GeoJSON-Seq одмах →

Често постављана питања

По чему се GeoJSON-Seq разликује од GeoJSON-а?
Где се користи 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

Сродни формати

Често се извозе заједно

Related Articles