Skip to content

Commit 58997c2

Browse files
committed
fix some wording
1 parent 8e73bb3 commit 58997c2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ 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 **Geospatial Configuration** specifies how the spatial data will be indexed. You should specify one **Geospatial Configuration** per container: geography or geometry.
26+
In your container, the **Geospatial Configuration** specifies how the spatial data will be indexed. Specify one **Geospatial Configuration** per container: geography or geometry.
2727

2828
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.
2929

3030
Here's how to set the **Geospatial Configuration** in **Data Explorer** within the Azure Portal:
3131

3232
![Setting geospatial configuration](./media/sql-query-geospatial-index/geospatialconfiguration.png)
3333

34-
You can also modify the `geospatialConfig` in the .NET SDK in order to adjust the **Geospatial Configuration**:
34+
You can also modify the `geospatialConfig` in the .NET SDK to adjust the **Geospatial Configuration**:
3535

3636
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.
3737

@@ -113,7 +113,7 @@ The bounding box consists of the following properties:
113113

114114
A bounding box is required because geometric data occupies a plane that can be infinite. Spatial indexes, however, require a finite space. For the **geography** data type, the Earth is the boundary and you do not need to set a bounding box.
115115

116-
You should create a bounding box that contains all (or most) of your data. Only operations computed on the objects that are entirely inside the bounding box will be able to utilize the spatial index. You should not make the bounding box significantly larger than necessary because this will negatively impact query performance.
116+
Create a bounding box that contains all (or most) of your data. Only operations computed on the objects that are entirely inside the bounding box will be able to utilize the spatial index. Making the bounding box larger than necessary will negatively impact query performance.
117117

118118
Here is an example indexing policy that indexes **geometry** data with **geospatialConfig** set to `geometry`:
119119

0 commit comments

Comments
 (0)