Well-Known Binary (WKB) is a binary serialization format for representing geometric objects. It is primarily used in databases and geographic information systems (GIS) to store and exchange spatial data. WKB encodes geometric primitives such as points, lines, polygons, and multi-geometries (collections of these primitives) in a compact and platform-independent manner. The format specifies the byte order (endianness) and the type of geometry, followed by the coordinates of the vertices that define the geometry. WKB is a standard defined by the Open Geospatial Consortium (OGC) and is closely related to Well-Known Text (WKT), which is a human-readable text-based representation of the same geometric objects. WKB is often preferred for storage and transmission due to its smaller size and faster parsing compared to WKT. It is widely supported by spatial databases like PostGIS, MySQL, and Oracle Spatial, as well as GIS software libraries like GDAL/OGR and GeoTools. The format allows for efficient storage and retrieval of spatial data, enabling spatial analysis and visualization.