Skip to main content
Convert a Box2D to a Geometry. Dispatches on dimensionality (matching PostGIS box2d::geometry and Sedona’s ST_Envelope): POINT for 0-D boxes, LINESTRING for 1-D boxes, POLYGON otherwise. NULL on null input. SQL reference: ST_GeomFromBox2D

Signature

Parameters

ColumnOrName
required
Box2D column to convert.

Returns

Column
Geometry column.