source: josm/trunk/test/data/orthogonalize.osm@ 9944

Last change on this file since 9944 was 9925, checked in by simon04, 9 years ago

see #6401 - Orthogonalize objects based on selected nodes

This is done by assembling a virtual way from the selected nodes. This is sensitive to the selection order.

File size: 4.1 KB
Line 
1<?xml version='1.0' encoding='UTF-8'?>
2<osm version='0.6' upload='false' generator='JOSM'>
3 <node id='-164' action='modify' visible='true' lat='8.53882631502' lon='55.72982273659' />
4 <node id='-166' action='modify' visible='true' lat='8.53692765033' lon='55.73148512506' />
5 <node id='-168' action='modify' visible='true' lat='8.53901816563' lon='55.7313279173' />
6 <node id='-170' action='modify' visible='true' lat='8.53673579867' lon='55.72997994436' />
7 <node id='-172' action='modify' visible='true' lat='8.53609408724' lon='55.73073587955' />
8 <node id='-174' action='modify' visible='true' lat='8.5381846071' lon='55.73057867179' />
9 <node id='-176' action='modify' visible='true' lat='8.534711427' lon='55.73000670312'>
10 <tag k='entrance' v='yes' />
11 <tag k='name' v='ClosedWayWithReferenceNodes' />
12 </node>
13 <node id='-178' action='modify' visible='true' lat='8.53545899034' lon='55.7305284991' />
14 <node id='-180' action='modify' visible='true' lat='8.5395738703' lon='55.73034453257' />
15 <node id='-182' action='modify' visible='true' lat='8.53490327967' lon='55.73151188383' />
16 <node id='-184' action='modify' visible='true' lat='8.53748335805' lon='55.73050174033' />
17 <node id='-186' action='modify' visible='true' lat='8.53406971216' lon='55.73076263832'>
18 <tag k='entrance' v='yes' />
19 <tag k='name' v='ClosedWayWithReferenceNodes' />
20 </node>
21 <node id='-188' action='modify' visible='true' lat='8.53273196095' lon='55.72987441027'>
22 <tag k='entrance' v='yes' />
23 <tag k='name' v='NodeToRectify-01' />
24 </node>
25 <node id='-190' action='modify' visible='true' lat='8.53347952816' lon='55.73039620625'>
26 <tag k='entrance' v='yes' />
27 <tag k='name' v='NodeToRectify-02' />
28 </node>
29 <node id='-192' action='modify' visible='true' lat='8.53292381462' lon='55.73137959098'>
30 <tag k='entrance' v='yes' />
31 <tag k='name' v='NodeToRectify-03' />
32 </node>
33 <node id='-194' action='modify' visible='true' lat='8.53209024278' lon='55.73063034547'>
34 <tag k='entrance' v='yes' />
35 <tag k='name' v='NodeToRectify-04' />
36 </node>
37 <node id='-196' action='modify' visible='true' lat='8.53332193268' lon='55.73067508568' />
38 <node id='-198' action='modify' visible='true' lat='8.53308888534' lon='55.73108748376' />
39 <node id='-200' action='modify' visible='true' lat='8.53317579063' lon='55.73111687863' />
40 <node id='-202' action='modify' visible='true' lat='8.53326720503' lon='55.73111040645' />
41 <node id='-204' action='modify' visible='true' lat='8.53334921153' lon='55.73106905258' />
42 <node id='-206' action='modify' visible='true' lat='8.5334093254' lon='55.73099911274' />
43 <node id='-208' action='modify' visible='true' lat='8.53343839484' lon='55.73091123466' />
44 <node id='-210' action='modify' visible='true' lat='8.53343199432' lon='55.73081879697' />
45 <node id='-212' action='modify' visible='true' lat='8.53339109825' lon='55.73073587248' />
46 <way id='-214' action='modify' visible='true'>
47 <nd ref='-164' />
48 <nd ref='-180' />
49 <nd ref='-168' />
50 <nd ref='-174' />
51 <nd ref='-164' />
52 <tag k='building' v='yes' />
53 <tag k='name' v='ClosedWay' />
54 </way>
55 <way id='-216' action='modify' visible='true'>
56 <nd ref='-170' />
57 <nd ref='-184' />
58 <nd ref='-166' />
59 <tag k='building' v='yes' />
60 <tag k='name' v='TwoWaysFormingClosedWay' />
61 </way>
62 <way id='-218' action='modify' visible='true'>
63 <nd ref='-176' />
64 <nd ref='-178' />
65 <nd ref='-182' />
66 <nd ref='-186' />
67 <nd ref='-176' />
68 <tag k='building' v='yes' />
69 <tag k='name' v='ClosedWayWithReferenceNodes' />
70 </way>
71 <way id='-220' action='modify' visible='true'>
72 <nd ref='-166' />
73 <nd ref='-172' />
74 <nd ref='-170' />
75 <tag k='building' v='yes' />
76 <tag k='name' v='TwoWaysFormingClosedWay' />
77 </way>
78 <way id='-222' action='modify' visible='true'>
79 <nd ref='-188' />
80 <nd ref='-190' />
81 <nd ref='-196' />
82 <nd ref='-212' />
83 <nd ref='-210' />
84 <nd ref='-208' />
85 <nd ref='-206' />
86 <nd ref='-204' />
87 <nd ref='-202' />
88 <nd ref='-200' />
89 <nd ref='-198' />
90 <nd ref='-192' />
91 <nd ref='-194' />
92 <nd ref='-188' />
93 <tag k='building' v='yes' />
94 </way>
95</osm>
Note: See TracBrowser for help on using the repository browser.