Skip to main content
Constructs a GEOGRAPHY object from a Well-Known Binary (WKB) byte string. The extended WKB format is supported only for Spatial Reference Identifier (SRID) 4326, which corresponds to the WGS84 coordinate system. Normalization and invalid input handling are applied as described in the GEOGRAPHY type documentation.

Syntax

Parameters

Return Type

ST_GEOGFROMWKB returns a value of type GEOGRAPHY.

Example

The following code example constructs a Point in the GEOGRAPHY data type from a WKB byte string and converts it to WKT format:

Rows: 1Execution time: 5.27ms