LinkedCRS
Namespace: Meshmakers.Octo.Runtime.Contracts.Geospatial.CoordinateReferenceSystem
Defines the Linked CRS type.
public class LinkedCRS : CRSBase, IEqualityComparer<CRSBase>, IEquatable<CRSBase>, ICRSObject
Inheritance Object → CRSBase → LinkedCRS
Implements IEqualityComparer<CRSBase>, IEquatable<CRSBase>, ICRSObject
Remarks:
This was originally defined in the spec 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
LinkedCRS(String, String)
Initializes a new instance of the LinkedCRS class.
public LinkedCRS(string href, string type)
Parameters
href
String
The mandatory href member must be a dereferenceable URI.
type
String
The optional type member will be put in the properties Dictionary
LinkedCRS(Uri, String)
Initializes a new instance of the LinkedCRS class.
public LinkedCRS(Uri href, string type)
Parameters
href
Uri
The mandatory href member must be a dereferenceable URI.
type
String
The optional type member will be put in the properties Dictionary