Opened 16 years ago
Closed 16 years ago
#1872 closed enhancement (fixed)
[patch] Offer two "Draw lines between raw GPS points" preferences depending on whether the data comes from OSM or not
Reported by: | Owned by: | framm | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Core | Version: | latest |
Keywords: | Cc: |
Description
In Preferences -> Display settings -> GPS points there's a sub-setting to "Draw lines between raw GPS points" which enables the user to select the maximum distance between two points so that lines should be drawn between them.
This is useful when downloading GPS tracks from OSM as they don't contain enough information to distinguish multiple tracks, however when working with local GPX tracks which have no ambiguity as to what sequence points are in and which of many GPX tracks they belong one ends up setting the value to -1, only to set it to say 500 to use OSM GPS data again.
The preference should be split into two, one value which applies to normal GPX data and one value to apply to OSM GPX data.
Attachments (5)
Change History (12)
comment:1 by , 16 years ago
Type: | defect → enhancement |
---|
follow-up: 3 comment:2 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
follow-up: 4 comment:3 by , 16 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Replying to anonymous:
In r1396 the server layer now has an undividual name. Settings can be applied to that name via right click on layer name.
No, being able to bring up the "Customize line drawing" dialog for downloaded GPS points from the API doesn't help with this issue, so I'm reopening it.
I initially initially reported this issue because there's no way to have separate "Maximum length (meters)" for local data - which (usually) contains track and trackpoint informations - and GPS data downloaded from the API, which only has trackpoint information. This is still the case today.
I'm attaching two screenshots which demonstrate this issue. The red dots/lines are a local GPX file and blue dots/lines is downloaded GPX data from the API.
- JOSM-50m.png
- JOSM-200m.png
Here I've set "Draw lines between raw GPS points" to "All". Setting "Maximum length" to 50 works well for the API data in this case, but not for my local data as my GPS isn't logging that frequently. Setting "Maximum length" to 200 works better for the local data, but the downloaded data suffers.
- JOSM-200m-and-Custom.png
Here I'm using "Customize line drawing" to not draw lines for the downloaded data as you suggest, but this is not what I want, I want to draw lines between the downloaded data points too. But I want to use different Maximum length values for Local and Remote data.
by , 16 years ago
Attachment: | JOSM-50m.png added |
---|
Maximum length set to 50 and draw lines for All points
by , 16 years ago
Attachment: | JOSM-200m.png added |
---|
Maximum length set to 200 and draw lines for All points
by , 16 years ago
Attachment: | JOSM-200m-and-Custom.png added |
---|
Maximum length set to 200 and draw lines for All points, but with custom settings for the downloaded layer
comment:4 by , 16 years ago
Replying to avar:
I initially initially reported this issue because there's no way to have separate "Maximum length (meters)" for local data - which (usually) contains track and trackpoint informations - and GPS data downloaded from the API, which only has trackpoint information.
The attached patch implements this.
by , 16 years ago
Attachment: | drawRawGpsMaxLineLengthLocal.patch added |
---|
Adds a new field to "GPS points" preferences for maximum length line drawing for local files
comment:5 by , 16 years ago
Summary: | Offer two "Draw lines between raw GPS points" preferences depending on whether the data comes from OSM or not → [patch] Offer two "Draw lines between raw GPS points" preferences depending on whether the data comes from OSM or not |
---|
by , 16 years ago
Attachment: | drawRawGpsMaxLineLengthLocal-200m.patch added |
---|
Same patch, but set "Maximum length" for non-local files to a default of 200 meters
comment:6 by , 16 years ago
I've attached attachment:drawRawGpsMaxLineLengthLocal-200m.patch as an alternate patch. It changes the default line drawing length for "All" files to 200 meters while leaving the default for local files at -1.
This will probably make things less confusing for newbies that turn on line drawing and download GPS data from the API as straight lines won't be drawn criss-cross across the map view in most cases.
In r1396 the server layer now has an undividual name. Settings can be applied to that name via right click on layer name.