FlatGeobuf

FlatGeobuf (FGB)

Open Beta
.fgb · application/flatgeobuf

FlatGeobuf on suorituskykyinen binäärimuoto geotietoja varten, ja se perustuu FlatBuffersiin. Optimoitu pilvinatiiveihin työnkulkuihin ja HTTP-aluekyselyihin. Sisäänrakennettu tilaindeksi mahdollistaa välittömän pääsyn mihin tahansa kartan osaan.

Vie FlatGeobuf nyt ✨ Avoin beta — ilmainen, ei rajoituksia

Keskeiset ominaisuudet

Tiivis binäärimuoto
Sisäänrakennettu tilaindeksi
HTTP-aluekyselyt
Nopea osien lataus
Example FlatGeobuf export (central Moscow, 1x0.5 km)
Example: central Moscow, ~1×0.5 km, medium detail

Tietoa FlatGeobuf-muodosta

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.

Mikä ohjelma avaa FlatGeobuf-tiedostot

Seuraavat ohjelmat ja sovellukset voivat avata ja muokata OSM2CDR:stä vietyjä FlatGeobuf (FGB) (.fgb) -tiedostoja sekä työskennellä niiden parissa:

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

Format specifications

Ketkä käyttävät FlatGeobuf-karttoja

🏗
Pilvipohjainen GIS
The layer sits in object storage and is read directly, with no database and no geoserver.
💻
Geotietojen suoratoisto
The client fetches only the features in the visible area — thanks to the index and range requests.
📊
Verkkokartat
A vector source for MapLibre, deck.gl and Leaflet that loads faster than an equivalent GeoJSON.
🎨
Suuret tietoaineistot
Hundreds of thousands of features in one file, without the shapefile's limits on size and field names.
🗺
Palvelimeton arkkitehtuuri
A static file instead of an API: nothing to stand up and nothing to maintain.

Näin viet kartan muotoon FlatGeobuf

1
Valitse alue
Piirrä suorakulmio tai monikulmio interaktiiviselle kartalle osoitteessa osm2cdr.ru
2
Valitse FlatGeobuf
Valitse FlatGeobuf (FGB) 127 saatavilla olevan vientimuodon luettelosta
3
Vie
Napsauta Vie ja saat .fgb-tiedostosi 1–5 minuutissa
4
Lataa
Lataa valmis FlatGeobuf-tiedosto ja avaa se ohjelmassa QGIS

Kuinka avata viennin jälkeen

Suositut FlatGeobuf-kartat

Ilmainen

Hanki FlatGeobuf (FGB) -karttavientejä

Lataa ammattilaistason FlatGeobuf-karttoja OpenStreetMapista. Luodaan välittömästi mistä tahansa alueesta.

Ilmainen / vienti
Vie FlatGeobuf nyt →

Usein kysytyt kysymykset

Miksi FlatGeobuf on GeoJSON:ia parempi?
Voinko avata FlatGeobufin QGIS:ssä?
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?

Liittyvät muodot

Usein viedään yhdessä

Related Articles