Skip to main content

DefaultCRS

Namespace: Meshmakers.Octo.Runtime.Contracts.Geospatial.CoordinateReferenceSystem

The default CRS is a geographic coordinate reference system, using the WGS84 datum, and with longitude and latitude units of decimal degrees. see https://tools.ietf.org/html/rfc7946#section-4

public class DefaultCRS : NamedCRS, IEqualityComparer<CRSBase>, IEquatable<CRSBase>, ICRSObject

Inheritance ObjectCRSBaseNamedCRSDefaultCRS
Implements IEqualityComparer<CRSBase>, IEquatable<CRSBase>, ICRSObject

Remarks:

Defines the GeoJSON Coordinate Reference System Objects (CRS) types originally defined in the geojson.org v1.0 spec see http://geojson.org/geojson-spec.html#coordinate-reference-system-objects. The current RFC removes the CRS type, but allows to be left in for backwards compatibility. See https://tools.ietf.org/html/rfc7946#section-4

Properties

Instance

Gets the instance.

public static DefaultCRS Instance { get; }

Property Value

DefaultCRS
The instance.

Properties

Gets the properties.

public Dictionary<string, object> Properties { get; }

Property Value

Dictionary<String, Object>

Type

Gets the type of the GeometryObject object.

public CRSType Type { get; protected set; }

Property Value

CRSType