FlatGeobuf

FlatGeobuf (FGB)

Open Beta
.fgb · application/flatgeobuf

FlatGeobuf é um formato binário de alto desempenho para geodados baseado em FlatBuffers. Otimizado para fluxos de trabalho cloud-native e pedidos HTTP range. Índice espacial integrado para acesso instantâneo a qualquer fragmento do mapa.

Exportar FlatGeobuf agora ✨ Beta Aberta — gratuito, sem limites

Principais características

Formato binário compacto
Índice espacial integrado
Pedidos HTTP de intervalo
Carregamento rápido de fragmentos
Example FlatGeobuf export (central Moscow, 1x0.5 km)
Example: central Moscow, ~1×0.5 km, medium detail

Sobre o 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.

Que programa abre ficheiros FlatGeobuf

Os seguintes programas e aplicações podem abrir, editar e trabalhar com ficheiros FlatGeobuf (FGB) (.fgb) exportados do OSM2CDR:

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

Format specifications

Quem utiliza mapas FlatGeobuf

🏗
SIG na nuvem
The layer sits in object storage and is read directly, with no database and no geoserver.
💻
Streaming de geodados
The client fetches only the features in the visible area — thanks to the index and range requests.
📊
Mapas web
A vector source for MapLibre, deck.gl and Leaflet that loads faster than an equivalent GeoJSON.
🎨
Grandes conjuntos de dados
Hundreds of thousands of features in one file, without the shapefile's limits on size and field names.
🗺
Arquitetura serverless
A static file instead of an API: nothing to stand up and nothing to maintain.

Como exportar para FlatGeobuf

1
Selecionar área
Desenhe um retângulo ou polígono no mapa interativo em osm2cdr.ru
2
Escolher FlatGeobuf
Selecione FlatGeobuf (FGB) na lista de 127 formatos de exportação disponíveis
3
Exportar
Clique em Exportar e receba o seu ficheiro .fgb em 1-5 minutos
4
Descarregar
Descarregue o ficheiro FlatGeobuf pronto e abra-o no QGIS

Como abrir depois da exportação

Mapas populares em FlatGeobuf

Free

Obtenha exportações de mapas em FlatGeobuf (FGB)

Descarregue mapas profissionais em FlatGeobuf a partir do OpenStreetMap. Geração instantânea, qualquer área.

Gratuito / exportação
Exportar FlatGeobuf agora →

Perguntas frequentes

Porque é que o FlatGeobuf é melhor do que o GeoJSON?
Posso abrir FlatGeobuf no 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?

Formatos relacionados

Frequentemente exportados em conjunto

Related Articles