Janko Mihelić <[email protected]> wrote: > There's one fundamental question about wikidata tags; how do you tag > multiple objects that have the same wikidata tag? For example, a wikidata > entry about a church and a connected monastery. When I was writing the > Wikidata proposal on our wiki, I've put a rule that only one object in OSM > can have the same wikidata=* tag. So when there are more ways in OSM that > represent one element in Wikidata, we should put them in a relation and put > the wikidata tag in the relation. > > Since then I changed my opinion a bit, but I'm not sure if we should just > put wikidata=* on all ways, or if we should invent a new tag, > wikidata:part=* and put that tag on all the objects.
For now I've side stepped this problem. If you look at an institution like a hospital, university or school you'll often find multiple buildings, some might include a name and be tagged amenity=hospital/university/school. If my code spots two or more nearby items with the correct tags and matching names it skips them, so I don't have to deal with multiple OSM items having the same wikidata tag. I can also detect if there are two nearby items with the same name but different tagging. I found an article on Wikipedia that was in the categories for bridge and monument. In OSM we have a 'way' to represent the bridge and a 'node' in the middle of the bridge for the monument. I skip these as well, there are just over 200 of them. -- Edward. _______________________________________________ talk mailing list [email protected] https://lists.openstreetmap.org/listinfo/talk

