Skip to content

epic: st function coverage #174

@MrPowers

Description

@MrPowers

This document outlines the ST functions implemented in the latest version of SedonaDB. Feel free to create PRs to add support for more ST functions!

The full list is from SedonaSpark: https://sedona.apache.org/latest/api/sql/Function/

Constructor Functions

Geometry Functions

  • GeometryType
  • ST_3DDistance
  • ST_AddMeasure
  • ST_AddPoint
  • ST_Affine
  • ST_Angle
  • ST_Area
  • ST_AreaSpheroid
  • ST_AsBinary
  • ST_AsEWKB
  • ST_AsEWKT
  • ST_AsGeoJSON
  • ST_AsGML
  • ST_AsHEXEWKB
  • ST_AsKML
  • ST_AsText
  • ST_Azimuth
  • ST_BestSRID
  • ST_BinaryDistanceBandColumn
  • ST_Boundary
  • ST_BoundingDiagonal
  • ST_Buffer
  • ST_BuildArea
  • ST_Centroid
  • ST_ClosestPoint
  • ST_Collect
  • ST_CollectionExtract
  • ST_ConcaveHull
  • ST_ConvexHull
  • ST_CoordDim
  • ST_CrossesDateLine
  • ST_DBSCAN
  • ST_Degrees
  • ST_DelaunayTriangles
  • ST_Difference
  • ST_Dimension
  • ST_Distance
  • ST_DistanceSphere
  • ST_DistanceSpheroid
  • ST_Dump
  • ST_DumpPoints
  • ST_EndPoint
  • ST_Envelope
  • ST_Expand
  • ST_ExteriorRing
  • ST_FlipCoordinates
  • ST_Force_2D
  • ST_Force2D
  • ST_Force3D
  • ST_Force3DM
  • ST_Force3DZ
  • ST_Force4D
  • ST_ForceCollection
  • ST_ForcePolygonCCW
  • ST_ForcePolygonCW
  • ST_ForceRHR
  • ST_FrechetDistance
  • ST_GeneratePoints
  • ST_GeoHash
  • ST_GeometricMedian
  • ST_GeometryN
  • ST_GeometryType
  • ST_GLocal
  • ST_H3CellDistance
  • ST_H3CellIDs
  • ST_H3KRing
  • ST_H3ToGeom
  • ST_HasM
  • ST_HasZ
  • ST_HausdorffDistance
  • ST_InteriorRingN
  • ST_InterpolatePoint
  • ST_Intersection
  • ST_IsClosed
  • ST_IsCollection
  • ST_IsEmpty
  • ST_IsPolygonCCW
  • ST_IsPolygonCW
  • ST_IsRing
  • ST_IsSimple
  • ST_IsValid
  • ST_IsValidDetail
  • ST_IsValidReason
  • ST_IsValidTrajectory
  • ST_LabelPoint
  • ST_Length
  • ST_Length2D
  • ST_LengthSpheroid
  • ST_LineFromMultiPoint
  • ST_LineInterpolatePoint
  • ST_LineLocatePoint
  • ST_LineMerge
  • ST_LineSegments
  • ST_LineSubstring
  • ST_LocalOutlierFactor
  • ST_LocateAlong
  • ST_LongestLine
  • ST_M
  • ST_MMax
  • ST_MMin
  • ST_MakeLine
  • ST_MakePolygon
  • ST_MakeValid
  • ST_MaximumInscribedCircle
  • ST_MaxDistance
  • ST_MinimumClearance
  • ST_MinimumClearanceLine
  • ST_MinimumBoundingCircle
  • ST_MinimumBoundingRadius
  • ST_Multi
  • ST_NDims
  • ST_Normalize
  • ST_NPoints
  • ST_NRings
  • ST_NumGeometries
  • ST_NumInteriorRing
  • ST_NumInteriorRings
  • ST_NumPoints
  • ST_Perimeter
  • ST_Perimeter2D
  • ST_PointN
  • ST_PointOnSurface
  • ST_Points
  • ST_Polygon
  • ST_Polygonize
  • ST_Project
  • ST_ReducePrecision
  • ST_RemovePoint
  • ST_RemoveRepeatedPoints
  • ST_Reverse
  • ST_Rotate
  • ST_RotateX
  • ST_RotateY
  • ST_S2CellIDs
  • ST_S2ToGeom
  • ST_Scale
  • ST_ScaleGeom
  • ST_SetPoint
  • ST_SetSRID
  • ST_ShiftLongitude
  • ST_Simplify
  • ST_SimplifyPolygonHull
  • ST_SimplifyPreserveTopology
  • ST_SimplifyVW
  • ST_Snap
  • ST_Split
  • ST_SRID
  • ST_StartPoint
  • ST_SubDivide
  • ST_SubDivideExplode
  • ST_SymDifference
  • ST_Transform
  • ST_Translate
  • ST_TriangulatePolygon
  • ST_UnaryUnion
  • ST_Union
  • ST_VoronoiPolygons
  • ST_WeightedDistanceBandColumn
  • ST_X
  • ST_XMax
  • ST_XMin
  • ST_Y
  • ST_YMax
  • ST_YMin
  • ST_Z
  • ST_ZMax
  • ST_ZMin
  • ST_Zmflag

Predicate Functions

  • ST_Contains
  • ST_Crosses
  • ST_Disjoint
  • ST_DWithin
  • ST_Equals
  • ST_Intersects
  • ST_OrderingEquals
  • ST_Overlaps
  • ST_Relate
  • ST_RelateMatch
  • ST_Touches
  • ST_Within
  • ST_Covers
  • ST_CoveredBy

Aggregate Functions

  • ST_Envelope_Aggr
  • ST_Intersection_Aggr
  • ST_Union_Aggr

Advanced Functions

  • ST_KNN

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions