/
geoGetX

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

Related content

geoIsSimple
geoIsSimple
Read with this
geoEnvelope
geoEnvelope
Read with this
geoIsRectangle
geoIsRectangle
Read with this
geoIntersects
geoIntersects
Read with this
geoIntersection
geoIntersection
Read with this
geoCovers
geoCovers
Read with this