FlatGeobuf

FlatGeobuf (FGB)

Open Beta
.fgb · application/flatgeobuf

‏FlatGeobuf הוא פורמט בינארי בעל ביצועים גבוהים לנתונים גיאוגרפיים, מבוסס על FlatBuffers. ממוטב לתהליכי עבודה מבוססי ענן ולבקשות HTTP range. אינדקס מרחבי מובנה לגישה מיידית לכל מקטע במפה.

ייצוא FlatGeobuf עכשיו ✨ Open Beta — חינם, ללא הגבלות

תכונות עיקריות

פורמט בינארי קומפקטי
אינדקס מרחבי מובנה
בקשות HTTP range
טעינת מקטעים מהירה
Example FlatGeobuf export (central Moscow, 1x0.5 km)
Example: central Moscow, ~1×0.5 km, medium detail

אודות פורמט 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.

איזו תוכנה פותחת קבצי FlatGeobuf

התוכנות והיישומים הבאים יכולים לפתוח, לערוך ולעבוד עם קבצי FlatGeobuf (FGB) (.fgb) שיוצאו מ-OSM2CDR:

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

Format specifications

מי משתמש במפות FlatGeobuf

🏗
‏GIS בענן
The layer sits in object storage and is read directly, with no database and no geoserver.
💻
הזרמת נתונים גיאוגרפיים
The client fetches only the features in the visible area — thanks to the index and range requests.
📊
מפות אינטרנט
A vector source for MapLibre, deck.gl and Leaflet that loads faster than an equivalent GeoJSON.
🎨
מערכי נתונים גדולים
Hundreds of thousands of features in one file, without the shapefile's limits on size and field names.
🗺
ארכיטקטורה ללא שרת
A static file instead of an API: nothing to stand up and nothing to maintain.

כיצד לייצא FlatGeobuf

1
בחירת אזור
ציירו מלבן או מצולע על המפה האינטראקטיבית ב-osm2cdr.ru
2
בחירת FlatGeobuf
בחרו FlatGeobuf (FGB) מתוך רשימת 127 פורמטי הייצוא הזמינים
3
ייצוא
לחצו על ייצוא וקבלו את קובץ ה-.fgb שלכם תוך 1-5 דקות
4
הורדה
הורידו את קובץ ה-FlatGeobuf המוכן ופתחו אותו ב-QGIS

איך לפתוח לאחר הייצוא

מפות פופולריות בפורמט FlatGeobuf

חינם

קבלו ייצוא מפות בפורמט FlatGeobuf (FGB)

הורידו מפות FlatGeobuf מקצועיות מ-OpenStreetMap. יצירה מיידית, לכל אזור.

חינם / ייצוא
ייצוא FlatGeobuf עכשיו →

שאלות נפוצות

מדוע FlatGeobuf טוב יותר מ-GeoJSON?
האם ניתן לפתוח FlatGeobuf ב-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?

פורמטים קשורים

מיוצאים יחד לעיתים קרובות

Related Articles