LongLatOffsetDatumShift Class
Transforms between two geodetic datums by offsets in longitude and latitude.
NuGet/Assembly: Carmenta.Engine.5.16.2.nupkg (in the CECore assembly)
Syntax
public class LongLatOffsetDatumShift : DatumShift
Remarks
A LongLatOffsetDatumShift transforms coordinates from one GeodeticDatum to another by adding constant offsets to latitude and longitude. This simple method will usually give bad accuracy over larger areas, so the method is not very popular.
However, sometimes you cannot find a published datum shift method for some geodata. So, you may need to devise one yourself, by using trial-and-error until different data layers are reasonably aligned. For this purpose, a LongLatOffsetDatumShift may be the most convenient datum shift method, since it has only two parameters, which are easy to understand.
Terminology
This class corresponds to what EPSG calls the coordinate operation method "Geographic2D offsets" (code 9619).
Inheritance Hierarchy
System.Object (not available in C#)
EngineObject
ResourceObject
DatumShift
LongLatOffsetDatumShift
Platforms
Windows, Linux, Android
LongLatOffsetDatumShift Members
The LongLatOffsetDatumShift type has the following members.
Constructors
Name | Description |
---|---|
LongLatOffsetDatumShift | Initializes a new instance of the LongLatOffsetDatumShift class. |
Properties
Name | Description |
---|---|
Authority | Gets the name of an authority, which is often "epsg". Inherited from DatumShift |
AuthorityCode | Gets the unique code for the datum shift instance, according to the Authority, for example "15978". Inherited from DatumShift |
Direction | Gets the direction: from or to the known datum. |
Info | Gets documentation like accuracy and area of use. Inherited from DatumShift |
IsDisposed | Gets a value that tells whether the current LongLatOffsetDatumShift has been disposed. Inherited from EngineObject |
KnownDatum | Gets the known datum, usually WGS84. Inherited from DatumShift |
LatitudeOffset | Gets the latitude offset. |
LongitudeOffset | Gets the longitude offset. |
Name | Gets or sets the name of the LongLatOffsetDatumShift. Inherited from ResourceObject |
NativeHandle | Gets the native Carmenta Engine kernel object the current LongLatOffsetDatumShift represents. Inherited from EngineObject |
IUserProperties.UserProperties | Gets the AttributeSet that contains the user properties. Inherited from IUserProperties |
Methods
Name | Description |
---|---|
Clone | Creates a copy of an object. Inherited from EngineObject |
Dispose | Releases the reference to the native Carmenta Engine kernel instance the EngineObject represents. Inherited from EngineObject |
Equals | Determines whether this instance is equal to another. Inherited from EngineObject |
Constructs a datum shift from a DatumShiftInfo. Inherited from DatumShift |