You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/cosmos-db/geospatial.md
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -92,7 +92,7 @@ In addition to points, GeoJSON also supports LineStrings and Polygons. **LineStr
92
92
In addition to Point, LineString, and Polygon, GeoJSON also specifies the representation for how to group multiple geospatial locations, as well as how to associate arbitrary properties with geolocation as a **Feature**. Since these objects are valid JSON, they can all be stored and processed in Azure Cosmos DB. However Azure Cosmos DB only supports automatic indexing of points.
93
93
94
94
### Coordinate reference systems
95
-
Since the shape of the earth is irregular, coordinates of geospatial data are represented in many coordinate reference systems (CRS), each with their own frames of reference and units of measurement. For example, the "National Grid of Britain" is a reference system is very accurate for the United Kingdom, but not outside it.
95
+
Since the shape of the earth is irregular, coordinates of geospatial data are represented in many coordinate reference systems (CRS), each with their own frames of reference and units of measurement. For example, the "National Grid of Britain" is a reference system is accurate for the United Kingdom, but not outside it.
96
96
97
97
The most popular CRS in use today is the World Geodetic System [WGS-84](http://earth-info.nga.mil/GandG/wgs84/). GPS devices, and many mapping services including Google Maps and Bing Maps APIs use WGS-84. Azure Cosmos DB supports indexing and querying of geospatial data using the WGS-84 CRS only.
98
98
@@ -217,7 +217,7 @@ Polygon arguments in ST_WITHIN can contain only a single ring, that is, the Poly
217
217
>
218
218
>
219
219
220
-
Azure Cosmos DB also supports performing inverse queries, that is, you can index Polygons or lines in Azure Cosmos DB, then query for the areas that contain a specified point. This pattern is commonly used in logistics to identify for example, when a truck enters or leaves a designated area.
220
+
Azure Cosmos DB also supports performing inverse queries, that is, you can index polygons or lines in Azure Cosmos DB, then query for the areas that contain a specified point. This pattern is commonly used in logistics to identify, for example, when a truck enters or leaves a designated area.
221
221
222
222
**Query**
223
223
@@ -266,7 +266,7 @@ These functions can also be used to validate Polygons. For example, here we use
266
266
}]
267
267
268
268
### LINQ Querying in the .NET SDK
269
-
The SQL .NET SDK also providers stub methods `Distance()` and `Within()` for use within LINQ expressions. The SQL LINQ provider translates these method calls to the equivalent SQL built-in function calls (ST_DISTANCE and ST_WITHIN respectively).
269
+
The SQL .NET SDK also providers stub methods `Distance()` and `Within()` for use within LINQ expressions. The SQL LINQ provider translates this method calls to the equivalent SQL built-in function calls (ST_DISTANCE and ST_WITHIN respectively).
270
270
271
271
Here's an example of a LINQ query that finds all documents in the Azure Cosmos DB collection whose "location" value is within a radius of 30 km of the specified point using LINQ.
272
272
@@ -385,7 +385,7 @@ And here's how you can modify an existing collection to take advantage of spatia
385
385
>
386
386
387
387
## Next steps
388
-
Nolearned you've learnt about how to get started with geospatial support in Azure Cosmos DB, you can:
388
+
Now that you have learned how to get started with geospatial support in Azure Cosmos DB, next you can:
389
389
390
390
* Start coding with the [Geospatial .NET code samples on GitHub](https://github.com/Azure/azure-documentdb-dotnet/blob/fcf23d134fc5019397dcf7ab97d8d6456cd94820/samples/code-samples/Geospatial/Program.cs)
391
391
* Get hands on with geospatial querying at the [Azure Cosmos DB Query Playground](http://www.documentdb.com/sql/demo#geospatial)
0 commit comments