[OSM-dev] Wikipedia/OSM integration - round trip?
bjohas+mw at gmail.com
Thu Apr 27 21:54:36 UTC 2017
just in case anybody else is interested: I've created a short tampermonkey
It extracts coordinates and wikidata from a wikipedia page, and adds
various direct links near the "Coordinates" bit on the wikipedia page,
which link to OSM/iD/JOSM / http://osm.wikidata.link/ / etc. It's of course
simple to do, but I still fiddled with it for a bit until it worked, so
thought I'd share it. In putting this together and testing it, I also added
some POIs for wikipedia objects that weren't on OSM (but clearly visible in
bing/mapbox) - so it's been helpful to me.
(Also, the OSM search doesn't return anything for the wikidata object
> http://www.openstreetmap.org/search?query=Q925624 - would be great if it
Should this be addressed?
On 27 April 2017 at 13:11, Bjoern Hassler <bjohas+mw at gmail.com> wrote:
> Hi Imre,
> that's very interesting - thanks for pointing this out! I'll follow up
> with the developer!
> 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
>> 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
>> 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:
>>> 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
>>> (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
>>> which would allow redirect to the actual object on OSM:
>>> 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,
>>> dev mailing list
>>> dev at openstreetmap.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the dev