When you create a point layer in Maptitude, you will notice that a Latitude and a Longitude field are added to the data. As Maptitude locates points in a database, it saves the coordinates of those points in millionths of degrees. However, many users may want to know the degrees. This article details the steps to convert the Latitude Longitude fields into degrees:
- Open the layer of the points you want to convert.
- Open the dataview of that layer.
- Choose Dataview>Formula Fields to display the Formula dialog box.
- From the Field Picker, choose Longitude.
- Type
"/ 1000000"
- In the Formula Field drop down menu, you can give the Formula Field a name, such as Degrees Longitude and click OK.
- Choose Dataview>Formula Fields again and repeat but use Latitude.
- This will add two new fields to your dataview that has the Lat/Long coordinates in degrees.
For an even fancier output you can get the coordinates in Degrees-Minutes-Seconds (DMS) by copying and pasting the following formulae: Longitude
r2s(abs(r2i(GetPoint(rh2id(GetRecord())).lon/1000000)))+"° "+i2s(r2i(abs(mod(GetPoint(rh2id(GetRecord())).lon,1000000)/1000000)*60))+"' "+format((abs(mod(GetPoint(rh2id(GetRecord())).lon,1000000)/1000000) - r2i(abs(mod(GetPoint(rh2id(GetRecord())).lon,1000000)/1000000)*60)/60)*3600,"00.00")+'" '+(if r2i(GetPoint(rh2id(GetRecord())).lon/1000000) > 0 then "E" else "W")
Latitude
r2s(abs(r2i(GetPoint(rh2id(GetRecord())).lat/1000000)))+"° "+i2s(r2i(abs(mod(GetPoint(rh2id(GetRecord())).lat,1000000)/1000000)*60))+"' "+format((abs(mod(GetPoint(rh2id(GetRecord())).lat,1000000)/1000000) - r2i(abs(mod(GetPoint(rh2id(GetRecord())).lat,1000000)/1000000)*60)/60)*3600,"00.00")+'" '+(if r2i(GetPoint(rh2id(GetRecord())).lat/1000000) > 0 then "N" else "S")