Skip to content

Commit 8e73bb3

Browse files
committed
update spatial indexing portal screenshots
1 parent 3c74e2d commit 8e73bb3

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed
47.8 KB
Loading

articles/cosmos-db/sql-query-geospatial-index.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Index spatial data with Azure Cosmos DB
44
author: timsander1
55
ms.service: cosmos-db
66
ms.topic: conceptual
7-
ms.date: 02/20/2020
7+
ms.date: 05/03/2020
88
ms.author: tisande
99

1010
---
@@ -23,11 +23,17 @@ If you specify an indexing policy that includes spatial index for /* (all paths)
2323
2424
## Modifying geospatial data type
2525

26-
In your container, the `geospatialConfig` specifies how the geospatial data will be indexed. You should specify one `geospatialConfig` per container: geography or geometry. If not specified, the `geospatialConfig` will default to the geography data type. When you modify the `geospatialConfig`, all existing geospatial data in the container will be reindexed.
26+
In your container, the **Geospatial Configuration** specifies how the spatial data will be indexed. You should specify one **Geospatial Configuration** per container: geography or geometry.
2727

28-
> [!NOTE]
29-
> Azure Cosmos DB currently supports modifications to the geospatialConfig in the .NET SDK only in versions 3.6 and above.
30-
>
28+
You can toggle between the **geography** and **geometry** spatial type in the Azure Portal. It's important that you create a [valid spatial geometry indexing policy with a bounding box](#geometry-data-indexing-examples) before switching to the geometry spatial type.
29+
30+
Here's how to set the **Geospatial Configuration** in **Data Explorer** within the Azure Portal:
31+
32+
![Setting geospatial configuration](./media/sql-query-geospatial-index/geospatialconfiguration.png)
33+
34+
You can also modify the `geospatialConfig` in the .NET SDK in order to adjust the **Geospatial Configuration**:
35+
36+
If not specified, the `geospatialConfig` will default to the geography data type. When you modify the `geospatialConfig`, all existing geospatial data in the container will be reindexed.
3137

3238
Here is an example for modifying the geospatial data type to `geometry` by setting the `geospatialConfig` property and adding a **boundingBox**:
3339

0 commit comments

Comments
 (0)