Martin Koppenhoefer <[email protected]> wrote:
> I have started some time ago to add wikidata tags manually myself and have
> found that there are a few problems to be careful about. Will you be
> checking the matches you have found to see if there would be contradictions
> between single wikidata statements and current OSM tags, that will require
> reorganization of either the OSM object or the wikidata object? "Partial"
> matches are not so uncommon, e.g. you could have a wikidata object
> referring to a museum and an OSM object referring to the building housing
> the museum (or the other way round).

My code tries to resolve duplicates, it can't it will skip the OSM object. My
aim is to generate a one-to-one mapping, I only add a tag for a wikidata item
to a single OSM object.

I've written some heuristic for different cases. For settlements where there
is a node and polygon (way or relation) I prefer the node.

Hospitals and schools are sometimes tagged with a polygon for each building
and a surrounding polygon for the site. In this case the matcher picks the
surrounding site polygon.

-- 
Edward.

_______________________________________________
Imports mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/imports

Reply via email to