Class CompoundSpatialReferenceSystem

CompoundSpatialReferenceSystem class

Compound SRS unites two underlying SRS, none of which can be compound.

public class CompoundSpatialReferenceSystem : SpatialReferenceSystem

Properties

NameDescription
override AsCompound { get; }Return this.
virtual AsGeocentric { get; }Returns this SRS converted to GeocentricSpatialReferenceSystem. Use Type to find out if conversion is possible.
override AsGeographic { get; }Return geographic representation of this SRS. If this compound SRS indeed represents a geographic SRS, the result will be three dimensional geographic SRS (with longitude, latitude, height dimensions). Otherwise an exception will be thrown.
virtual AsLocal { get; }Returns this SRS converted to LocalSpatialReferenceSystem. Use Type to find out if conversion is possible.
override AsProjected { get; }Return projected representation of this SRS. If this compound SRS indeed represents a projected SRS, the result will be three dimensional projected SRS (with X, Y, height dimensions). Otherwise an exception will be thrown.
virtual AsVertical { get; }Returns this SRS converted to VerticalSpatialReferenceSystem. Use Type to find out if conversion is possible.
override DimensionsCount { get; }Number of dimensions. For compound SRS this is sum of number of dimensions of underlying SRS.
EpsgCode { get; }If this objects identifier is EPSG identifier - return its code. Otherwise - return -1.
override GeographicDatum { get; }Return geographic datum of this SRS. If both Head and Tail have geographic datum - return geographic datum of head.
override HasGeographicDatum { get; }Compound SRS have geographic datum if any of underlying SRS have geographic datum.
override HasPrimeMeridian { get; }Compound SRS has prime meridian if any of underlying SRS have prime meridian.
Head { get; }First underlying SRS.
Identifier { get; }Identifier of this identifiable object.
override IsCompound { get; }Returns true.
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; }Return prime meridian of this SRS. If both Head and Tail have prime meridian - return prime meridian of head.
Tail { get; }Second underlying SRS.
override Type { get; }Type of this Compound SRS. Can be Geographic if this Compound SRS is combination of geographic and vertical SRS, or Projected if this Compound SRS is combination of projected and vertical 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