Modify

Opened 18 years ago

Closed 18 years ago

#132 closed enhancement (wontfix)

Only draw lines between GPS points no more than X seconds/meters apart

Reported by: tim@… Owned by: imi
Priority: minor Milestone:
Component: Core Version:
Keywords: Cc: t.i.m@…

Description

Problem: some of the raw GPS data points imported from the OSM database are spaced so far apart that connecting them with lines is unhelpful in certain situations and messes up the display.

Example: when I'm editing a city centre map and someone uploaded data points spaced apart 60 seconds, I'll get hundreds of straight lines cutting through the entire city. This means I have to either switch off the line drawing between gps points altogether or hide all GPS points downloaded from the database. Both don't seem ideal.

It would be great if OSM had an option like

'Draw lines between GPS points only if they are less than N meters apart'

or something like that.

I'll attach an example screenshot with only a handful lines cutting across so you see what I mean. If the area being edited is a bit larger, you easily get hundreds of these lines cluttering the entire display.

Attachments (0)

Change History (6)

comment:1 by tim@…, 18 years ago

I get "The connection to the server was reset while the page was loading" whenever I try to add an attachement, so I've put the screenshot here:

http://people.freedesktop.org/~tpm/josm-lines.jpg

comment:2 by imi, 18 years ago

Resolution: worksforme
Status: newclosed

There is either an perl script to preprocess your gpx file (doing much more stuff, but also it is possible of splitting after some time and/or space).

The other way is to look whether your gps receivers has the option to end the current trac and start a new one in the trackfile (gpx supports multiple tracks).

Both ways work excellent with JOSM ;-)

in reply to:  description comment:3 by anonymous, 18 years ago

Replying to tim@centricular.net:

You can try http://www.gpsbabel.org/ to filter invalid records

in reply to:  2 ; comment:4 by anonymous, 18 years ago

Cc: t.i.m@… added
Resolution: worksforme
Status: closedreopened

Replying to imi:

There is either an perl script to preprocess your gpx file (doing much more stuff, but also it is possible of splitting after some time and/or space).

The other way is to look whether your gps receivers has the option to end the current trac and start a new one in the trackfile (gpx supports multiple tracks).

Both ways work excellent with JOSM ;-)

This is not a problem with my own data. I know I can fix/filter/ignore my own data. The problem is with GPS points downloaded from the OSM server. (Hope you don't mind if I re-open this.)

in reply to:  4 comment:5 by imi, 18 years ago

This is not a problem with my own data. I know I can fix/filter/ignore my own data. The problem is with GPS points downloaded from the OSM server. (Hope you don't mind if I re-open this.)

JOSM does not support the conversion of GPS points downloaded from the server. This is because they are coming in any arbitrary order (mostly, but not always, they are in the order of the original track. But that is random).

Just don't convert data from GPS points downloaded from the server.

Oh, and please reopen any of the bugs as often as you have stuff to add ;-) (That is, if you add stuff to closed bugs, I will probably never notice)

comment:6 by imi, 18 years ago

Resolution: wontfix
Status: reopenedclosed

As it stands now, I have no intention to try to sort GPS points coming via the API's trackpoint call. They are just points in any arbitrary order.

So drawing any lines between them do not make sense.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain imi.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.