Complete reference for all geospatial functions in StarTree Cloud, including constructors, measurements, relationships, and conversions.
ST_
prefix. These functions enable you to create, manipulate, measure, and analyze spatial data.
Function | Index Usage | Requirements |
---|---|---|
ST_Distance | FILTER_H3_INDEX | Column as first arg, literal as second, used in range condition |
ST_Within | INCLUSION_FILTER_H3_INDEX | Column as first arg, literal as second |
ST_Contains | INCLUSION_FILTER_H3_INDEX | Literal as first arg, column as second |
EXPLAIN PLAN FOR
to verify index usage:
FILTER_H3_INDEX
- ST_Distance queries using indexINCLUSION_FILTER_H3_INDEX
- ST_Within/ST_Contains queries using index