[Openstreetmap-dev] doubled trackpoints

SteveC steve at asklater.com
Sat Dec 3 03:33:47 GMT 2005


fixed

needed a 'distinct' clause in the sql...

* @ 01/12/05 07:13:10 PM immanuel.scholz at gmx.de wrote:
> I got this as trackpoints:
> 
> <gpx version='1.0' xmlns='http://www.topografix.com/GPX/1/0/gpx.xsd'>
>   <trk>
>     <trkseg>
>       <trkpt lon='11.502753333' lat='48.131303333'/>
>       <trkpt lon='11.502725' lat='48.131726667'/>
>       <trkpt lon='11.502736667' lat='48.131738333'/>
>       <trkpt lon='11.502736667' lat='48.131738333'/>
>       <trkpt lon='11.502736667' lat='48.131738333'/>
> ... (about 40 times)
>       <trkpt lon='11.502736667' lat='48.131738333'/>
>       <trkpt lon='11.502736667' lat='48.131738333'/>
>       <trkpt lon='11.50249' lat='48.131528333'/>
>       <trkpt lon='11.50249' lat='48.131528333'/>
>       <trkpt lon='11.50249' lat='48.131528333'/>
> ... (again, about 100 times)
> 
> 
> and so on.. Maybe the script that imports the trackpoints should skip
> already uploaded ones? If doubled trackpoints are the intention, then at
> least the select statement in trackpoints.rb should include a
> "distinct".
> 
> Or is there a reason to transfer the same point over and over again?
> (Maybe the applet draw this extra bold, burned into the monitor ;-)
> 
> Ciao, Imi.
> 
> 
> 
> _______________________________________________
> Openstreetmap-dev mailing list
> Openstreetmap-dev at vr.ucl.ac.uk
> http://bat.vr.ucl.ac.uk/cgi-bin/mailman/listinfo/openstreetmap-dev

have fun,

SteveC steve at asklater.com http://www.asklater.com/steve/




More information about the dev mailing list