Biểu trưng OpenStreetMap OpenStreetMap

Annotating GPX track file with <link> tags for jpg/wav surveying

Do ChrisB đăng vào 23 tháng 11 năm 2008 bằng English. Cập nhật lần cuối cùng vào 01 tháng 12 năm 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

Biểu tượng thư điện tử Biểu tượng Bluesky Biểu tượng Facebook Biểu tượng LinkedIn Biểu tượng Mastodon Biểu tượng Telegram Biểu tượng X

Thảo luận

Bình luận của lindi vào 1 tháng 12 năm 2008 lúc 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 osm.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

Bình luận của ChrisB vào 1 tháng 12 năm 2008 lúc 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.

Đăng nhập để nhận xét