Table of Contents

Class SpatialPath

Namespace
Microsoft.Azure.Cosmos
Assembly
Microsoft.Azure.Cosmos.Client.dll

Spatial index specification

public sealed class SpatialPath
Inheritance
SpatialPath
Inherited Members
Extension Methods

Examples

"spatialIndexes": [ {
"path":"/'region'/?", "types":["Polygon"], "boundingBox": { "xmin":0, "ymin":0, "xmax":10, "ymax":10 } } ]

Constructors

SpatialPath()

public SpatialPath()

Properties

BoundingBox

Gets or sets the bounding box

public BoundingBoxProperties BoundingBox { get; set; }

Property Value

BoundingBoxProperties

Path

Path in JSON document to index

public string Path { get; set; }

Property Value

string

SpatialTypes

Path's spatial type

public Collection<SpatialType> SpatialTypes { get; }

Property Value

Collection<SpatialType>