FlatGeobuf

FlatGeobuf (FGB)

Open Beta
.fgb · application/flatgeobuf

FlatGeobuf és un format binari d'alt rendiment per a geodades basat en FlatBuffers. Optimitzat per a fluxos de treball natius del núvol i sol·licituds HTTP per rangs. Índex espacial integrat per a l'accés instantani a qualsevol fragment del mapa.

Exporta FlatGeobuf ara ✨ Beta oberta — gratuït, sense límits

Característiques clau

Format binari compacte
Índex espacial integrat
Peticions HTTP de rang
Càrrega ràpida de fragments
Example FlatGeobuf export (central Moscow, 1x0.5 km)
Example: central Moscow, ~1×0.5 km, medium detail

Sobre el format 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.

Quin programa obre els fitxers FlatGeobuf

Els programes i les aplicacions següents poden obrir, editar i treballar amb fitxers FlatGeobuf (FGB) (.fgb) exportats des d'OSM2CDR:

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

Format specifications

Qui utilitza els mapes FlatGeobuf

🏗
SIG al núvol
The layer sits in object storage and is read directly, with no database and no geoserver.
💻
Transmissió de geodades
The client fetches only the features in the visible area — thanks to the index and range requests.
📊
Mapes web
A vector source for MapLibre, deck.gl and Leaflet that loads faster than an equivalent GeoJSON.
🎨
Grans conjunts de dades
Hundreds of thousands of features in one file, without the shapefile's limits on size and field names.
🗺
Arquitectura sense servidor
A static file instead of an API: nothing to stand up and nothing to maintain.

Com exportar FlatGeobuf

1
Selecciona l'àrea
Dibuixa un rectangle o un polígon al mapa interactiu d'osm2cdr.ru
2
Tria FlatGeobuf
Tria FlatGeobuf (FGB) de la llista de 127 formats d'exportació disponibles
3
Exporta
Fes clic a Exporta i rep el fitxer .fgb en 1-5 minuts
4
Descarrega
Descarrega el fitxer FlatGeobuf llest i obre'l amb QGIS

Com obrir el fitxer després de l'exportació

Mapes populars en FlatGeobuf

Free

Obtingues exportacions de mapes FlatGeobuf (FGB)

Descarrega mapes FlatGeobuf professionals d'OpenStreetMap. Generació instantània, qualsevol àrea.

Gratuït / exportació
Exporta FlatGeobuf ara →

Preguntes freqüents

Per què FlatGeobuf és millor que GeoJSON?
Puc obrir un FlatGeobuf a 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?

Formats relacionats

Sovint exportats junts

Related Articles