<div dir="ltr"><div>There is a difference between municipality and settlements like villages. Wikipedia articles are often about the whole municipality and not about a single village. So the wikidata-tag should only be tagged onto the administrative relation for the municipality<br><br></div>Please do not add any Wikidata-Tags to German villages/municipality. This would cause a big mess as the mismatch list shows.<br><br>I'd oppose this import at all at the moment. There are currently 21533 objects with wikidata tags in the OSM database at the moment. Your algorithm produces 2393 mismatches. This is a error rate of 10 % !! <br><br>I think it's better to have not so much wikidata-tags in our database than about 11000 wrong tags.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-09-05 11:06 GMT+02:00 Edward Betts <span dir="ltr"><<a href="mailto:edward@4angle.com" target="_blank">edward@4angle.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I modified my code, adding more categories and extending the matching distance<br>
for some objects. I started checking addr:housename, some buildings have this<br>
tag but are missing the name tag.<br>
<br>
<a href="http://edwardbetts.com/osm-wikidata/" target="_blank">http://edwardbetts.com/osm-wikidata/</a><br>
<br>
There are now 112,278 matches found. I thought the extended range would help<br>
reduce the number of mismatches, but I now have 2,393 mismatches.<br>
<br>
<a href="http://edwardbetts.com/osm-wikidata/mismatches.html" target="_blank">http://edwardbetts.com/osm-wikidata/mismatches.html</a><br>
<br>
I've got some ideas about how to fix some of the mismatches. Many of the<br>
mismatches are villages represented by both a node and a relation, but the<br>
relation isn't tagged with place=village, so my code can't tell it represents<br>
the same thing. Maybe relations that represent villages should be tagged with<br>
place=village. I'll could modify my code so it rejects nodes inside a way<br>
or relation with the same name.<br>
<br>
Example: Sachsendorf, Germany<br>
<br>
<a href="http://www.openstreetmap.org/node/240130457" target="_blank">http://www.openstreetmap.org/node/240130457</a><br>
<a href="http://www.openstreetmap.org/relation/2253462" target="_blank">http://www.openstreetmap.org/relation/2253462</a><br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Edward.<br>
<br>
_______________________________________________<br>
talk mailing list<br>
<a href="mailto:talk@openstreetmap.org">talk@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/talk" target="_blank">https://lists.openstreetmap.org/listinfo/talk</a><br>
</font></span></blockquote></div><br></div>