Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've got many GPX files in the following format:

<?xml version="1.0" encoding="utf-8"?>
<gpx xmlns:xsi="" xmlns:xsd="" version="1.1" creator="c174a4ce-d611-43ef-b4d9-e4122bc8f2a4" xmlns="">
    <name>Withens Clough, Cragg Vale and Stoodley Pike</name>
    <rtept lat="53.705918666306154" lon="-2.02137437495311">
    <rtept lat="53.705457119907116" lon="-2.0253609418514311">

I use this is a website to generate a route using OS Openspace maps. However, this doesn't create an elevation profile.

Is there a web service or something I can run on my web server that can generate GPX elevation graphs for embedding into webpages? My web server runs PHP.

I've found plenty of Google map ones but don't need the map, just the graph, but in the implementations I've looked at it seems like one depends on the other and don't want to compromise loading times by including two maps or remove the OS maps which are a lot better, in my view.

share|improve this question

I found a nice OpenSpace Example with Elevation graph displayed that uploads gpx files for anywhere in the UK and displays the Elevation.

Altitude data from GeoNames

(its worth looking a the code and contacting the author via the feedback form)

share|improve this answer
Wow, that's a very nice implementation indeed, just what I'm after. I'd been playing with the OS's own 'panorama' data but I'll have a good look at what has been done on that site with different data. Great. Thanks! – Scott Brown Dec 7 '12 at 15:10
panorama is not updated any more 'Update frequency: Unmaintained.'… it is not complete in mountainous areas either. – Mapperz Dec 7 '12 at 15:39

Your Answer


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.