News:

Plan-G has over 1700 followers on FACEBOOK! Click HERE and add your support

Main Menu

Waypoints

Started by aadnelie, January 10, 2010, 11:20:54 AM

Previous topic - Next topic

aadnelie

Hello you. I have a problem to create new waypoints. I only get read field when trying. I have red the manual, but I still get errors.

Here is the waypoints in Norway I want create!

Skude
N59'09.0
E005'12.3

Or
Arendal
N58 27' 37"
E008 46' 00"

I have much shorter Latitude and longtitude then numbers in Plan-G has.

Ådne

tim arnot

You can get pretty close by zooming in on the map, then right-click on the nearest spot, and select Create User Waypoint.

If you want to edit the lat/lon value, you will need to convert to decimal -- divide the minutes part by 60. So 59 degrees 09.0 is 59 + (9.0 / 60) = 59.15

and 5 degrees 12.3 minutes is 5 + (12.3/60) = 5.0383333

If you have degrees minutes and seconds, like your second example, divide the seconds by 60 to get the decimal minutes, and then divide minutes by 60

so 58 27 37   =  58 27.61667  = 58.460278

You can also edit the lat & lon after you've created the waypoints, from the Manage User Waypoints dialog, on the Data menu.

Tim. @TimArnot

ilovetofly

#2
Tim,
I have a little problem with one of your calculations. I agree with all in both examples except the following: 5 degrees 12.3 minutes is 5 + (12.3/60) = 5.0383333

My calculations which were confirmed on a web site recommended in this forum result in the following: 5.200083.

Also, it might be helpful to note that the calculation in the second example could be clarified a little by noting that in using a calculator the string would be:
37/60 + 27/60 + 58 = 58.460278. I was a little confused as to how it was converted until I tried adding the first divided result to the number 27 before dividing a second time.

Jim D.

P.S. This is the post that helped me to convert to decimals the Lat/Long coordinates.

Re: Attempt to add User Waypoint
« Reply #4 on: December 30, 2009, 05:18:36 AM »QuoteThere's a nice little conversion facility at http://www.fcc.gov/mb/audio/bickel/DDDMMSS-decimal.html

The core calculation in the source code is:


Quote
     decimalLatitude = Math.round(absdlat + (absmlat/60.) + (absslat/3600.) )
     decimalLongitutde = Math.round(absdlon + (absmlon/60) + (absslon/3600) )


where the deg, min and seconds have been entered separately e.g. absdlat is the absolute value of the degree component of the latitude

Ruth« Last Edit: December 30, 2009, 05:27:28 AM by RuthMcT »