Share via


Crs Class

Definition

Represents Coordinate Reference System in the Azure Cosmos DB service.

[System.Runtime.Serialization.DataContract]
[System.Text.Json.Serialization.JsonConverter(typeof(Azure.Cosmos.TextJsonCrsConverterFactory))]
public abstract class Crs
[<System.Runtime.Serialization.DataContract>]
[<System.Text.Json.Serialization.JsonConverter(typeof(Azure.Cosmos.TextJsonCrsConverterFactory))>]
type Crs = class
Public MustInherit Class Crs
Inheritance
Crs
Derived
Attributes

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