Azure Cosmos DB: Geospatial indexing and query support
Published date: August 14, 2015
The latest Azure Cosmos DB service update includes support for automatic indexing of geospatial data, as well as SQL support for performing proximity queries stored in Azure Cosmos DB.
- New index type: Spatial
- New SQL built-in functions: ST_DISTANCE, ST_WITHIN, ST_ISVALID, and ST_ISVALIDDETAILED
New releases of the .NET, Node.js, Java, JavaScript, and Python SDKs support creating and modifying indexing policies with the Spatial index type. The .NET SDK release 1.4.0 adds new types for representing points and polygons, and new LINQ query operators for performing spatial queries. To learn more, you can:
- Read the blog announcement: Announcing geospatial support in Azure Cosmos DB
- Review the documentation section: Working with geospatial data in Azure Cosmos DB
- Build the samples from GitHub: Azure-documentdb-net