get_x

Returns the x co-ordinate of a point on a simple or complex geometry.

Parameter 1: any geometry

Returns: a real value. For a point geometry the return will be the x co-ordinate of that geometry. For other types of geometry the return will be the x coordinate of an arbitrary point on the input geometry. Returns null if the parameter is not a geometry.