FlatGeobuf

FlatGeobuf (FGB)

Open Beta
.fgb · application/flatgeobuf

FlatGeobufは、FlatBuffersをベースとした高性能なバイナリ地理データフォーマットです。クラウドネイティブなワークフローとHTTPレンジリクエスト向けに最適化されています。組み込みの空間インデックスにより、地図の任意の断片へ即座にアクセスできます。

今すぐFlatGeobufをエクスポート ✨ オープンベータ — 無料、制限なし

主な機能

コンパクトなバイナリ形式
空間インデックスを内蔵
HTTPレンジリクエスト
断片の高速読み込み
Example FlatGeobuf export (central Moscow, 1x0.5 km)
Example: central Moscow, ~1×0.5 km, medium detail

FlatGeobufフォーマットについて

FlatGeobuf is a binary vector data format based on FlatBuffers, which appeared in 2018 as "a shapefile for the cloud". Features are laid out in the file sequentially, with a spatial index written alongside, so the fragment you need is read directly, without parsing the whole file.

The main feature is working over HTTP range requests: you can put the file in object storage or on static hosting and read from the browser only the features that fall into the current screen. You don't have to stand up a geoserver for the sake of one layer.

All the selected layers are merged into a single .fgb, and every feature keeps a _layer attribute with the name of its source layer — it takes the export apart again into roads, buildings, water and greenery. OpenStreetMap attributes are preserved, coordinates are WGS84 (EPSG:4326), and the spatial index is written automatically.

Compared to GeoJSON the file is noticeably smaller and reads faster; compared to a shapefile there are no limits on field name length, encoding or size. There is one price to pay: you cannot look at such a file in a text editor.

FlatGeobufファイルを開けるプログラム

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

🌎QGIS 💻GDAL/OGR 💻GeoPandas 💻MapLibre 💻DeckGL 💻Leaflet (flatgeobuf plugin)

Format specifications

FlatGeobuf地図を利用するユーザー

🏗
クラウド GIS
The layer sits in object storage and is read directly, with no database and no geoserver.
💻
地理データのストリーミング
The client fetches only the features in the visible area — thanks to the index and range requests.
📊
Web マップ
A vector source for MapLibre, deck.gl and Leaflet that loads faster than an equivalent GeoJSON.
🎨
大規模データセット
Hundreds of thousands of features in one file, without the shapefile's limits on size and field names.
🗺
サーバーレスアーキテクチャ
A static file instead of an API: nothing to stand up and nothing to maintain.

FlatGeobufのエクスポート方法

1
範囲を選択
osm2cdr.ruのインタラクティブ地図上で長方形またはポリゴンを描画します
2
FlatGeobufを選択
利用可能な127種類のエクスポートフォーマットの一覧からFlatGeobuf (FGB)を選択します
3
エクスポート
「エクスポート」をクリックすると、1〜5分で.fgbファイルを受け取れます
4
ダウンロード
完成したFlatGeobufファイルをダウンロードし、QGISで開きます

エクスポート後の開き方

FlatGeobufの人気地図

フリー

FlatGeobuf (FGB)の地図エクスポートを入手

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

無料 /エクスポート
今すぐFlatGeobufをエクスポート →

よくある質問

FlatGeobuf が GeoJSON より優れている点は?
FlatGeobuf を QGIS で開けますか?
How do I split the export back into layers?
Which coordinate system does the data arrive in?
Does the file have to be on a server for range requests to work?

関連フォーマット

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

Related Articles