geoGetX

Function: geoGetX(Geometry value)

Returns the 'first' x coordinate.

If passed a string the geometry functions will automatically convert it into a geometry object.

Syntax

geoGetX( geometryValue 

ArgumentTypeDescription
geometryValue

WTK String or 

Geometry Object

The geometry used to calculation the first X coordinate.

Examples

geoGetX("POLYGON ((30 10, 40 40, 20 40, 10 20, 30 10))")

Returns the 'first' x coordinate as a Float.


See Also