Class CoordinateSystem
Handling coordinate systems
Inheritance
Namespace: FpAssistantCore.Geographical
Assembly: FpAssistantCoreScl.dll
Syntax
public class CoordinateSystem : object
Constructors
View SourceCoordinateSystem(String)
Constructor to initialise with string of Coordinate System Well-Know Text (WKT)
Declaration
public CoordinateSystem(string wkt)
Parameters
Type | Name | Description |
---|---|---|
System.String | wkt |
Remarks
Used when details of the Coordinate System and Projection can be obtains from XML in CAD/GIS software e.g. AUtoCAD. Not available in PCL version
CoordinateSystem(String, MapProjections, CoordinateSystemUnits, Boolean)
Constructor to initialise with parameters
Declaration
public CoordinateSystem(string description, MapProjections mapProjection, CoordinateSystemUnits coordinateSystemUnit, bool hasZones)
Parameters
Type | Name | Description |
---|---|---|
System.String | description | Description of the coordinate system |
MapProjections | mapProjection | An enum value defining the type of map projection |
CoordinateSystemUnits | coordinateSystemUnit | The unit if the map projection datum |
System.Boolean | hasZones |
Remarks
Used when developer wants to create a coordinate system
Properties
View SourceCoordinateSystemUnit
Coordinate System UOM
Declaration
public CoordinateSystemUnits CoordinateSystemUnit { get; }
Property Value
Type | Description |
---|---|
CoordinateSystemUnits | CoordinateSystemUnits - Unit of Measurement |
Description
Description of the coordinate system
Declaration
public string Description { get; }
Property Value
Type | Description |
---|---|
System.String | String containing the description |
HasZones
Indicates if the map projection has zones or a sub-set of identifiers
Declaration
public bool HasZones { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | Boolean true or false |
MapProjection
Type of projection used for the coordinate system of the coordinate system
Declaration
public MapProjections MapProjection { get; set; }
Property Value
Type | Description |
---|---|
MapProjections | Enum value of the map projection |
Projection
Projection use in the coordinate system
Declaration
public ProjectedCoordinateSystem Projection { get; }
Property Value
Type | Description |
---|---|
ProjectedCoordinateSystem | PCS |