* CoordRefFormat
* UserInputFormat
If you have UTM coordinates then you use GetWGS84Longitude for calculating the Longitude/Latitude values:<br/>
Attribute.SetDouble("Longitude", Translate.GetWGS84Longitude("UTM42N", Cast.String(Row.GetAttribute("Xcoord")), Cast.String(Row.GetAttribute("Ycoord"))))<br/>
Attribute.SetDouble("Latitude", Translate.GetWGS84Latitude("UTM42N", Cast.String(Row.GetAttribute("Xcoord")), Cast.String(Row.GetAttribute("Ycoord")))) <br/>
{{Note | There is no function that calculates Longitude and Latitude from a MGRS coordinates so that has to be done with e.g. ArcGIS before the import and needs to be part of the indata to the script. But if you have Longitude and Latitude then the MGRS may be calculated with:
Attribute.SetString("UserEnteredMGRS", Pojo.GetUserEnteredCoord( Row.GetString("clnLandMarkLongitude"), Row.GetString("clnLandMarkLatitude"), Row.GetString("clnMapCoordinateSystemTC"))) }}
===Key and Object Mapping===__NOEDITSECTION__