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:
-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