FlatGeobuf

FlatGeobuf (FGB)

Open Beta
.fgb · application/flatgeobuf

FlatGeobuf è un formato binario ad alte prestazioni per dati geografici basato su FlatBuffers. Ottimizzato per flussi di lavoro cloud-native e richieste HTTP Range. Indice spaziale integrato per l'accesso immediato a qualsiasi porzione della mappa.

Esporta FlatGeobuf ora ✨ Open Beta — gratis, senza limiti

Caratteristiche principali

Formato binario compatto
Indice spaziale integrato
Richieste HTTP range
Caricamento rapido dei frammenti
Example FlatGeobuf export (central Moscow, 1x0.5 km)
Example: central Moscow, ~1×0.5 km, medium detail

Informazioni sul formato 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.

Quale programma apre i file FlatGeobuf

I seguenti programmi e applicazioni possono aprire, modificare ed elaborare i file FlatGeobuf (FGB) (.fgb) esportati da OSM2CDR:

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

Format specifications

Chi usa le mappe FlatGeobuf

🏗
GIS in cloud
The layer sits in object storage and is read directly, with no database and no geoserver.
💻
Streaming di geodati
The client fetches only the features in the visible area — thanks to the index and range requests.
📊
Mappe web
A vector source for MapLibre, deck.gl and Leaflet that loads faster than an equivalent GeoJSON.
🎨
Dataset di grandi dimensioni
Hundreds of thousands of features in one file, without the shapefile's limits on size and field names.
🗺
Architettura serverless
A static file instead of an API: nothing to stand up and nothing to maintain.

Come esportare in FlatGeobuf

1
Seleziona l'area
Disegna un rettangolo o un poligono sulla mappa interattiva su osm2cdr.ru
2
Scegli FlatGeobuf
Seleziona FlatGeobuf (FGB) dall'elenco dei 127 formati di esportazione disponibili
3
Esporta
Fai clic su Esporta e ricevi il file .fgb in 1-5 minuti
4
Scarica
Scarica il file FlatGeobuf pronto e aprilo in QGIS

Come aprire il file dopo l'esportazione

Mappe popolari in FlatGeobuf

Free

Ottieni esportazioni di mappe in FlatGeobuf (FGB)

Scarica mappe FlatGeobuf professionali da OpenStreetMap. Generazione istantanea, qualsiasi area.

Gratis / esportazione
Esporta FlatGeobuf ora →

Domande frequenti

Perché FlatGeobuf è migliore di GeoJSON?
Posso aprire un FlatGeobuf in 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?

Formati correlati

Esportati spesso insieme

Related Articles