NamedCRS
Namespace: Meshmakers.Octo.Runtime.Contracts.Geospatial.CoordinateReferenceSystem
Defines the Named CRS type.
public class NamedCRS : CRSBase, IEqualityComparer<CRSBase>, IEquatable<CRSBase>, ICRSObject
Inheritance Object → CRSBase → NamedCRS
Implements IEqualityComparer<CRSBase>, IEquatable<CRSBase>, ICRSObject
Remarks:
See http://geojson.org/geojson-spec.html#named-crs 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
Properties
Gets the properties.
public Dictionary<string, object> Properties { get; }
Property Value
Type
Gets the type of the GeometryObject object.
public CRSType Type { get; protected set; }
Property Value
Constructors
NamedCRS(String)
Initializes a new instance of the NamedCRS class.
public NamedCRS(string name)
Parameters
name
String
The mandatory name member must be a string identifying a coordinate reference system. OGC CRS URNs such as
'urn:ogc:def:crs:OGC:1.3:CRS84' shall be preferred over legacy identifiers such as 'EPSG:4326'.