FlatGeobuf

FlatGeobuf (FGB)

Open Beta
.fgb · application/flatgeobuf

FlatGeobuf เป็นรูปแบบไบนารีประสิทธิภาพสูงสำหรับข้อมูลภูมิศาสตร์ที่อิงกับ FlatBuffers ปรับให้เหมาะสมสำหรับขั้นตอนการทำงานแบบ cloud-native และ HTTP range request มีดัชนีเชิงพื้นที่ในตัวเพื่อการเข้าถึงทุกส่วนของแผนที่ได้ทันที

ส่งออก FlatGeobuf เลย ✨ Open Beta — ฟรี ไม่มีข้อจำกัด

คุณสมบัติสำคัญ

รูปแบบไบนารีกะทัดรัด
ดัชนีเชิงพื้นที่ในตัว
HTTP range request
โหลดส่วนย่อยได้รวดเร็ว
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.
🗺
สถาปัตยกรรมแบบ serverless
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