GeoJSON-Seqは、各行が個別のFeatureとなる、改行区切りの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ファイルを開けるプログラム
次のプログラムおよびアプリケーションは、OSM2CDRからエクスポートしたGeoJSON Sequences (Newline-delimited)(.geojsonl)ファイルを開き、編集し、利用できます:
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)の地図エクスポートを入手
OpenStreetMapからプロフェッショナルなGeoJSON-Seq地図をダウンロード。即時生成、任意の範囲に対応。
よくある質問
関連フォーマット
よく一緒にエクスポートされるフォーマット
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.