Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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

share|improve this question

migrated from superuser.com Aug 11 '13 at 1:30

This question came from our site for computer enthusiasts and power users.

2 Answers 2

up vote 1 down vote accepted

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

share|improve this answer
    
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 '13 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. –  Andre Joost Aug 11 '13 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 '13 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 '13 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. –  Andre Joost Aug 11 '13 at 16:02

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.

share|improve this answer
    
Thanks for the reply but I especially do not want to share the map online. –  juergen d Aug 11 '13 at 17:25

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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