FlatGeobuf

FlatGeobuf (FGB)

Open Beta
.fgb · application/flatgeobuf

FlatGeobuf قالبی دودویی و پُربازده برای داده‌های جغرافیایی است که بر پایهٔ FlatBuffers ساخته شده. بهینه‌شده برای روندهای کاری بومی ابری و درخواست‌های بازهٔ HTTP. نمایهٔ فضایی داخلی برای دسترسی فوری به هر قطعه از نقشه.

همین حالا FlatGeobuf را خروجی بگیرید ✨ بتای باز — رایگان، بدون محدودیت

ویژگی‌های کلیدی

قالب دودویی فشرده
نمایهٔ فضایی داخلی
درخواست‌های بازهٔ HTTP
بارگذاری سریع قطعه‌ها
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) را از فهرست ۱۲۷ قالب خروجی موجود انتخاب کنید
3
خروجی
روی خروجی کلیک کنید و فایل .fgb خود را در ۱ تا ۵ دقیقه دریافت کنید
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