[OSM-dev] Basic GPX parser in OpenLayers

Christopher Schmidt crschmidt at metacarta.com
Thu Oct 18 14:36:33 BST 2007


I just put together a basic GPX Parser for OpenLayers: it does track
segments only, and is very limited. 

You can try it at:

http://dev.openlayers.org/sandbox/crschmidt/osm/examples/vector-formats.html

Select GPX from the dropdown, paste in a GPX doc, and hit the submit
button.

I have tried and confirmed it works with the following traces (at least
minimally):

http://www.openstreetmap.org/user/crschmidt/traces/45460
http://www.openstreetmap.org/user/roses/traces/45478

I don't know if this will make it into OpenLayers 2.6 -- if you have an
interest in seeing this in OpenLayers, expressing that interest now
would be a good way to encourage me :)

Regards,
-- 
Christopher Schmidt
MetaCarta




More information about the dev mailing list