Class LocalSpatialReferenceSystem

LocalSpatialReferenceSystem class

Local SRS related coordinates to some object, not earth.

public class LocalSpatialReferenceSystem : SpatialReferenceSystem

Properties

NameDescription
virtual AsCompound { get; }Returns this SRS converted to CompoundSpatialReferenceSystem. Use IsCompound to find out if conversion is possible.
virtual AsGeocentric { get; }Returns this SRS converted to GeocentricSpatialReferenceSystem. Use Type to find out if conversion is possible.
virtual AsGeographic { get; }Returns this SRS converted to GeographicSpatialReferenceSystem. Use Type to find out if conversion is possible.
override AsLocal { get; }Return this.
virtual AsProjected { get; }Returns this SRS converted to ProjectedSpatialReferenceSystem. Use Type to find out if conversion is possible.
virtual AsVertical { get; }Returns this SRS converted to VerticalSpatialReferenceSystem. Use Type to find out if conversion is possible.
override DimensionsCount { get; }Number of dimensions in this SRS.
EpsgCode { get; }If this objects identifier is EPSG identifier - return its code. Otherwise - return -1.
override GeographicDatum { get; }Throws InvalidOperationException, since Local SRS doesn’t have geographic datum.
override HasGeographicDatum { get; }Returns false, since Local SRS doesn’t have geographic datum.
override HasPrimeMeridian { get; }Returns false, since Local SRS doesn’t have prime meridian.
Identifier { get; }Identifier of this identifiable object.
virtual IsCompound { get; }Returns whether this SRS is compound (a union of two SRS). Following combinations of SRS in compound SRS are considered valid: Geographic SRS + Vertical SRS, in this case type of compound SRS will be Geographic. Projected SRS + Vertical SRS, in this case type of compound SRS will be Projected. If combination of SRSs differs, type of compound SRS will be Unknown.
IsSingle { get; }Returns whether this SRS is single (not a union of two SRS).
IsValid { get; }Same as Validate, but don’t return error message.
LocalDatum { get; }Datum, that describes measurements method.
Name { get; }Name of this object.
override PrimeMeridian { get; }Throws InvalidOperationException, since Local SRS doesn’t have prime meridian.
override Type { get; }Return Local.
Unit { get; }Unit of this SRS.

Methods

NameDescription
CreateTransformationTo(SpatialReferenceSystem)Creates transformation from this SpatialReferenceSystem to another SpatialReferenceSystem.
ExportToWkt()Returns representation of this SRS as WKT string. The result WKT string will match OGC 01-009 specification, usually named “WKT1”.
override GetAxis(int)Get Axis that describes dimension.
override GetUnit(int)Get Unit of dimension.
override IsEquivalent(SpatialReferenceSystem)Detects whether this SRS is equivalent to other SRS. .
override ToString()Returns a string that represents the current object.
TryCreateTransformationTo(SpatialReferenceSystem, out SpatialReferenceSystemTransformation)Creates transformation from this SpatialReferenceSystem to another SpatialReferenceSystem.
override Validate(out string)Determine if this SRS is valid. See Validate for validity description.

See Also