Wrote this for the OSM crowd, but might be of interest here too. (Only took me 14 minutes total! Not that much code though, so it's not that impressive ;))
----- Forwarded message from Christopher Schmidt <[EMAIL PROTECTED]> ----- From: Christopher Schmidt <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Date: Thu, 18 Oct 2007 09:36:33 -0400 Subject: [OSM-dev] Basic GPX parser in OpenLayers 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 _______________________________________________ dev mailing list [EMAIL PROTECTED] http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev ----- End forwarded message ----- -- Christopher Schmidt MetaCarta _______________________________________________ Dev mailing list [email protected] http://openlayers.org/mailman/listinfo/dev
