WKB 🧮

Well-Known Binary (OGC)

Open Beta
.wkb · application/vnd.ogc.wkb

WKB (Well-Known Binary) is the binary representation of vector geometry from the OGC Simple Features standard (1999), the foundation of nearly every GIS database: every geometry in PostGIS, MySQL Spatial, GeoPackage is WKB under the hood. The format is several times more compact than text WKT by packing coordinates into doubles without ASCII. Our exporter writes the geometries of the selected OSM layers into a .wkb file: each individual feature is standard OGC WKB, but the file is a container — an 8-byte header (magic WKB\x01 + feature count), then length-prefixed geometries, with the coordinate system in a companion .prj file. Honestly: parsing the file requires reading the header and the length prefixes — it is not a single «bare» blob for a direct ST_GeomFromWKB. Multiple layers are packed into a ZIP.

Ekspor WKB sekarang ✨ Open Beta — gratis, tanpa batas

Fitur Utama

Each feature's geometry is standard OGC WKB
Container: an 8-byte header + length-prefixed geometries
Coordinate system in a companion .prj (WKT) file
Several times more compact than text WKT (doubles without ASCII)
Single layer — a .wkb file, multiple layers — a ZIP archive

Program Apa yang Membuka File WKB

Program dan aplikasi berikut dapat membuka, menyunting, dan mengolah file Well-Known Binary (OGC) (.wkb) yang diekspor dari OSM2CDR:

💻PostGIS 💻Shapely (Python) 💻GDAL/OGR 💻JTS / GEOS 🌎QGIS

Format specifications

Siapa yang Menggunakan Peta WKB

🏗
Building a custom GIS pipeline on Shapely, JTS, or GEOS without parsing GeoJSON
💻
Loading geometry into PostGIS or MySQL after parsing the container header
📊
Checking your implementation against the OGC Simple Features standard
🎨
Compact geometry transfer between services as a binary exchange

Cara Mengekspor WKB

1
Pilih area
Gambar persegi panjang atau poligon pada peta interaktif di osm2cdr.ru
2
Pilih WKB
Pilih Well-Known Binary (OGC) dari daftar 127 format ekspor yang tersedia
3
Ekspor
Klik Ekspor dan terima file .wkb Anda dalam 1-5 menit
4
Unduh
Unduh file WKB yang sudah siap dan buka di PostGIS

Peta populer dalam WKB

Free

Dapatkan ekspor peta Well-Known Binary (OGC)

Unduh peta WKB profesional dari OpenStreetMap. Pembuatan instan, area apa pun.

Gratis / ekspor
Ekspor WKB sekarang →

Pertanyaan yang Sering Diajukan

Can I INSERT it directly via ST_GeomFromWKB?
Where is the coordinate system stored?
How does WKB differ from WKT?
How do I read WKB in Python?

Format Terkait

Sering Diekspor Bersama

Related Articles