GeoType Objects

Subclass of ExtendedMeasure.

Defines the different categories of geo objects.

g.getCoordinates() : int

Returns a positive integer, usually 2 or 3, which is the number of coordinates that define a point.

g.getCsname() : string

Returns a string containing the name of the coordinate system if the “well-known ID” is >= 0 or None.

g.getGeometryType() : GeometryType

Returns the type of object represented by this definition.

g.getWkid() : int

Returns an integer representing the “well-known ID” of the coordinate system or -1. If the attribute is -1, then the coordinate system is assumed to be a non-standard one.

g.getWkt() : string

Returns a string containing the “well-known text” for the coordinate system corresponding to the “well-known ID”.

g.isProjected() : boolean

For valid “well-known ID” values, this indicates whether the coordinate system is projected or geographic.