Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Function: geoType(Geometry left)

Returns the name of this Geometrygeometry's actual class. e.g. "Point", "LineString", "Polygon"", "MultiPolygon".

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

Syntax

geoType( "Well Known Text") 

...

geoType(30.10)

Returns the name of this Geometrygeometry's actual class. e.g. "Point", "LineString", "Polygon"", "MultiPolygon" as a String.

...