Last change
on this file was 17429, checked in by GerdP, 4 years ago |
fix #20325: Update Multipolygon removes tags instead of moving them to relation
- rewrite handling of update multipolygon cases
- let
removeTagsFromWaysIfNeeded() check if getDataset() returns null instead of checking isNew() . I assume it was always meant to work like this. JoinAreasAction works fine with that and I hope no plugin relies on the old behaviour.
- add regression unit test and more unit tests to improve coverage
|
File size:
1.5 KB
|
Line | |
---|
1 | <?xml version='1.0' encoding='UTF-8'?>
|
---|
2 | <osm version='0.6' generator='JOSM'>
|
---|
3 | <node id='-102136' action='modify' visible='true' lat='52.91478453426' lon='7.37305786475' />
|
---|
4 | <node id='-102137' action='modify' visible='true' lat='52.91482655699' lon='7.37464273943' />
|
---|
5 | <node id='-102138' action='modify' visible='true' lat='52.91414612911' lon='7.37469235649' />
|
---|
6 | <node id='-102153' action='modify' visible='true' lat='52.91410410571' lon='7.37310748181' />
|
---|
7 | <node id='-102154' action='modify' visible='true' lat='52.91456184987' lon='7.37352751281' />
|
---|
8 | <node id='-102155' action='modify' visible='true' lat='52.91457813062' lon='7.37412847678' />
|
---|
9 | <node id='-102156' action='modify' visible='true' lat='52.91436792941' lon='7.37414413774' />
|
---|
10 | <node id='-102157' action='modify' visible='true' lat='52.91435164858' lon='7.37354317376' />
|
---|
11 | <way id='-103539' action='modify' visible='true'>
|
---|
12 | <nd ref='-102136' />
|
---|
13 | <nd ref='-102137' />
|
---|
14 | <nd ref='-102138' />
|
---|
15 | <nd ref='-102153' />
|
---|
16 | <nd ref='-102136' />
|
---|
17 | </way>
|
---|
18 | <way id='-103736' action='modify' visible='true'>
|
---|
19 | <nd ref='-102154' />
|
---|
20 | <nd ref='-102155' />
|
---|
21 | <nd ref='-102156' />
|
---|
22 | <nd ref='-102157' />
|
---|
23 | <nd ref='-102154' />
|
---|
24 | </way>
|
---|
25 | <relation id='-99776' action='modify' visible='true'>
|
---|
26 | <member type='way' ref='-103539' role='outer' />
|
---|
27 | <member type='way' ref='-103736' role='inner' />
|
---|
28 | <tag k='building' v='yes' />
|
---|
29 | <tag k='type' v='multipolygon' />
|
---|
30 | </relation>
|
---|
31 | </osm>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.