Lat/Lon and Grid Projections API
Overview
To use these functions, the Coordinate System must
be set under Settings >Drawing Setup.
Drawing X/Y to Lat/Lon
Converts a drawing coordinate to latitude and longitude.
Usage: (setq result
(cf:lablat 8 x_val y_val is_dms))
x_val - Easting
y_val - Northing
is_dms - Optional parameter to control format of result (0-decimal
degrees (default), 1=dd.mmss)
result - Function output containing list of latitude and
longitude
Lat/Lon to Drawing X/Y
Converts latitude and longitude to a drawing coordinate.
Usage: (setq result
(cf:lablat 9 lon_val latitude_val is_dms))
lon_val - Longitude
lat_val - Latitude
is_dms - Optional parameter to define format of input (0-decimal
degrees (default), 1=dd.mmss)
result - Function output containing list of easting and
northing