Annotating GPX track file with <link> tags for jpg/wav surveying
Posted by ChrisB on 23 November 2008 in English. Last updated on 1 December 2008.For some reason josm doesn't support multiple audio notes, so here's a Python script that will annotate a GPX track with your jpg and wav surveying notes. Note you'll need to run josm with the patch to allow it to load GPX files with namespaces.
Including the code here in <pre> tags messed up the formatting so try: gps-fix-gpx-links
Discussion
Comment from lindi on 1 December 2008 at 11:59
Sounds useful but could you post a Base64-encoded version? I can not figure out how to copy the script to file without breaking indentation. Maybe this has something to do with the validator errors
*** Errors validating http://www.openstreetmap.org/user/ChrisB/diary/4143:
***
Error at line 21, character 8: document type does not allow element "pre"
here; missing one of "object", "applet", "map", "iframe", "button",
"ins", "del" start-tag
Error at line 31, character 103: end tag for "pre" omitted, but OMITTAG NO
was specified
Line 21, character 4: start tag was here
Error at line 90, character 12: end tag for element "pre" which is not
open
Comment from ChrisB on 1 December 2008 at 15:02
I have uploaded the script to another site - mediafire - I have never used this site before but it looks like you should be able to download the script from there easily enough.