空间函数 (Azure Cosmos DB)Spatial functions (Azure Cosmos DB)

Cosmos DB 支持以下用于查询地理空间的开放地理空间信息联盟 (OGC) 内置函数。Cosmos DB supports the following Open Geospatial Consortium (OGC) built-in functions for geospatial querying.

函数Functions

以下标量函数对标量对象输入值执行操作,并返回数值或布尔值。The following scalar functions perform an operation on a spatial object input value and return a numeric or Boolean value.

ST_DISTANCEST_DISTANCE ST_INTERSECTSST_INTERSECTS ST_ISVALIDST_ISVALID
ST_ISVALIDDETAILEDST_ISVALIDDETAILED ST_WITHINST_WITHIN

后续步骤Next steps