PostGIS

geometry

Prev

8.1. PostGIS Geometry/Geography/Box Data Types

Next

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 To

Behavior

box

automatic

box2d

automatic

box3d

automatic

bytea

automatic

geography

automatic

text

automatic