Je regardé une commune sur laquelle un mauvais rapprochement
Wikidata/OSM avait été fait (mauvais bâtiment suite à un positionnement
géographique imprécis dans Wikidata) et corrigé.
Des plus :
- il propose d'ajouter des attributs assez logiques (par exemple si on a
la branche de la religion mais pas la religion il propose d'ajouter
religion=christian (je suis en Bretagne ;-))
Des moins :
- il ne présente pas les données OSM de même wikidata. Gros risque de
doublon.
En fait comme le montre la requête il cherche certains tags. Pas
forcément indiqués. Il devrait aussi chercher les tag wikidata car on
peut avoir mis l'attribut mais pas tout renseigné comme prévu par
l'auteur de l'outil.
Donc beaucoup de non trouvés et de risque d'ajouter des doublons.
- c'est une liste d'attributs à ajouter, pas de contribution directe
possible en validant les attributs (comme le fait Osmose).
Là je suis moins affirmatif, je ne suis tombé que sur des trouvés ou pas
trouvés, pas des à compléter.
En mettant l'interface d'Osmose là dessus, ça pourrait être redoutable.
Le point recherché qui a bien le wikidata qui va bien
:https://www.openstreetmap.org/node/4857146762
<https://www.openstreetmap.org/node/4857146762>
La requête faite :https://osm.wikidata.link/matcher/relation/7560
<https://osm.wikidata.link/matcher/relation/75602>
Un cas pathologique : chapelle Saint-Mathieu de Guidel (Q2956914)
<https://osm.wikidata.link/Q2956914>
* possible OSM tags: *building=church*, amenity=place_of_worship,
religion=christian, *building=chapel*
J'ai trouvé la chapelle en question sur osm :
https://www.openstreetmap.org/way/70438262#map=19/47.75675/-3.48304
Elle a tous les attributs voulus, sauf building=chapelle car elle a
building=church.
La requête Overpass la trouve bien :
http://overpass-turbo.eu/s/pHE
Je suppose que le post traitement élimine les chapelles qui ne sont pas
des église et réciproquement.
Donc piste intéressante mais il y a encore un peu de boulot !
Jean-Yvon
Le 12/06/2017 à 12:32, Guillaume Allegre - [email protected] a
écrit :
Je fais suivre un mail passé sur les listes maps-l et wikidata
de Wikimédia (international).
L'outil a l'air *très* prometteur, mais je n'ai pour l'instant
jeté qu'un coup d'oeil rapide.
Je suis intéressé aussi par d'autres retours d'expérience.
Je m'en suis servi pour l'instant pour lever des ambiguités dans Wikidata,
pas encore pour ajouter des tags dans OSM, mais c'est bien son usage premier.
---------- Forwarded message ----------
From: Edward Betts <[email protected]>
Date: Wed, Jun 7, 2017 at 11:39 PM
Subject: [Wikidata] Tool for users to add wikidata tags to OpenStreetMap
To: [email protected]
I've built a tool for mappers to match things in OSM with Wikidata and add
the
appropriate wikidata tag to OSM.
https://osm.wikidata.link/
Users can search for a administrative area or city, then pick an area to
analyse. It works best if mappers pick areas they're familiar with.
The matcher can take a few minutes to run. It grabs items from Wikidata and
figures out a target set of tags and keys to search for. Then it downloads
OSM
data and looks for matches. The matching is based on tags and names,
currently
the wikipedia tags aren't considered.
Map data is from the OSM Overpass API. Large (more than 1,000 sq km) or
dense
areas might fail with a timeout error.
The results are cached in the system and are available here:
https://osm.wikidata.link/places
Once the matching process is complete the mapper is given a tabbed page with
the results. The five tabs are:
Match candidates - things on OSM that might be considered for tagging
Already tagged - matches that are already tagged in OSM
No match - items from Wikidata with no match found in OSM
Wikidata query - the query used to find Wikidata items
Overpass query - the Overpass query to find OSM objects in this area
To start tagging the mapper is able to login to OSM via OAuth. Tick boxes
will
appear next to the likely matches, the mapper can tick the box next to the
matches they want to upload, then add a change comment and upload them using
their own OSM account. Uploads within an area are combined into a single
changeset.
If the mapper sees an obviously incorrect match they can use the 'report bad
match' option to warn other mappers and provide feedback that I can use to
improve the algorithm.
This tools doesn't add any new objects to OSM. The only change it makes is
adding a wikidata tag to existing things.
My approach is to aim for a one-to-one mapping between Wikidata and OSM. If
there are two or more things in OSM that look like a Wikidata item then it
isn't a good match. This means for example that most road and rail bridges
won't be tagged because they are represented as two OSM ways. I might change
this at some point.
There are occasional duplicates in Wikidata, this tool should spot them and
refuse to add wikidata tags until the Wikidata duplicate is resolved.
The bug/todo list is here: https://github.com/EdwardBetts/osm-wikidata/
issues
Any ideas or suggestions are welcome.
--
Edward.
_______________________________________________
Talk-fr mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/talk-fr