Azure Cosmos DB: Expanded geospatial support, including automatic indexing of Polygon and LineString objects
發佈日期： 十月 28, 2016
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:
- Review the documentation at Working with geospatial data in Azure Cosmos DB.
- Download the .NET, Node.js, Java, or Python SDK, or use the REST API.