-
Notifications
You must be signed in to change notification settings - Fork 0
/
planet.xml
1025 lines (907 loc) · 49 KB
/
planet.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="UTF-8"?>
<!--
this is the planet file used in unit tests. A normal address looks like:
street=Example Street
hamlet=Oakleigh OR suburb=West Hoe Heights
latitude -36.9. slightly off means -36.902. very far off means -36
Longitude always 174.9xx where xx is the node id
in this planet, linz IDs are prefixed with L.
-->
<osm version="0.6" generator="LINZ Address Import mock data">
<bounds minlat="-48.026701" minlon="165.019045" maxlat="-32.932388" maxlon="184.227542" />
<!-- perfect -->
<node id="1" version="1" changeset="1" lat="-36.9" lon="174.901" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="1" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="ref:linz:address_id" v="70001" />
</node>
<!-- latitude off a little -->
<node id="2" version="1" changeset="1" lat="-36.902" lon="174.902" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="2" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="ref:linz:address_id" v="70002" />
</node>
<!-- location off a lot -->
<node id="3" version="1" changeset="1" lat="-36" lon="174.903" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="3" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="ref:linz:address_id" v="70003" />
</node>
<!-- house number 4A in LINZ -->
<node id="4" version="1" changeset="1" lat="-36.9" lon="174.904" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="4" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="ref:linz:address_id" v="70004" />
</node>
<!-- 4B - LINZ gazetted that it exists, but it's not in OSM yet -->
<!-- LINZ has the name as "5 Example Street", typo in OSM -->
<node id="5" version="1" changeset="1" lat="-36.9" lon="174.905" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="5" />
<tag k="addr:street" v="Example Lane" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="ref:linz:address_id" v="70005" />
</node>
<!-- LINZ has the suburb as "Oakleigh", typo in OSM -->
<node id="6" version="1" changeset="1" lat="-36.9" lon="174.906" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="6" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Yeetville" />
<tag k="ref:linz:address_id" v="70006" />
</node>
<!-- No suburb nor hamlet in OSM -->
<node id="7" version="1" changeset="1" lat="-36.9" lon="174.907" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="7" />
<tag k="addr:street" v="Example Street" />
<tag k="ref:linz:address_id" v="70007" />
</node>
<!-- no LINZ ref (should be 70008). LINZ straightforwardly has an identical entry -->
<node id="8" version="1" changeset="1" lat="-36.9" lon="174.908" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="8" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
</node>
<!-- no LINZ ref (should be 70009) also no suburb. LINZ has the correct entry -->
<node id="9" version="1" changeset="1" lat="-36.9" lon="174.909" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="9" />
<tag k="addr:street" v="Example Street" />
</node>
<!-- no LINZ ref (should be 70010). LINZ has an identical address but the suburb is different -->
<node id="10" version="1" changeset="1" lat="-36.9" lon="174.910" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="10" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Wrongville" />
</node>
<!-- no LINZ ref (should be 70011). LINZ has an identical entry but location well off -->
<node id="11" version="1" changeset="1" lat="-36" lon="174.911" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="11" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
</node>
<!-- no LINZ ref (should be 70012). LINZ has an identical entry but location slightly off -->
<node id="12" version="1" changeset="1" lat="-36.902" lon="174.912" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="12" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
</node>
<!-- 13 skipped -->
<!-- in OSM and not in LINZ -->
<node id="14" version="1" changeset="1" lat="-36.9" lon="174.914" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="14" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="ref:linz:address_id" v="70014" />
</node>
<!-- 15 obsolete and repealed -->
<!-- 16 obsolete and repealed -->
<!-- 17 obsolete and repealed -->
<!-- all correct in OSM/linz except suburb instead of hamlet -->
<node id="18" version="1" changeset="1" lat="-36.9" lon="174.918" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="18" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:suburb" v="Oakleigh" />
<tag k="ref:linz:address_id" v="70018" />
</node>
<!-- all correct in OSM/linz except hamlet instead of suburb -->
<node id="19" version="1" changeset="1" lat="-36.9" lon="174.919" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="19" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="West Hoe Heights" />
<tag k="ref:linz:address_id" v="70019" />
</node>
<!-- has linz ref of 20 (i.e. perfect) -->
<node id="20" version="1" changeset="1" lat="-36.9" lon="174.920" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="20" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="ref:linz:address_id" v="70020" />
</node>
<!-- has linz ref of 20 -->
<node id="21" version="1" changeset="1" lat="-36.9" lon="174.921" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="21" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="ref:linz:address_id" v="70020" />
</node>
<!-- has non existant linz ref -->
<node id="22" version="1" changeset="1" lat="-36.9" lon="174.922" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="22" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="ref:linz:address_id" v="oof" />
</node>
<!-- has two linz refs with semi; of No. 23A and 23B in linz. -->
<node id="23" version="1" changeset="1" lat="-36.9" lon="174.923" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="23A;23B" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="ref:linz:address_id" v="70023A;70023B" />
</node>
<!-- 24 Example Street exists twice in OSM. this one has a linz ref -->
<node id="24" version="1" changeset="1" lat="-36.9" lon="174.924" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="24" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="ref:linz:address_id" v="70024" />
</node>
<!-- 24 Example Street exists twice in OSM. this one has NO linz ref, location marginally off -->
<node id="25" version="1" changeset="1" lat="-36.902" lon="174.924" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="24" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
</node>
<!-- for consistency, 25 Example Street does not exist -->
<!-- 26 Example Street exists twice in OSM. this one has a linz ref -->
<node id="26" version="1" changeset="1" lat="-36.9" lon="174.926" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="26" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="ref:linz:address_id" v="70026" />
</node>
<!-- 26 Example Street exists twice in OSM. this one has NO linz ref, location very far off -->
<node id="27" version="1" changeset="1" lat="-36" lon="174.926" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="26" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
</node>
<!-- for consistency, 27-30 Example Street do not exist -->
<!-- on a building -->
<node id="28" version="1" changeset="1" lat="-36.9" lon="174.931" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z" />
<node id="29" version="1" changeset="1" lat="-36.901" lon="174.931" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z" />
<node id="30" version="1" changeset="1" lat="-36.9" lon="174.9315" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z" />
<!-- THE WAY (31) IS DEFINED AT THE END OF THE FILE -->
<!-- for consistency, 32-34 Example Street do not exist -->
<!-- on a building, not in LINZ so it will be deleted -->
<node id="32" version="1" changeset="1" lat="-36.9" lon="174.935" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z" />
<node id="33" version="1" changeset="1" lat="-36.901" lon="174.935" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z" />
<node id="34" version="1" changeset="1" lat="-36.9" lon="174.9355" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z" />
<!-- THE WAY (35) IS DEFINED AT THE END OF THE FILE -->
<!-- node with name= not in LINZ so it will be deleted -->
<node id="36" version="1" changeset="1" lat="-36.9" lon="174.936" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="name" v="Challenge House" />
<tag k="addr:housenumber" v="36" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="ref:linz:address_id" v="70036" />
</node>
<!-- node with shop= not in LINZ so it will be deleted -->
<node id="37" version="1" changeset="1" lat="-36.9" lon="174.937" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="shop" v="alcohol" />
<tag k="addr:housenumber" v="37" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="ref:linz:address_id" v="70037" />
</node>
<!-- node with craft= not in LINZ so it will be deleted -->
<node id="38" version="1" changeset="1" lat="-36.9" lon="174.938" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="craft" v="rigger" />
<tag k="addr:housenumber" v="38" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="ref:linz:address_id" v="70038" />
</node>
<!-- delete/re-create: 70039old in OSM & delete list. 70039new in linz add list. 70039old == 70039new except for ID -->
<node id="39" version="1" changeset="1" lat="-36.9" lon="174.939" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="39" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="ref:linz:address_id" v="70039old" />
</node>
<!-- location off a lot but has a recent check_date -->
<node id="40" version="1" changeset="1" lat="-36" lon="174.940" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="check_date" v="2027-06-06" />
<tag k="addr:housenumber" v="40" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="ref:linz:address_id" v="70040" />
</node>
<!-- street name wrong but has a recent check_date -->
<node id="41" version="1" changeset="1" lat="-36.9" lon="174.941" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="check_date" v="2027-06-06" />
<tag k="addr:housenumber" v="41" />
<tag k="addr:street" v="Example Lane" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="ref:linz:address_id" v="70041" />
</node>
<!-- location off a lot but has a non-recent check_date -->
<node id="42" version="1" changeset="1" lat="-36" lon="174.942" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="check_date" v="2009-09-09" />
<tag k="addr:housenumber" v="42" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="ref:linz:address_id" v="70042" />
</node>
<!-- street name wrong but has a non-recent check_date -->
<node id="43" version="1" changeset="1" lat="-36.9" lon="174.943" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="check_date" v="2009-09-09" />
<tag k="addr:housenumber" v="43" />
<tag k="addr:street" v="Example Lane" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="ref:linz:address_id" v="70043" />
</node>
<!-- has hamlet and suburb. same value. hamlet correct -->
<node id="44" version="1" changeset="1" lat="-36.9" lon="174.944" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="44" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="addr:suburb" v="Oakleigh" />
<tag k="ref:linz:address_id" v="70044" />
</node>
<!-- has hamlet and suburb. same value. suburb correct -->
<node id="45" version="1" changeset="1" lat="-36.9" lon="174.945" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="45" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="West Hoe Heights" />
<tag k="addr:suburb" v="West Hoe Heights" />
<tag k="ref:linz:address_id" v="70045" />
</node>
<!-- has hamlet and suburb. different value. hamlet correct -->
<node id="46" version="1" changeset="1" lat="-36.9" lon="174.946" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="46" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="addr:suburb" v="West Hoe Heights" />
<tag k="ref:linz:address_id" v="70046" />
</node>
<!-- has hamlet and suburb. different value. suburb correct -->
<node id="47" version="1" changeset="1" lat="-36.9" lon="174.947" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="47" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="addr:suburb" v="West Hoe Heights" />
<tag k="ref:linz:address_id" v="70047" />
</node>
<!-- random node with valid linz ref but no addr details -->
<node id="48" version="1" changeset="1" lat="-36.9" lon="174.948" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="ref:linz:address_id" v="70048" />
</node>
<!-- random node with nonexistant linz ref and no addr details -->
<node id="49" version="1" changeset="1" lat="-36.9" lon="174.949" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="ref:linz:address_id" v="70049doesntExist" />
</node>
<!-- for consistency, 50-53 Example Street do not exist -->
<!-- valid on a relation building -->
<node id="50" version="1" changeset="1" lat="-36.9" lon="174.950" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z" />
<node id="51" version="1" changeset="1" lat="-36.901" lon="174.950" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z" />
<node id="52" version="1" changeset="1" lat="-36.9" lon="174.9505" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z" />
<!-- THE WAY AND RELATION ARE DEFINED AT THE END OF THE FILE -->
<!-- multiple of the same address exist, neither have linz:ref (1) -->
<node id="55" version="1" changeset="1" lat="-36.9" lon="174.955" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="55" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
</node>
<!-- multiple of the same address exist, neither have linz:ref (2) -->
<node id="56" version="1" changeset="1" lat="-36.9" lon="174.956" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="55" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
</node>
<!-- 57 water address already exists in OSM -->
<node id="57" version="1" changeset="1" lat="-36.9" lon="174.957" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="57" />
<tag k="addr:street" v="Awaroa Inlet" />
<tag k="addr:hamlet" v="Abel Tasman National Park" />
<tag k="addr:type" v="water" />
<tag k="ref:linz:address_id" v="70057" />
</node>
<!-- 58 water address does not exist in OSM -->
<!-- 59 water address already exists in OSM but is missing addr:type=water -->
<node id="59" version="1" changeset="1" lat="-36.9" lon="174.959" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="59" />
<tag k="addr:street" v="Awaroa Inlet" />
<tag k="addr:hamlet" v="Abel Tasman National Park" />
<tag k="ref:linz:address_id" v="70059" />
</node>
<!-- 60 street address already exists in OSM but erroneously has addr:type=water -->
<node id="60" version="1" changeset="1" lat="-36.9" lon="174.960" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="60" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="addr:type" v="water" />
<tag k="ref:linz:address_id" v="70060" />
</node>
<!-- 61 linz says delete, but it has a check_date -->
<node id="61" version="1" changeset="1" lat="-36.9" lon="174.961" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="61" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="ref:linz:address_id" v="70061" />
<tag k="check_date" v="2022-02-02" />
</node>
<!-- 62 doesn't exist in OSM. it has the same suburb, but is in a different town -->
<!-- 63 doesn't exist in OSM. it has the same suburb, but is in a different town -->
<!-- 64 linz says delete, but we can't deduce which town it belongs to -->
<node id="64" version="1" changeset="1" lat="-36.9" lon="174.964" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="64" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:suburb" v="West Hoe Heights" />
<tag k="ref:linz:address_id" v="70064" />
</node>
<!-- 65 is missing from OSM, and has a macron, and is east of the antimeridian (>180deg lng) -->
<!-- 66-68 are stacked into one node in OSM. They are 66A, 66B, 66C -->
<node id="66" version="1" changeset="1" lat="-36.9" lon="174.966" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="66" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="building:flats" v="3" />
<tag k="ref:linz:address_id" v="stack(70066-70068)" />
</node>
<!-- 69-71 in a stack, but 70 deleted. So we should delete the stack and create the two addrs separately -->
<node id="69" version="1" changeset="1" lat="-36.9" lon="174.969" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="69" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="building:flats" v="3" />
<tag k="ref:linz:address_id" v="stack(70069-70071)" />
</node>
<!-- 72-75 in a stack, but 73 deleted. So we classify this as a LINZ_REF_CHANGED -->
<node id="72" version="1" changeset="1" lat="-36.9" lon="174.972" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="72" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="building:flats" v="4" />
<tag k="ref:linz:address_id" v="stack(70072-70075)" />
</node>
<!-- 76-78 in a stack, but coords are different on each one -->
<node id="76" version="1" changeset="1" lat="-36.9" lon="174.976" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="76" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="building:flats" v="3" />
<tag k="ref:linz:address_id" v="stack(70076-70078)" />
</node>
<!-- 79-81 stacked but suburb wrong -->
<node id="79" version="1" changeset="1" lat="-36.9" lon="174.979" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="79" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="The City of Ember" />
<tag k="building:flats" v="3" />
<tag k="ref:linz:address_id" v="stack(70079-70081)" />
</node>
<!-- 82-84 stacked but house number wrong -->
<node id="82" version="1" changeset="1" lat="-36.9" lon="174.982" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="82typo" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="building:flats" v="3" />
<tag k="ref:linz:address_id" v="stack(70082-70084)" />
</node>
<!-- 85-87 stacked but all stack members deleted by linz -->
<node id="85" version="1" changeset="1" lat="-36.9" lon="174.985" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="85" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="building:flats" v="3" />
<tag k="ref:linz:address_id" v="stack(70085-70087)" />
</node>
<!-- 89-91 stacked but 90 already in OSM individually. It will suggest to delete 90 and create a stack instead -->
<node id="90" version="1" changeset="1" lat="-36.9" lon="174.989" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="89B" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="ref:linz:address_id" v="70090" />
</node>
<!-- 92-95 are stacked in OSM, but LINZ says 95 should be mapped separately -->
<node id="92" version="1" changeset="1" lat="-36.9" lon="174.992" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="92" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="building:flats" v="4" />
<tag k="ref:linz:address_id" v="stack(70092-70095)" />
</node>
<!-- 96-97 and 98-99 don't exist in OSM, they are in huge hamlets that will be split into smaller sectors -->
<!-- 100-102 are mapped separated in OSM, but could be replaced with a stack in OSM -->
<node id="100" version="1" changeset="1" lat="-36.9" lon="175.100" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="100A" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="ref:linz:address_id" v="70100" />
</node>
<node id="101" version="1" changeset="1" lat="-36.9" lon="175.101" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="100B" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="ref:linz:address_id" v="70101" />
</node>
<node id="102" version="1" changeset="1" lat="-36.9" lon="175.102" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="100C" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="ref:linz:address_id" v="70102" />
</node>
<!-- 103 has no linz ref, no suburb/hamlet, and is very far off the gazetted location. So far off that we will suggest creating a new node instead -->
<node id="103" version="1" changeset="1" lat="-35" lon="175.103" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="103" />
<tag k="addr:street" v="Example Street" />
</node>
<!-- 104 mapped as a stack, but the stack is also mapped separately as 105-107 -->
<node id="104" version="1" changeset="1" lat="-36.9" lon="175.104" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="104" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="building:flats" v="3" />
<tag k="ref:linz:address_id" v="stack(70105-70107)" />
</node>
<node id="105" version="1" changeset="1" lat="-36.9" lon="175.105" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="104A" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="ref:linz:address_id" v="70105" />
</node>
<node id="106" version="1" changeset="1" lat="-36.9" lon="175.106" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="104B" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="ref:linz:address_id" v="70106" />
</node>
<node id="107" version="1" changeset="1" lat="-36.9" lon="175.107" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="104C" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="ref:linz:address_id" v="70107" />
</node>
<!-- 108 ignored by a mapper so it won't be suggested -->
<!-- 109 is spelt incorrectly in LINZ but has a mapping in the NZGB file. Not in OSM yet -->
<!-- 110 like 109 but already in OSM with the wrong spelling -->
<node id="110" version="1" changeset="1" lat="-36.9" lon="175.110" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="110" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Opotiki" />
<tag k="ref:linz:address_id" v="70110" />
</node>
<!-- 111-113 stacked but building:flats tag is missing -->
<node id="111" version="1" changeset="1" lat="-36.9" lon="175.111" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="111" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="ref:linz:address_id" v="stack(70111-70113)" />
</node>
<!-- 114-116 but building:flats tag is wrong -->
<node id="114" version="1" changeset="1" lat="-36.9" lon="175.114" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="114" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="building:flats" v="123" />
<tag k="ref:linz:address_id" v="stack(70114-70116)" />
</node>
<!-- 117 is not a stack, but it erroneously has a building:flats tag -->
<node id="117" version="1" changeset="1" lat="-36.9" lon="175.117" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="117" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="building:flats" v="44" />
<tag k="ref:linz:address_id" v="70117" />
</node>
<!-- 118 is not a stack, but it erroneously has the tag `building:flats=0` (zero could be an edge case) -->
<node id="118" version="1" changeset="1" lat="-36.9" lon="175.118" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="118" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="building:flats" v="0" />
<tag k="ref:linz:address_id" v="70118" />
</node>
<!-- 119-121 are the flats of an annoying stack (122), which is currently duplicated in OSM -->
<node id="119" version="1" changeset="1" lat="-36.9" lon="175.119" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="122" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="building:flats" v="3" />
<tag k="ref:linz:address_id" v="stack(70119-70121)" />
</node>
<!-- 122 is the parent of 119-121, which is currently duplicated in OSM (also without building:flats tag)-->
<node id="122" version="1" changeset="1" lat="-36.9" lon="175.122" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="122" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="ref:linz:address_id" v="70122" />
</node>
<!-- 125 used to be a single address, now it's a stack. So when we change the ref tag, we also need to add building:flats-->
<node id="125" version="1" changeset="1" lat="-36.9" lon="175.125" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="125" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="ref:linz:address_id" v="THE_OLD_ID" />
</node>
<!-- on a building, the LINZ ref has changed, so we will update the building -->
<node id="126" version="1" changeset="1" lat="-36.9" lon="175.126" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z" />
<node id="127" version="1" changeset="1" lat="-36.901" lon="175.127" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z" />
<node id="128" version="1" changeset="1" lat="-36.9" lon="175.128" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z" />
<!-- THE WAY (129) IS DEFINED AT THE END OF THE FILE -->
<!-- for consistency, 126-128 Example Street do not exist -->
<!-- 130-131 is a heritage ranged address -->
<node id="130" version="1" changeset="1" lat="-36.9" lon="175.130" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="130-131" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="ref:linz:address_id" v="70130" />
</node>
<!-- 132 is the proper 132 address node (see 133) -->
<node id="132" version="1" changeset="1" lat="-36.9" lon="175.132" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="132" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="ref:linz:address_id" v="70132" />
</node>
<!-- 133 is a building added by a StreetComplete user that duplicates the 132 address node -->
<node id="133" version="1" changeset="1" lat="-36.9" lon="175.133" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="132" />
<tag k="addr:street" v="Example Street" />
<!-- no address ref or suburb -->
<tag k="building" v="house" />
</node>
<!-- 134 is a business with 3 addresses (134 thru 136) accidently merged into this node -->
<node id="134" version="1" changeset="1" lat="-36.9" lon="175.134" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="134;135;136" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="ref:linz:address_id" v="70134;70135;70136" />
<tag k="shop" v="stage_lights" />
</node>
<!-- 137 is perfect but duplicates 141 (building) -->
<node id="137" version="1" changeset="1" lat="-36.9" lon="175.137" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="137" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="ref:linz:address_id" v="70137" />
</node>
<node id="138" version="1" changeset="1" lat="-36.9" lon="175.138" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z" />
<node id="139" version="1" changeset="1" lat="-36.901" lon="175.139" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z" />
<node id="140" version="1" changeset="1" lat="-36.9" lon="175.140" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z" />
<!-- THE WAY (141) IS DEFINED AT THE END OF THE FILE -->
<!-- 142 & 143: someone has swapped the addr:housenumber values of these two, but didn't change the linz ref -->
<node id="142" version="1" changeset="1" lat="-36.9" lon="175.142" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="143" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="ref:linz:address_id" v="70142" />
</node>
<node id="143" version="1" changeset="1" lat="-36.9" lon="175.143" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="142" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="ref:linz:address_id" v="70143" />
</node>
<!-- 144-146 are stacked into one node in OSM. They are 144A, 144B, 144C BUT they have a linz:stack=no tag -->
<node id="144" version="1" changeset="1" lat="-36.9" lon="175.144" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="144" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="building:flats" v="3" />
<tag k="ref:linz:address_id" v="stack(70144-70146)" />
<tag k="linz:stack" v="no" />
</node>
<!-- 147 & 148 have the same address & ref and are both non-trivial -->
<node id="147" version="1" changeset="1" lat="-36.9" lon="174.146" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="147" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="ref:linz:address_id" v="70147" />
<tag k="shop" v="pest_control" />
</node>
<node id="148" version="1" changeset="1" lat="-36.9" lon="174.147" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="147" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="ref:linz:address_id" v="70147" />
<tag k="craft" v="hvac" />
</node>
<!-- 149-151 have the same address & ref, but 2 of 3 are non-trivial -->
<node id="149" version="1" changeset="1" lat="-36.9" lon="174.149" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="149" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="ref:linz:address_id" v="70149" />
<tag k="shop" v="rental" />
<tag k="rental" v="event" />
</node>
<node id="150" version="1" changeset="1" lat="-36.9" lon="174.150" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="149" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="ref:linz:address_id" v="70149" />
<tag k="shop" v="sushi" />
</node>
<node id="151" version="1" changeset="1" lat="-36.9" lon="174.151" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="149" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="ref:linz:address_id" v="70149" />
<!-- this one is trivial -->
</node>
<!-- has `level=B1` in OSM and LINZ (perfect) -->
<node id="152" version="1" changeset="1" lat="-36.9" lon="174.152" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="152" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="level" v="B1" />
<tag k="ref:linz:address_id" v="70152" />
</node>
<!-- has no level tag in OSM, but LINZ has `level=10` -->
<node id="153" version="1" changeset="1" lat="-36.9" lon="174.153" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="153" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="ref:linz:address_id" v="70153" />
</node>
<!-- has `level=MyCustomValue` in OSM but LINZ has `level=10` -->
<node id="154" version="1" changeset="1" lat="-36.9" lon="174.154" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="154" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="level" v="MyCustomValue" />
<tag k="ref:linz:address_id" v="70154" />
</node>
<!-- has `level=AnotherCustomValue` in OSM but LINZ has no level -->
<node id="155" version="1" changeset="1" lat="-36.9" lon="174.155" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="155" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="level" v="AnotherCustomValue" />
<tag k="ref:linz:address_id" v="70155" />
</node>
<!-- 156 is missing, it's a stack which should have the level tag removed -->
<!-- 160 is missing an addr:city tag - that's okay, no action required -->
<node id="160" version="1" changeset="1" lat="-36.9" lon="176.160" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="160" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:suburb" v="Oakleigh" />
<tag k="level" v="AnotherCustomValue" />
<tag k="ref:linz:address_id" v="70160" />
</node>
<!-- 161 has an incorrect addr:city tag - this will be fixed -->
<node id="161" version="1" changeset="1" lat="-36.9" lon="174.161" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="161" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:suburb" v="Oakleigh" />
<tag k="addr:city" v="São Manoël" />
<tag k="level" v="AnotherCustomValue" />
<tag k="ref:linz:address_id" v="70161" />
</node>
<!-- 162 is missing, it's an address where suburb=city, so it shouldn't add addr:city -->
<!--
163-166 are stacked into one node in OSM. They are 163, 1/163, 2/163, 3/163 BUT they have a linz:stack=no tag.
Different to the test case for 144 because linz has an entry for 163, but not for 144.
Therefore the root address is being edited in this case, not deleted. Also the ref tag is different.
-->
<node id="163" version="1" changeset="1" lat="-36.9" lon="175.163" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="163" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="building:flats" v="3" />
<tag k="ref:linz:address_id" v="70163" />
<tag k="linz:stack" v="no" />
</node>
<!--
167-169 would normally be deleted and stacked (since under 50% are mapped individually), but a
mapper has added linz:stack=no to one of the nodes so we will keep this node.
-->
<node id="167" version="1" changeset="1" lat="-36.9" lon="174.167" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="167A" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:suburb" v="Oakleigh" />
<tag k="ref:linz:address_id" v="70167" />
<tag k="linz:stack" v="no" />
</node>
<!--
170A-B-C is completely missing, as are its duplicates 1-2-3/170.
They'll be stacked, since they're in the same location. The key part
is that building:flats is 3, not 6.
-->
<!--
176A-B-C is completely missing, as are its duplicates 1-2-3/176.
The system will propose adding 3 nodes with alt_addr:housenumber.
-->
<!-- 182A-B-C are mapped, but without alt_addr:housenumber for 1-2-3/182 -->
<node id="182" version="1" changeset="1" lat="-36.9" lon="174.182" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="182A" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="ref:linz:address_id" v="70182" />
</node>
<node id="183" version="1" changeset="1" lat="-36.9" lon="174.183" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="182B" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="ref:linz:address_id" v="70183" />
</node>
<node id="184" version="1" changeset="1" lat="-36.9" lon="174.184" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="182C" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="ref:linz:address_id" v="70184" />
</node>
<!--
1-2/188 are mapped, but without alt_addr:housenumber for 188A-B,
and the root (188) is missing.
-->
<node id="188" version="1" changeset="1" lat="-36.9" lon="174.188" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="1/188" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="ref:linz:address_id" v="70188" />
</node>
<node id="189" version="1" changeset="1" lat="-36.9" lon="174.189" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="2/188" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="ref:linz:address_id" v="70189" />
</node>
<!-- 1-2/193 and 193A-B are mapped -->
<node id="193" version="1" changeset="1" lat="-36.9" lon="174.193" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="1/193" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="ref:linz:address_id" v="70193" />
<tag k="linz:stack" v="no" />
</node>
<node id="194" version="1" changeset="1" lat="-36.9" lon="174.194" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="2/193" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="ref:linz:address_id" v="70194" />
</node>
<node id="195" version="1" changeset="1" lat="-36.9" lon="174.195" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="193A" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="ref:linz:address_id" v="3000195" />
</node>
<node id="196" version="1" changeset="1" lat="-36.9" lon="174.196" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="193B" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="ref:linz:address_id" v="3000196" />
</node>
<!-- suburb wrong but city is correct -->
<node id="197" version="1" changeset="1" lat="-36.9" lon="176.197" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="197" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:suburb" v="Oakleigh!*@typo" />
<tag k="addr:city" v="Jericho" />
<tag k="ref:linz:address_id" v="70197" />
</node>
<!-- unexpected `alt_addr:housenumber` tag -->
<node id="198" version="1" changeset="1" lat="-36.9" lon="174.198" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="198A" />
<tag k="alt_addr:housenumber" v="1/198" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="ref:linz:address_id" v="70198" />
</node>
<!-- 2 addresses mapped separately, but one has `linz:stack=yes` -->
<node id="199" version="1" changeset="1" lat="-36.9" lon="174.199" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="199A" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="ref:linz:address_id" v="70199" />
<tag k="linz:stack" v="yes" />
</node>
<node id="200" version="1" changeset="1" lat="-36.9" lon="174.200" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="199B" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="ref:linz:address_id" v="70200" />
</node>
<!-- 2 addresses stacked into 1, because someone request it with `linz:stack=yes` -->
<node id="201" version="1" changeset="1" lat="-36.9" lon="174.201" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="201" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="ref:linz:address_id" v="stack(70201-70202)" />
<tag k="building:flats" v="2" />
<tag k="linz:stack" v="yes" />
</node>
<!-- someone has manually added alt_addr:housenumber, which we respect -->
<node id="203" version="1" changeset="1" lat="-36.9" lon="174.203" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="203A" />
<tag k="alt_addr:housenumber" v="1/203" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="ref:linz:address_id" v="70203" />
</node>
<node id="205" version="1" changeset="1" lat="-36.9" lon="174.205" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="203B" />
<tag k="alt_addr:housenumber" v="2/203" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="ref:linz:address_id" v="70205" />
</node>
<node id="207" version="1" changeset="1" lat="-36.9" lon="174.207" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="203C" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="ref:linz:address_id" v="70207" />
</node>
<node id="209" version="1" changeset="1" lat="-36.9" lon="174.209" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<tag k="addr:housenumber" v="203D" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="ref:linz:address_id" v="70209" />
</node>
<!-- <ways> -->
<way id="31" version="1" changeset="1" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<nd ref="28" />
<nd ref="29" />
<nd ref="30" />
<nd ref="28" /> <!-- closed way (area) so first node = last node -->
<tag k="building" v="house" />
<tag k="addr:housenumber" v="31" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="ref:linz:address_id" v="70031" />
</way>
<way id="35" version="1" changeset="1" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<nd ref="32" />
<nd ref="33" />
<nd ref="34" />
<nd ref="32" /> <!-- closed way (area) so first node = last node -->
<tag k="building" v="detached" />
<tag k="addr:housenumber" v="35" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="ref:linz:address_id" v="70035" />
</way>
<way id="53" version="1" changeset="1" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<nd ref="50" />
<nd ref="51" />
<nd ref="52" />
<nd ref="53" /> <!-- closed way (area) so first node = last node -->
</way>
<way id="129" version="1" changeset="1" user="" uid="0" visible="true" timestamp="2012-05-19T11:22:33Z">
<nd ref="126" />
<nd ref="127" />
<nd ref="128" />
<nd ref="126" /> <!-- closed way (area) so first node = last node -->
<tag k="building" v="mansion" />
<tag k="addr:housenumber" v="129" />
<tag k="addr:street" v="Example Street" />
<tag k="addr:hamlet" v="Oakleigh" />
<tag k="ref:linz:address_id" v="70129old" />
</way>