FlatGeobuf

FlatGeobuf (FGB)

Open Beta
.fgb · application/flatgeobuf

FlatGeobuf to wydajny binarny format danych geoprzestrzennych oparty na FlatBuffers. Zoptymalizowany pod przepływy pracy natywne dla chmury oraz żądania zakresu HTTP. Wbudowany indeks przestrzenny zapewnia natychmiastowy dostęp do dowolnego fragmentu mapy.

Eksportuj FlatGeobuf teraz ✨ Otwarta beta — bezpłatnie, bez ograniczeń

Najważniejsze funkcje

Zwarty format binarny
Wbudowany indeks przestrzenny
Żądania zakresu HTTP
Szybkie ładowanie fragmentów
Example FlatGeobuf export (central Moscow, 1x0.5 km)
Example: central Moscow, ~1×0.5 km, medium detail

O formacie 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.

Jaki program otwiera pliki FlatGeobuf

Następujące programy i aplikacje mogą otwierać, edytować i pracować z plikami FlatGeobuf (FGB) (.fgb) wyeksportowanymi z OSM2CDR:

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

Format specifications

Kto korzysta z map FlatGeobuf

🏗
GIS w chmurze
The layer sits in object storage and is read directly, with no database and no geoserver.
💻
Strumieniowanie geodanych
The client fetches only the features in the visible area — thanks to the index and range requests.
📊
Mapy internetowe
A vector source for MapLibre, deck.gl and Leaflet that loads faster than an equivalent GeoJSON.
🎨
Duże zbiory danych
Hundreds of thousands of features in one file, without the shapefile's limits on size and field names.
🗺
Architektura bezserwerowa
A static file instead of an API: nothing to stand up and nothing to maintain.

Jak wyeksportować FlatGeobuf

1
Zaznacz obszar
Narysuj prostokąt lub wielokąt na interaktywnej mapie pod adresem osm2cdr.ru
2
Wybierz FlatGeobuf
Wybierz FlatGeobuf (FGB) z listy 127 dostępnych formatów eksportu
3
Eksportuj
Kliknij Eksportuj i otrzymaj plik .fgb w ciągu 1-5 minut
4
Pobierz
Pobierz gotowy plik FlatGeobuf i otwórz go w QGIS

Jak otworzyć po eksporcie

Popularne mapy w formacie FlatGeobuf

Darmowy

Uzyskaj eksporty map w formacie FlatGeobuf (FGB)

Pobieraj profesjonalne mapy FlatGeobuf z OpenStreetMap. Natychmiastowe generowanie, dowolny obszar.

Bezpłatnie / eksport
Eksportuj FlatGeobuf teraz →

Najczęściej zadawane pytania

Dlaczego FlatGeobuf jest lepszy od GeoJSON?
Czy mogę otworzyć FlatGeobuf w 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?

Powiązane formaty

Często eksportowane razem

Related Articles