[OSM-talk] potlatch and gps data with no time stamp

Richard Fairhurst richard at systemeD.net
Tue Jun 26 14:54:39 BST 2007


Nicola Ranaldo wrote:

> I uploaded a gpx trace with no valid time stamp (unix epoch).
> In potlatch this is not handled correctly (zigzag lines).
> Can it be fixed?

Potlatch uses the timestamps to order the points so it can draw lines  
between them. The OSM db doesn't have any other fields to store the  
order of the points.

If you're "faking" timestamps, set them to

- point 1: epoch
- point 2: epoch+1
- point 3: epoch+2
- point 4: epoch+3
- etc.

cheers
Richard





More information about the talk mailing list