[OSM-dev] Wikipedia/OSM integration - round trip?

Bjoern Hassler bjohas+mw at gmail.com
Thu Apr 27 12:11:45 UTC 2017


Hi Imre,

that's very interesting - thanks for pointing this out! I'll follow up with
the developer!

Thanks!
Bjoern

On 26 April 2017 at 19:54, Imre Samu <pella.samu at gmail.com> wrote:

> >I'm interested in working across Wikipedia and OSM, e.g. fixing Wikidata
> tags in OSM, and coordinates in Wikipedia, etc.
> > I've also found this very useful in terms of ensuring that data is
> correct on both.
> >Does anybody have suggestions for faster linking from Wikipedia to OSM?
>
> I have found an interesting project:
> *  "Match OSM entities with Wikidata items":  http://osm.wikidata.link/
> *   source:  https://github.com/EdwardBetts/osm-wikidata
>
> example:
>
> Sassari ( Italy ) :  https://osm.wikidata.link/matcher/40683    :  view
> match candidates :  16 items found
> Link for "view match candidates"   ;  And you will find the matches ..
> *  7 candidates found
> *  Items with no match found in OSM :  9 items
>
> Best,
>  Imre
>
>
> 2017-04-26 17:03 GMT+02:00 Bjoern Hassler <bjohas+mw at gmail.com>:
>
>> Hello all,
>>
>> I'm interested in working across Wikipedia and OSM, e.g. fixing Wikidata
>> tags in OSM, and coordinates in Wikipedia, etc. I've also found this very
>> useful in terms of ensuring that data is correct on both.
>>
>> Does anybody have suggestions for faster linking from Wikipedia to OSM?
>>
>> To explain:
>>
>> The wikipedia coordinates link (on a wikipedia page) is something like:
>> https://tools.wmflabs.org/geohack/geohack.php?pagename=Nurag
>> he_Santu_Antine&params=40.4865_N_8.7698_E_
>> which then lets you go to OSM (by coordinates) - but obviously, you have
>> to click that link first, then pick OSM from the list on that page. On OSM,
>> you then have to click edit to identify the object referred to in OSM (if
>> there is one). So it's not too bad, but if you do this regularly, it's a
>> bit tedious.
>>
>> A better way would be if the wmflabs url could be rewritten (clientside,
>> e.g. greasemonkey/tampermonkey), to have a direct link from the wikipedia
>> page to OSM.
>>
>> Even better would be if the url contained the wikidata item
>> https://tools.wmflabs.org/geohack/geohack.php?pagename=Nurag
>> he_Santu_Antine&params=40.4865_N_8.7698_E_&wikidata=Q925624
>> (could be done on the wmflabs side, or also with greasmonkey, as it's
>> embedded on the wikipedia page).
>>
>> Greasemonkey could add a link from the wikipedia page to a resolving
>> service, say
>> https://WikidataToOSM/?pagename=Nuraghe_Santu_Antine&params=
>> 40.4865_N_8.7698_E_&wikidata=Q925624
>> which would allow redirect to the actual object on OSM:
>> http://www.openstreetmap.org/way/258094245
>>
>> That would mean that with one click on a Wikipedia page, you'd see the
>> corresponding object in OSM.
>>
>> The other way is straight forward: Because that listing on OSM rewrites
>> wikidata/wikipedia tags to URLs, it's just one click to go back from there
>> to wikidata/wikipedia, so that's straight forward.
>>
>> (Ideally, Greasemonkey would also add a direct link to remote control.)
>>
>> (Also, the OSM search doesn't return anything for the wikidata object
>> http://www.openstreetmap.org/search?query=Q925624 - would be great if it
>> did.)
>>
>> Does anybody have any thoughts on this, know of a tool, or coded
>> something in the past?
>>
>> Many thanks,
>> Bjoern
>>
>> _______________________________________________
>> dev mailing list
>> dev at openstreetmap.org
>> https://lists.openstreetmap.org/listinfo/dev
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20170427/ebd66df5/attachment.html>


More information about the dev mailing list