Skip to main content
This function returns the input geometry encoded to a text representation in HEXEWKB format. The HEXEWKB encoding can use either little-endian (NDR) or big-endian (XDR) byte ordering. If no encoding is explicitly specified, the function defaults to using the little-endian (NDR) format.

Signatures

Parameters

geom
Geometry
required
The input geometry.
endian
String
default:"NDR"
required
The endian value.

Return type

A string representation.

Examples