Closed (fixed)
Project:
GMap Module
Version:
4.6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
23 Oct 2005 at 16:12 UTC
Updated:
8 Feb 2013 at 17:00 UTC
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
Comment #1
webgeer commentedCan you send an example of a .plt file so I can see what format they are in.
Thanks
Comment #2
webgeer commentedThanks,
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.
Comment #3
jhartman commentedBecause 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 :)
Comment #4
webgeer commentedThis 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.
Comment #5
webgeer commentedI have now tested this and it seems to work.