On the project page the screen shoot appears to show the tracks end point. How do you get the stop, start, (beginning, end points) with this module?

Thanks.

Comments

slcp’s picture

Are you referring to map markers? If so, they should be output as default when using Trackfield Map...

Or are you looking to pull these out as location data?

hampshire’s picture

I was looking for location data.

slcp’s picture

Trackfield does not provide this functionality at present...Trackfield can use track data to set the nodes location but currently uses the midpoint of the track.

From trackfield.module

/*
 * If the location module is in use...
 * ... and number of locations per node of this type > 0...
 * ... and this widget is configured to take location from:
 * 
 * If we have been given longitude/latitude (which implies
 * distance should also be here).
 *
 * Then calculate which point closest to the centre of the
 * track and save this point for later use as node location.
 */

/* TODO: make path point configurable */

One way to do it would be to patch the process referred to above.

Another would be to add some custom stat ops to the Track Stats module that takes latitude, longitude as arguments then the Stat field could pull out the relevant lat/lon pairs.

hampshire’s picture

Category: support » feature

Thank you for the info. Looked it over a bit and wasn't sure how to go about doing this but I suspect eventually someone will come along who needs this, and perhaps start and end times as well and knows how to do the custom stats option. Anyway, thanks again.