Last change
on this file since 15610 was 15610, checked in by GerdP, 5 years ago |
fix #18420: Move node onto ways not working anymore
- sort result from NavigatableComponent again using higher precision
- improve handling of multiple target ways with similar distance so that the node is added to the closest segment and also to segments with almost the same position but NOT to segments further away or with a similar distance but different position.
- fix possible error when multiple nodes are selected
- use LinkedHashMap for field data to avoid random results from iterator (hope this fixes the unit test problems)
|
File size:
978 bytes
|
Rev | Line | |
---|
[15428] | 1 | <?xml version='1.0' encoding='UTF-8'?>
|
---|
| 2 | <osm version='0.6' upload='never' generator='JOSM'>
|
---|
[15610] | 3 | <node id='-117848' action='modify' lat='-21.08763547741' lon='-50.39117567184' />
|
---|
| 4 | <node id='-117850' action='modify' lat='-21.09088329715' lon='-50.38820000246' />
|
---|
| 5 | <node id='-117852' action='modify' lat='-21.09002420335' lon='-50.39142270855' />
|
---|
| 6 | <node id='-117854' action='modify' lat='-21.08836886226' lon='-50.38800911046' />
|
---|
| 7 | <node id='-117856' action='modify' lat='-21.08922243916' lon='-50.38958051884'>
|
---|
[15428] | 8 | <tag k='name' v='select me and press N' />
|
---|
| 9 | </node>
|
---|
[15610] | 10 | <node id='-117858' action='modify' lat='-21.08920644697' lon='-50.38973634946' />
|
---|
| 11 | <way id='-117859' action='modify'>
|
---|
| 12 | <nd ref='-117848' />
|
---|
| 13 | <nd ref='-117858' />
|
---|
| 14 | <nd ref='-117850' />
|
---|
[15428] | 15 | <tag k='name' v='w1' />
|
---|
| 16 | </way>
|
---|
[15610] | 17 | <way id='-117860' action='modify'>
|
---|
| 18 | <nd ref='-117852' />
|
---|
| 19 | <nd ref='-117858' />
|
---|
| 20 | <nd ref='-117854' />
|
---|
[15428] | 21 | <tag k='name' v='w2' />
|
---|
| 22 | </way>
|
---|
| 23 | </osm>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.