Back to Glossary

WKB (Well-Known Binary)

A compact binary format for geometries, widely used in spatial databases and APIs.

Category: Formats

Definition (expanded)

WKB encodes a single geometry as bytes (often hex or base64 in text contexts). It's common in PostGIS and database drivers. Unlike GeoJSON FeatureCollections, one WKB value is one geometry (Polygon, MultiPolygon, GeometryCollection, etc.).