Class VerticalSpatialReferenceSystem

VerticalSpatialReferenceSystem class

Vertical SRS is a one dimensional SRS that describes height coordinates.

public class VerticalSpatialReferenceSystem : 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.
virtual AsLocal { get; }Returns this SRS converted to LocalSpatialReferenceSystem. Use Type to find out if conversion is possible.
virtual AsProjected { get; }Returns this SRS converted to ProjectedSpatialReferenceSystem. Use Type to find out if conversion is possible.
override AsVertical { get; }Returns this SRS.
override DimensionsCount { get; }Returns 1, since vertical SRS is always one dimensional.
EpsgCode { get; }If this objects identifier is EPSG identifier - return its code. Otherwise - return -1.
override GeographicDatum { get; }Throws InvalidOperationException, since Vertical SRS doesn’t have geographic datum.
override HasGeographicDatum { get; }Returns false, since Vertical SRS doesn’t have geographic datum.
override HasPrimeMeridian { get; }Returns false, since Vertical 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.
Name { get; }Name of this object.
override PrimeMeridian { get; }Throws InvalidOperationException, since Vertical SRS doesn’t have prime meridian.
override Type { get; }Return Vertical.
VerticalDatum { get; }Datum that is used in this SRS.
VerticalUnit { get; }Unit that is used in 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