Class CoordinateSystems
Static class to hold the all the supported coordinates and their definitions
Inherited Members
Namespace: FpAssistantCore.Geographical
Assembly: FpAssistantCoreScl.dll
Syntax
public static class CoordinateSystems
Remarks
Allows apps to know what coordinate systems / map projections are cuurently supported in this API
Methods
View SourceFindByMapProjection(MapProjections)
Find the details of a coordinate system by search for it's map projection
Declaration
public static CoordinateSystem FindByMapProjection(MapProjections mapProjection)
Parameters
Type | Name | Description |
---|---|---|
MapProjections | mapProjection | The map projection to search for |
Returns
Type | Description |
---|---|
CoordinateSystem |
Exceptions
Type | Condition |
---|---|
ArgumentException | Map projection parameter value not found in enum MapProjections |
IsProjectionZoneIdentifierValid(MapProjections, string)
Check if the zone or identifier name is valid for a particular map projection
Declaration
public static bool IsProjectionZoneIdentifierValid(MapProjections mapProjection, string projectionZoneIdentifier)
Parameters
Type | Name | Description |
---|---|---|
MapProjections | mapProjection | The map projection in which to look for the zone or identifier |
string | projectionZoneIdentifier | String containing the name of the zone or identifier to look for in the map projection |
Returns
Type | Description |
---|---|
bool | Boolean |
Remarks
UTM based map projections tend to be divided up to into zones
Exceptions
Type | Condition |
---|---|
NotImplementedException | Map projection parameter value not found in enum MapProjections |