Well known binary

From ICA Wiki
Jump to navigation Jump to search


Full name Well known binary (WKB), defined in ISO/IEC 13249-3:2011, Information technology -Database languages -- SQL multimedia and application packages Part 3: Spatial
Version Edition 4
Amendments None
Corrigenda None
Published by ISO/IEC JTC 1/SC 32, Data management and interchange
Languages English
Online overview Not available yet
Type of standard ISO International Standard

Application level

Related standard(s) ISO 19125-2:2004, Geographic information – Simple feature access – Part 2: SQL option
Application WKB is defined in ISO/IEC 13249-3:2011. WKB is a hexadecimal encoding that can be used to define geometry. Geometries are expressed as a stream of bytes that is not human readable. The type of geometry is specified followed by the coordinates of the nodes.
Implementation benefits In ISO 19125-2, WKB is an option of describing geometries. This is an optimal format for databases, since the geometry is expressed as a stream of bytes and can easily be exchanged. However, the encoding does not support any analysis, such as measurements.