Hello I want to convert Garmin .gpx files to favorits.xml so my waypoints show up in My Places. I have had contact to the GPSBabel forum and the GPSBabel program maybe can make this conversion if I can find out the format of lat and lon in the favorits.xml file.
What is the net and datum of lat and lon in the favorits.xml file?
A waypoint looks like this in the favorits.xml file:
the same waypoint looks like this in Garmin .gps files:
A waypoint looks like this in the favorits.xml file: item lat="204635168" lon="32644224" name="Fur P, Fur" the same waypoint looks like this in Garmin .gps files: wpt lat="56.837208643555641" lon="8.996131885796785"
The waypoints in favourites.xml are store in a format called 'milliarcseconds' while Garmin use degrees and decimals!
A milliarcsecond is one thousandth of a second of which there are 60 to the minute and 60 minutes to a degree. So the sum is Garmin degrees x 3600000 (60X60x1000) and ignore any decimals.
I use an Excel spreadsheet with a formula to create the appropriate xml item entry. You must of course remember to include the '<' and '/> to ensure that your xml file remains well formed!
I have looked in Garmin Basecamps net and datum formats for displaying waypoints coordinates but I cannot find miliarcseconds under that name in the very large list of formats.
And I am not sure that I understand the calculation. The following waypoints should be the same as the garmin .gpx file have been imported with Mapexplorer ( “Digger” ) and then added to favourites.
Hello Now I understand, I have made a fault when copying and pasting the waypoints. The following waypoints should be the same as the .gpx file has been imported with Mapexplorer and added to favourites.
The converting made by MapExplorer and this calculation are not exactly the same. I guess that the number of digits used in MapExplorer and the number of digits used in above example are not the same? Anyone who knows why I am not getting the exactly same numbers?
It would have been nice if MapExplorer/digger could write to favourites.xml or Navigator could read a .gpx file.