doogal.co.uk Home
Convert this latitude and longitude to a UTM reference.
Namespace:
DotNetCoords
Assembly:
DotNetCoords (in DotNetCoords.dll) Version: 1.0.0.22 (1.0.0.22)
Syntax public UTMRef ToUtmRef(
int forceLongitudeZone = 0
)
Public Function ToUtmRef (
Optional forceLongitudeZone As Integer = 0
) As UTMRef
public:
UTMRef^ ToUtmRef(
int forceLongitudeZone = 0
)
member ToUtmRef :
?forceLongitudeZone : int
(* Defaults:
let _forceLongitudeZone = defaultArg forceLongitudeZone 0
*)
-> UTMRef
Parameters
- forceLongitudeZone (Optional)
- Type: SystemInt32
Force a longitude zone for the UTM Reference
Return Value
Type:
UTMRefThe converted UTM reference.
Exceptions Exception | Condition |
---|
NotDefinedOnUtmGridException |
If an attempt is made to convert a LatLng that falls outside the
area covered by the UTM grid. The UTM grid is only defined for
latitudes south of 84°N and north of 80°S. |
See Also