SpatialSpec Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Spatial index specification
public sealed class SpatialSpec : Microsoft.Azure.Documents.JsonSerializable
type SpatialSpec = class
inherit JsonSerializable
Public NotInheritable Class SpatialSpec
Inherits JsonSerializable
- Inheritance
"spatialIndexes":
[
{
"path":"/'region'/?",
"types":["Polygon"],
"boundingBox":
{
"xmin":0,
"ymin":0,
"xmax":10,
"ymax":10
}
}
]
Bounding |
Gets or sets the bounding box |
Path |
Path in JSON document to index |
Spatial |
Path's spatial type |
Load |
Loads the object from the specified JSON reader in the Azure Cosmos DB service. (Inherited from JsonSerializable) |
Load |
Loads the object from the specified JSON reader in the Azure Cosmos DB service. (Inherited from JsonSerializable) |
Save |
Saves the object to the specified stream in the Azure Cosmos DB service. (Inherited from JsonSerializable) |
Save |
Saves the object to the specified stream in the Azure Cosmos DB service. (Inherited from JsonSerializable) |
To |
Returns the string representation of the object in the Azure Cosmos DB service. (Inherited from JsonSerializable) |
Product | Versions |
---|---|
Azure SDK for .NET | Latest |
Azure SDK for .NET feedback
Azure SDK for .NET is an open source project. Select a link to provide feedback: