2.2.1.26 Geometry

The Geometry type represents any geospatial data type that uses a geometric (flat-earth) coordinate system. Each entity’s data can be of any of the geometric primitive types; Geometry acts as an abstract base class for those types. The subclasses of Geometry are GeometryPoint, GeometryLineString, GeometryPolygon, GeometryCollection, GeometryMultiPoint, GeometryMultiLineString, and GeometryMultiPolygon. Geometry is not equality comparable, so it cannot be used in keys.

Geometry is not an instantiable type. An entity can declare a property to be of type Geometry. An instance of an entity MUST NOT have a value of type Geometry. Each value MUST be of some subtype.