#673 closed defect (fixed)
draw.rawgps.max-line-length hides all GPS connection lines after a node when length between two nodes is longer than max length
Reported by: | Owned by: | framm | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Core | Version: | latest |
Keywords: | Cc: |
Description
When you set draw.rawgps.max-line-length, it can happen that only parts of a GPS track are displayed. I use a segment with the nodes m->n->o->p->... for the example here. The problem is when between the nodes m and n the length is longer than draw.rawgps.max-line-length, no connection line is displayed between those nodes (so far, so good). Now the length between the nodes n and o is shorter than the max length again, but no connection line is displayed. This problem persists for the rest of the GPS track.
I think I also found the problem in the code: Under http://josm.openstreetmap.de/browser/trunk/src/org/openstreetmap/josm/gui/layer/GpxLayer.java?rev=587#L322 it jumps into the next for iteration if the length between two nodes is longer than maxLength. In that case it does not set oldWp = trkPnt and so compares the new node always to the same old node again and again.
Attachments (0)
Change History (2)
comment:1 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 by , 16 years ago
http://www.salewroughtiron.cn installing metal stair rails Interior stair handrail installing metal stair rails Interior stair handrail exterior baluster Glass wood stainless wrought CONTEMPORARY designs stairways aluminum modern log banister DECK outdoor price posts vinyl curved rails http://www.china-made-door.com.cn door gate http://www.beijing-door.cn wrought CONTEMPORARY designs stairways installing metal stair rails Interior stair handrail exterior baluster Glass wood stainless wrought CONTEMPORARY designs stairways aluminum modern log banister DECK outdoor price posts vinyl curved rails http://www.hebei-railings.cn aluminum modern log banister DECK outdoor price installing metal stair rails Interior stair handrail exterior baluster Glass wood stainless wrought CONTEMPORARY designs stairways aluminum modern log banister DECK outdoor price posts vinyl curved rails posts vinyl curved rails
fixed in Changeset [598]