some small problems
fingeradmin replied the topic: some small problems
- fingeradmin
- Offline
- Posts: 249
- Thank you received: 44
Well, the basic guideline is that the gpx file for gpxTRACKmap should contain a *TRACK* - as defined in the specification
here
. So there should be a <trk> tag in there, not just <wpt>'s.
(On the other hand - now that the plugin can handle waypoints, it may make sense to handle gpx files that *only* contain waypoints, like yours - i just hadn't thought of that before.)
Btw. the
specification for waypoints (<wpt> tags)
states the description should really be in a <desc> tag, not <description> - but nevermind, now the plugin will handle both versions...
cheers, Frank
Please Log in or Create an account to join the conversation.
sergio replied the topic: some small problems
- sergio
- Topic Author
- Offline
- Posts: 48
- Thank you received: 1
I understand very well
the first track : it's two waypoints gpx format track (with "Land")
=> would be most useful to know the basic guidelines
Please Log in or Create an account to join the conversation.
fingeradmin replied the topic: some small problems
- fingeradmin
- Offline
- Posts: 249
- Thank you received: 44
Hi Sergio,
no surprise that the first track doesn't work - it is no track, just two waypoints. I'll see if i can catch the errors in that case, though.
P.S. as a general note: i don't think the plugin will ever be able to correctly handle ALL variations of ANY gpx file made with ANY device/software, because there's just to many different (sub-)formats of gpx files out there. I can only try to make it as compatible as possible...
cheers, Frank
Please Log in or Create an account to join the conversation.
sergio replied the topic: some small problems
- sergio
- Topic Author
- Offline
- Posts: 48
- Thank you received: 1
=> I see this track with the waypoint but not the description
=> and new errors
=> this two tracks works
Please Log in or Create an account to join the conversation.
sergio replied the topic: some small problems
- sergio
- Topic Author
- Offline
- Posts: 48
- Thank you received: 1
no error with the new version
I spend a track with waypoint later
Please Log in or Create an account to join the conversation.
fingeradmin replied the topic: some small problems
- fingeradmin
- Offline
- Posts: 249
- Thank you received: 44
Hi Sergio,
could you test with the attached version?
I've changed it so that the plugin will look for a <desc> tag, and if it doesn't find one it will look for <description>. So that should work with your file, to. I also added code to escape " with \" (that was causing problems otherwise).
P.S. you need to add "http://" in front of the link in your example, then it should work
cheers, Frank
Please Log in or Create an account to join the conversation.