Simone, I think it was a mistake to add P402 to wikidata. From what I have
been told, OSM IDs change too frequently to be reliable, e.g when user
edits a road and splits some part of it with a different subset of tags.
(Haven't tested it myself)
The reverse tagging is by far more valuable, but at the moment OSM editor
does not make it easy -- there is no lookup or autocomplete when entering
wikidata ID, and when entered, it shows as a number, not as text from
wikidata label.
On Jul 1, 2016 11:15, "Simone Cortesi" <simone(a)cortesi.com> wrote:
Hi Yuri,
thanks for the effort.
where do the shapes come from? are they sourced from the WMF instance
of OSM data?
I am wondering if adding P402 (OpenStreetMap Relation identifier) to
wikidata is worth doing. I've been doing it on some italian
municipalities:
https://www.wikidata.org/wiki/Q103049
-Simone
On Fri, Jul 1, 2016 at 5:38 AM, Yuri Astrakhan <yastrakhan(a)wikimedia.org>
wrote:
This week we enabled geo-shapes service
(non-production only). Given
Wikidata ID(s), maps service can give you associated geoshapes (as
topojson). Moreover, you can actually give it a Wikidata SPARQL query,
and
as long as each ID is unique, it will get
geoshapes for each one, and
keep
other values as TopoJSON properties.
What this means is that once its in production, you can do this:
http://data.wmflabs.org/wiki/Regional_maps
It's a bunch of maps (using graph extension), that are dynamically
generated
by a template! You just give it a country and a
few more optional
parameters, and it draws the regions, and can show images from Commons if
you hover over the state capitals (black dots).
Next step - adding some interesting data on top of those maps, like
election
results or rates of air pollution. That data
will hopefully be stored
in a
central repository, together with non-OSM
geoshapes (like historical
country
outlines, bird migration paths, etc).
_______________________________________________
Maps-l mailing list
Maps-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/maps-l
--
-S