It would be nice to have new tag like TRACK=. It will allow to visualise tracks generated by GPS with raster from gmap.

Theoretically - now it's possible using tag LINE1=
but this track must be converted from *.plt file into LINE1=<1st point> + <2nd point> + .... + manually before inserting macro.

Requested feature will be really usefull.

Comments

webgeer’s picture

Can you send an example of a .plt file so I can see what format they are in.

Thanks

webgeer’s picture

Assigned: Unassigned » webgeer

Thanks,

One thing I'm trying to decide is whether it is better to parse the file once and insert it into the macro or whether it is better to leave it as a file and parse it every time it is displayed.

A third option could be to parse and put into a database as I had originally planned for large complicated paths.

I doubt I will get a chance to work on this for about 2 weeks...sorry.

jhartman’s picture

Because I need this feature urgently I've implemented it in fastest way. Updated gmap.module you can find here: http://jhartman.webd.pl/files/tracks/gmap.zip . How it's working: http://jhartman.webd.pl/?q=node/12

Short description of syntax: if you'd like to visualise your track from OziExplorer in format *.plt you should add tag track[1..3]=[track_filename], e.g. track3=files/tracks/track.plt.

More informations about .plt files: http://oziphototool.alistairdickie.com/fileformats.html
As you can see - it's possible to save not only tracks (with various parameters) but also waypoints. ToDo: visalisation of waypoints from Ozi files :)

webgeer’s picture

This is now sort of included in the most recent version. However, as I have not yet had time to find a track file and test this feature it is still un-tested. I will try and do that soon, but I thought I would let this out there, so that perhaps others may try it. I should probably also try to integrate it better with the drupal file handling.

webgeer’s picture

Status: Active » Closed (fixed)

I have now tested this and it seems to work.