WKB 🧮

Well-Known Binary (OGC)

Preço antes do pagamento
.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 almost every GIS database: each geometry inside PostGIS, MySQL Spatial or GeoPackage is WKB. The format is several times more compact than textual WKT because coordinates are packed into doubles without ASCII. Our exporter writes the geometries of the selected OSM layers into a .wkb file: every object is standard OGC WKB, but the file is a container — an 8-byte header (a WKB marker plus the number of objects), then geometries with a length prefix, while the coordinate system lies in a companion .prj file. Honestly: to parse the file you have to read the header and the lengths — this is not a single "bare" blob for a direct ST_GeomFromWKB. Attributes are not preserved, and all the selected layers are merged into one stream of geometries (up to 500,000 objects).

Dados do OpenStreetMap de 5 de outubro de 2026 · há 23 dias

Exportar WKB agora ✨ Beta Aberta — gratuito, sem limites

Principais características

✓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

Que programa abre ficheiros WKB

Os seguintes programas e aplicações podem abrir, editar e trabalhar com ficheiros Well-Known Binary (OGC) (.wkb) exportados do OSM2CDR:

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

Características do formato

Quem utiliza mapas 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

Como exportar para WKB

1
Selecionar área
Desenhe um retângulo ou polígono no mapa interativo em osm2cdr.ru
2
Escolher WKB
Selecione Well-Known Binary (OGC) na lista de 127 formatos de exportação disponíveis
3
Exportar
Clique em Exportar e receba o seu ficheiro .wkb em 1-5 minutos
4
Descarregar
Descarregue o ficheiro WKB pronto e abra-o no PostGIS

Mapas populares em WKB

Free

Obtenha exportações de mapas em Well-Known Binary (OGC)

Descarregue mapas profissionais em WKB a partir do OpenStreetMap. Geração instantânea, qualquer área.

Gratuito / exportação
Exportar WKB agora →

Perguntas frequentes

Formatos relacionados

Frequentemente exportados em conjunto