Azure Cosmos DB: Expanded geospatial support, including automatic indexing of Polygon and LineString objects


Azure Cosmos DB now supports geospatial indexing and querying of Polygon and LineString objects, in addition to the Point object.

With the latest service update, Azure Cosmos DB can automatically detect GeoJSON fragments that contain Polygon and LineString objects within your documents, and index them for efficient spatial proximity queries. Spatial querying of Polygon and LineString objects is commonly used to detect "geo-fences" in IoT, telematics, gaming, and mobile applications. You can enable or disable spatial indexing by changing the indexing policy on a per-collection basis.

To learn more, you can:





免费获得 $200 点 Azure 信用额度和 12 个月的常见服务使用权


Visual Studio

订阅者每年可获得高达 $1800 的 Azure 服务



加入 BizSpark 计划并获得免费的 Azure 服务