Analytics Toolbox for Databricks

Analytics Toolbox for Databricks

Geometry Processing

st_antimeridianSafeGeom

Geometry st_antimeridianSafeGeom(Geometry geom)

If geom spans the antimeridian, attempt to convert the Geometry into an equivalent form that is “antimeridian-safe” (i.e. the output Geometry is covered by BOX(-180 -90, 180 90)). In certain circumstances, this method may fail, in which case the input Geometry will be returned and an error will be logged.

st_convexHull

Geometry st_convexHull(Geometry geom)

Aggregate function. The convex hull of a Geometry represents the minimum convex Geometry that encloses all geometries geom in the aggregated rows.

st_idlSafeGeom

Alias of st_antimeridianSafeGeom.