ST_GeomFromBox2D
DataFrame constructors
ST_GeomFromBox2D (Python)
Convert a Box2D to a Geometry.
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:

