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 карте

🏗
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.
📊
Веб карте
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.
🗺
Serverless архитектура
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

Бесплатно

Преузмите извозе карата у формату 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