Class GeographicSpatialReferenceSystem
Contents
[
Hide
]GeographicSpatialReferenceSystem class
A Geographic SRS is an SRS that is based on longitude and latitude. A Geographic SRS can be two dimensional or three dimensional. If geographic SRS is three dimensional, then it is actually a compound SRS of two dimensional SRS and vertical SRS.
public abstract class GeographicSpatialReferenceSystem : SpatialReferenceSystem
Properties
Name | Description |
---|---|
abstract AngularUnit { get; } | Unit, used for angular dimensions, in this SRS. |
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. |
AsGeographic { get; } | Returns this. |
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. |
virtual AsVertical { get; } | Returns this SRS converted to VerticalSpatialReferenceSystem . Use Type to find out if conversion is possible. |
abstract AxisesOrder { get; } | Order of axises in this SRS. If this SRS is not valid and has wrong axises directions, Invalid is returned. |
abstract DimensionsCount { get; } | Returns dimensions count in this SRS. For geographic SRS this can be: two - if this is single geographic SRS. three - if this is compound SRS, which consists of single, two dimensional, geographic SRS and vertical SRS, that adds third dimension. |
EpsgCode { get; } | If this objects identifier is EPSG identifier - return its code. Otherwise - return -1. |
abstract GeographicDatum { get; } | Returns geographic datum of this SRS. |
HasGeographicDatum { get; } | Returns true , since geographic SRS always have prime meridian. |
HasPrimeMeridian { get; } | Returns true , since geographic SRS always 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. |
abstract PrimeMeridian { get; } | Returns prime meridian of this SRS. |
Type { get; } | Returns Geographic. |
Methods
Name | Description |
---|---|
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”. |
abstract GetAxis(int) | Get Axis that describes dimension. |
abstract GetUnit(int) | Get Unit of dimension. |
virtual 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 . |
abstract Validate(out string) | Determine if this SRS is valid. |
See Also
- class SpatialReferenceSystem
- namespace Aspose.Gis.SpatialReferencing
- assembly Aspose.GIS