Share via


Crs Class

Definition

Represents Coordinate Reference System in the Azure Cosmos DB service.

[Newtonsoft.Json.JsonConverter(typeof(Microsoft.Azure.Cosmos.Spatial.Converters.CrsJsonConverter))]
[System.Runtime.Serialization.DataContract]
public abstract class Crs
[<Newtonsoft.Json.JsonConverter(typeof(Microsoft.Azure.Cosmos.Spatial.Converters.CrsJsonConverter))>]
[<System.Runtime.Serialization.DataContract>]
type Crs = class
Public MustInherit Class Crs
Inheritance
Crs
Derived
Attributes
Newtonsoft.Json.JsonConverterAttribute DataContractAttribute

Constructors

Crs(CrsType)

Initializes a new instance of the Crs class in the Azure Cosmos DB service.

Properties

Default

Gets default CRS in the Azure Cosmos DB service. Default CRS is named CRS with the name "urn:ogc:def:crs:OGC:1.3:CRS84".

Type

Gets CRS type in the Azure Cosmos DB service.

Unspecified

Gets "Unspecified" CRS in the Azure Cosmos DB service. No CRS can be assumed for Geometries having "Unspecified" CRS.

Methods

Linked(String, String)

Creates linked CRS with the optional type specified in the Azure Cosmos DB service.

Linked(String)

Creates linked CRS in the Azure Cosmos DB service.

Named(String)

Creates named CRS with the name specified in the Azure Cosmos DB service.

Applies to