GeoJSON-Seq 📋

GeoJSON Sequences (Newline-delimited)

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

GeoJSON-Seqは、各行が個別のFeatureとなる、改行区切りの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ファイルを開けるプログラム

次のプログラムおよびアプリケーションは、OSM2CDRからエクスポートしたGeoJSON Sequences (Newline-delimited)(.geojsonl)ファイルを開き、編集し、利用できます:

💻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を選択
利用可能な127種類のエクスポートフォーマットの一覧からGeoJSON Sequences (Newline-delimited)を選択します
3
エクスポート
「エクスポート」をクリックすると、1〜5分で.geojsonlファイルを受け取れます
4
ダウンロード
完成したGeoJSON-Seqファイルをダウンロードし、jqで開きます

エクスポート後の開き方

GeoJSON-Seqの人気地図

フリー

GeoJSON Sequences (Newline-delimited)の地図エクスポートを入手

OpenStreetMapからプロフェッショナルなGeoJSON-Seq地図をダウンロード。即時生成、任意の範囲に対応。

無料 /エクスポート
今すぐ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?

関連フォーマット

よく一緒にエクスポートされるフォーマット

Related Articles