From the course: Azure Cosmos DB: SQL API Deep Dive
Unlock the full course today
Join today to access over 22,400 courses taught by industry experts or purchase this course individually.
Geospatial data
- As your Cosmos Db has built-in support for JSON data stored in accordance with the GeoJSON specification. This specification is a well-known format that was established in 2015 to standardize how people refer to locations in geometry shapes. Within the GeoJSON specification, a specific location is referred to as a point. And shapes are referred to as polygons. Cosmos Db has built-in functions that can help you create queries that take advantage of both points and polygons. Let's look at a basic point. At it's simplest, a point is a set of coordinates referencing a specific location on a plane. In many examples, you see the coordinates refer to latitude and longitude in our world. With that being said, coordinates don't have to refer to real world locations. If you have a specific map or drawing in your application, point to refer to a location in that. As far as queries are concerned, we typically try to find the…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.