On Fri, Mar 28, 2008 at 5:37 PM, Andy Robinson (blackadder) < [EMAIL PROTECTED]> wrote:
> Frederik Ramm wrote: > >Sent: 28 March 2008 5:10 PM > >To: Raphael Mack > >Cc: talk@openstreetmap.org > >Subject: Re: [OSM-talk] JOSM update / why does API return GPS points in > >descending order? > > > >Hi, > > > >> mh, I guess this cannot be fixed in josm, since the the server returns > >the > >> stored gps points in arbitrary order. I would even suggest not to draw > >any > >> direction arrows for gps data from the server. > > > >But they can't be too arbitrary since drawing lines in between the > >points would reveal a completely chaotic picture otherwise. I think > >David Earl is right about sorting by timestamp since this is what's in > >the API source: > > And since its rare for two people to have the same time period for the > same > area by chance it generally works (just back to front). But of course that > cant be guaranteed, especially if the area is large. > It would happen though when there's been a mapping party. > > Cheers > > Andy > > > > >points = Tracepoint.find_by_area(min_lat, min_lon, max_lat, max_lon, > >:offset => offset, :limit => TRACEPOINTS_PER_PAGE, :order => "timestamp > >DESC" ) > > > >... and the "DESC" nicely explains the observation that all arrows are > >in the wrong direction! I wonder why it is there. TomH? > > > >Bye > >Frederik > > > >_______________________________________________ > >talk mailing list > >talk@openstreetmap.org > >http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk > > > _______________________________________________ > talk mailing list > talk@openstreetmap.org > http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk >
_______________________________________________ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk