Description | Example | Return message | Group

Convert MapGridPoint

Convert a map point between Latitude/Longitude and UTM.

Syntax

Convert <ScenarioPath> MapGridPoint {FromMapGridSpec} {PointDef} {ToMapGridSpec}

Description

Convert the point entered in {FromMapGridSpec} representation to {ToMapGridSpec} representation. Valid values for MapGridSpec are LatLon, UTM and MGRS.

The following table describes the format for {PointDef} based on the MapGridSpec, and also the format of the returned string.

{MapGridSpec}{PointDef}
LatLon<Latitude> <Longitude>
UTM<ZoneStr> <Easting> <Northing>
MGRS<MGRSString>

The following table describes the specifications for the above values:

ValueUnit
Latitude and LongitudeConnect Latitude and Longitude units (default is degrees).
ZoneStrValid values for <ZoneStr> are A, B, Y, Z or ddc, where 00>dd>61 and c can be C through X, but not I or O. The c character indicates the zone row and is optional. If not included the value T will be used.
Easting and Northing<Easting> and <Northing> are entered in Connect distance units.

When UTM is the {ToMapGridSpec} the <Easting> and <Northing> values are returned in Connect distance units.

Examples

To convert the specified point from LatLon to UTM:

Convert * MapGridPoint LatLon 33.5 74.75 UTM

Return message

Return entry 1: 43S 476779 3706747

Examples

To convert the specified point from UTM to LatLon (Easting and Northing values, in this example, are entered in meters):

Convert * MapGridPoint UTM 38T 419826 4872359 LatLon

Return message

Return entry 1: 44.0000010597138030000000000 44.0000032231451430000000000

Examples

To convert the specified point from LatLon to MGRS:

Convert * MapGridPoint LatLon 33.5 74.75 MGRS

Return message

Return entry 1: 43SDT7677906747

Examples

To convert the specified point from MGRS to LatLon:

Convert * MapGridPoint MGRS 43SDT7677906747 LatLon

Return message

Return entry 1: 33.4999983630538270000000000 74.7500040171926660000000000

Group membership

This command belongs to the following group(s):

Scenarios

Version

6.2