Module functions

Source

Functions§

st_3d_intersects
Tests if two geometries spatially intersect in 3D - only for points, linestrings, polygons, polyhedral surface (area).
st_buffer
Computes a geometry covering all points within a given distance from a geometry.
st_contains
Tests if no points of B lie in the exterior of A, and A and B have at least one interior point in common.
st_contains_properly
Tests if B intersects the interior of A but not the boundary or exterior.
st_covered_by
Tests if no point in A is outside B
st_covers
Tests if no point in B is outside A
st_crosses
Tests if two geometries have some, but not all, interior points in common.
st_d_within
Tests if A and B are within a given distance.
st_disjoint
Tests if two geometries are disjoint (they have no point in common).
st_equals
Tests if two geometries include the same set of points.
st_intersects
Tests if two geometries intersect (they have at least one point in common).
st_line_crossing_direction
Returns a number indicating the crossing behavior of two LineStrings.
st_ordering_equals
Tests if two geometries represent the same geometry and have points in the same directional order.
st_overlaps
Tests if two geometries intersect and have the same dimension, but are not completely contained by each other.
st_relate
Computes Intersection Matrix of two geometries.
st_relate_bnr
Computes Intersection Matrix of two geometries. The boundary node rule code is: 1: OGC/MOD2, 2: Endpoint, 3: MultivalentEndpoint, 4: MonovalentEndpoint.
st_relate_check
Tests if two geometries have a topological relationship matching an Intersection Matrix pattern.
st_relate_match
Tests if a DE-9IM Intersection Matrix matches an Intersection Matrix pattern
st_segmentize
Returns a modified geometry having no segment longer than the given max_segment_length. Distance computation is performed in 2d only. For geometry, length units are in units of spatial reference. For geography, units are in meters.
st_subdivide
Divides geometry into parts until a part can be represented using no more than max_vertices.
st_touches
Tests if two geometries have at least one point in common, but their interiors do not intersect.
st_within
Tests if no points of A lie in the exterior of B, and A and B have at least one interior point in common.

Type Aliases§

st_3d_intersects
The return type of st_3d_intersects()
st_buffer
The return type of st_buffer()
st_contains
The return type of st_contains()
st_contains_properly
The return type of st_contains_properly()
st_covered_by
The return type of st_covered_by()
st_covers
The return type of st_covers()
st_crosses
The return type of st_crosses()
st_d_within
The return type of st_d_within()
st_disjoint
The return type of st_disjoint()
st_equals
The return type of st_equals()
st_intersects
The return type of st_intersects()
st_line_crossing_direction
The return type of st_line_crossing_direction()
st_ordering_equals
The return type of st_ordering_equals()
st_overlaps
The return type of st_overlaps()
st_relate
The return type of st_relate()
st_relate_bnr
The return type of st_relate_bnr()
st_relate_check
The return type of st_relate_check()
st_relate_match
The return type of st_relate_match()
st_segmentize
The return type of st_segmentize()
st_subdivide
The return type of st_subdivide()
st_touches
The return type of st_touches()
st_within
The return type of st_within()