GeoJSON-Seq گونهای خطجداشدهٔ GeoJSON است که در آن هر خط یک عارضهٔ جداگانه است. ایدهآل برای جریانسازی، ثبت رویداد و خطلولههای کلانداده.
ویژگیهای کلیدی

دربارهٔ قالب 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 را باز و ویرایش کنند و با آنها کار کنند:
Format specifications
- Open standard
- 3D coordinates supported
- Lossless (no quality loss)
- Stores feature attributes
- Output: 1 file
- RFC 8142 GeoJSON Text Sequences (newline-delimited). Streamable line-by-line — ideal for big-data pipelines and incremental loading.
چه کسانی از نقشههای GeoJSON-Seq استفاده میکنند
چگونه GeoJSON-Seq را خروجی بگیریم
نحوه باز کردن پس از خروجی
- jq — jq -c 'select(.properties._layer=="roads")' map.geojsonl > roads.geojsonl filters out the layer you need without loading the file into memory.
- Tippecanoe — tippecanoe -o map.mbtiles map.geojsonl builds vector tiles: the line-based format is its native input.
- QGIS and ogr2ogr — GDAL reads GeoJSONSeq out of the box: ogr2ogr -f GPKG out.gpkg map.geojsonl.
- Python — read the file line by line and parse json.loads(line): memory does not depend on the volume; to bring the whole layer up, use geopandas.read_file("map.geojsonl").
- Splitting it up — an ordinary split -l 100000 map.geojsonl part_ gives valid pieces: every line is self-contained.
نقشههای محبوب در GeoJSON-Seq
خروجی نقشهٔ GeoJSON Sequences (Newline-delimited) را دریافت کنید
نقشههای حرفهای GeoJSON-Seq را از OpenStreetMap دانلود کنید. تولید آنی برای هر ناحیه.
پرسشهای متداول
قالبهای مرتبط
قالبهایی که اغلب همراه با هم خروجی گرفته میشوند
Related Articles
GeoJSON-Seq (RFC 8142) format: streaming features — OSM export for big-data pipelines
GeoJSON-Seq (RFC 8142, 2017): stream of features, RS/LF delimiters, tippecanoe + BigQuery + Spark.
guideGeoJSON — Everything a Developer Needs to Know
Complete GeoJSON guide for developers: format structure, code examples with Leaflet, Mapbox and OpenLayers, getting data
guideGeoJSON: Complete Guide for Web Developers
What is GeoJSON, format structure, how to use with Leaflet and Mapbox, exporting OSM maps to GeoJSON.