1

I have a GPX file with my waypoints.

<?xml version="1.0" encoding="UTF-8"?>
<gpx version="1.0">
    <name>My Favorites</name>
    <wpt lat="-26.7183013" lon="-54.8139346">
        <ele>1</ele>
        <name>F1</name>
    </wpt>
    <wpt lat="-26.7099827" lon="-54.8201895">
        <ele>2</ele>
        <name>F2</name>
    </wpt>
    <wpt lat="-26.6907555" lon="-54.8205221">
        <ele>3</ele>
        <name>F3</name>
    </wpt>
</gpx>

Now I want to display them on the OpenStreetMap map.

How can I do this?

I can only drag the file on thr website when in edit mode and even then I do not see them.

Related: osm-personal-points-of-interest

1

2 Answers 2

1

Assuming that you understand German, you can use my Openlayers solution to display GPX tracks and waypoints on top of OSM or other tiles:

http://wiki.openstreetmap.org/wiki/User:Ajoessen/Osmviewer_und_GPXviewer

EDIT

Removed the files since they don't work anymore with modern browsers.

7
  • I tried it but it did not show anything. Surely I am doing something wrong since I have no idea about all that. I downloaded the GPXViewer and run my modified GPXCopy.bat, but nothing happened. Is my GPX in the correct format.
    – juergen d
    Aug 11, 2013 at 12:03
  • There is a track.gpx of mine in the zip which should appear when you run gpxviewer.htm. Javascript should be enabled. Firefox and most other browsers have a error console which should tell you why the js code does not run as expected. Your GPX data works for me.
    – AndreJ
    Aug 11, 2013 at 12:46
  • Did not work in Chrome, but does in Firefox. I also had to rename my GPX file to track.gpx.
    – juergen d
    Aug 11, 2013 at 14:58
  • Can I easily make it display all the names of my waypoints in the map? I can only see the point without any name. Only if I click on it a bulb appears.
    – juergen d
    Aug 11, 2013 at 15:08
  • 1
    The renaming should have done by the GPXCopy.bat. For the labelling: I did not want that, the map would be overcrowded with labels. But you can have that with Viking, QGIS and QLandkarte GT.
    – AndreJ
    Aug 11, 2013 at 16:02
0

You could try uMap.

It will let you upload a GPX file of waypoints, and can display them on a range of OSM based maps. You can then share this map, or embed it on your website.

1
  • Thanks for the reply but I especially do not want to share the map online.
    – juergen d
    Aug 11, 2013 at 17:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.