[Openstreetmap-dev] doubled trackpoints

Immanuel Scholz immanuel.scholz at gmx.de
Thu Dec 1 19:13:10 GMT 2005


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.






More information about the dev mailing list