FlatGeobuf

FlatGeobuf (FGB)

Open Beta
.fgb · application/flatgeobuf

FlatGeobuf е високопроизводителен двоичен формат за геоданни, базиран на FlatBuffers. Оптимизиран за облачно-нативни работни процеси и HTTP range заявки. Вграден пространствен индекс за мигновен достъп до всеки фрагмент от картата.

Експортирайте FlatGeobuf сега ✨ Отворена бета версия — безплатно, без ограничения

Основни характеристики

Двоичен компактен формат
Вграден пространствен индекс
HTTP range заявки
Бързо зареждане на фрагменти
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

Следните програми и приложения могат да отварят, редактират и работят с файлове FlatGeobuf (FGB) (.fgb), експортирани от OSM2CDR:

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

Format specifications

Кой използва карти в FlatGeobuf

🏗
Облачна ГИС
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.
📊
Уеб карти
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
Изберете FlatGeobuf (FGB) от списъка с 127 налични формата за експорт
3
Експорт
Щракнете върху „Експорт“ и получете файла си .fgb за 1-5 минути
4
Изтегляне
Изтеглете готовия файл FlatGeobuf и го отворете в QGIS

Как да отворите след експорта

Популярни карти в FlatGeobuf

Free

Получете експорти на карти в FlatGeobuf (FGB)

Изтеглете професионални карти в FlatGeobuf от OpenStreetMap. Незабавно генериране, всяка област.

Безплатно / експорт
Експортирайте 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