Name

geometry — The type representing spatial features with planar coordinate systems.

Description

geometry is a fundamental PostGIS spatial data type used to represent a feature in planar (Euclidean) coordinate systems.

All spatial operations on geometry use the units of the Spatial Reference System the geometry is in.

Casting Behavior

This table lists the automatic and explicit casts allowed for this data type:

Cast ToBehavior
boxautomatic
box2dautomatic
box3dautomatic
byteaautomatic
geographyautomatic
textautomatic

See Also

Section 4.1, “Spatial Data Model”, Section 12.3, “PostGIS SQL-MM Compliant Functions”