× Forum for the GPXTrackMap Content Plugin for Joomla! 2.5 and 3.x

some small problems

fingeradmin replied the topic: some small problems

11 years 7 months ago

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

11 years 7 months ago

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

Last edit: 11 years 7 months ago by sergio.

Please Log in or Create an account to join the conversation.

fingeradmin replied the topic: some small problems

11 years 7 months ago

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

11 years 7 months ago

=> I see this track with the waypoint but not the description


File Attachment:

File Name: test-waypo...oint.zip
File Size:1 KB



=> and new errors




=> this two tracks works


File Attachment:

File Name: test-waypo...race.zip
File Size:1 KB



File Attachment:

File Name: test-waypo...oute.zip
File Size:1 KB

Attachments:
Last edit: 11 years 7 months ago by sergio.

Please Log in or Create an account to join the conversation.

sergio replied the topic: some small problems

11 years 7 months ago

no error with the new version :)

I spend a track with waypoint later

Last edit: 11 years 7 months ago by sergio.

Please Log in or Create an account to join the conversation.

fingeradmin replied the topic: some small problems

11 years 7 months ago

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

Attachments:

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum