GEOGRAPHY data type to the extended Well-Known Binary (EWKB) format using Spatial Reference Identifier (SRID) 4326, which corresponds to the WGS84 coordinate system.
Syntax
Parameters
Return Type
ST_ASEWKB returns a value of type BYTEA.
Example
The following code example creates aGEOGRAPHY object from the WKT representation of a Point at specified longitude and latitude coordinates and converts it to EWKB format:
Rows: 1Execution time: 5.85ms