ST_ClipByBox2D
Name
ST_ClipByBox2D — Returns the portion of a geometry falling within a rectangle.
Synopsis
geometry
ST_ClipByBox2D
(
geometry
geom
, box2d
box
)
;
Description
Clips a geometry by a 2D box in a fast but possibly dirty way. The output geometry is not guaranteed to be valid (self-intersections for a polygon may be introduced). Topologically invalid input geometries do not result in exceptions being thrown.
Performed by the GEOS module.
Requires GEOS 3.5.0+ |
Availability: 2.2.0 - requires GEOS >= 3.5.0.