[OSM-talk] Administrative boundaries export

Eugene Alvin Villar seav80 at gmail.com
Thu Oct 3 23:59:55 UTC 2013


On Fri, Oct 4, 2013 at 1:35 AM, César Martínez Izquierdo <
cesar.izq at gmail.com> wrote:

> Thanks Eugene, that looks really promising.
> I've seen there is an API to query Wikidata (results can be list of
> Wikidata item IDs encoded as JSON), but I don't see the way to get the item
> itself as JSON (or any other parseable format). Is it on the way?
>

Unfortunately, I am not up-to-par with the API side of Wikidata. I assume
that every bit of data on Wikidata can or will be accessible through APIs.
Otherwise, it would limit the usefulness of Wikidata if we resort to
scraping the HTML page.



> 2013/10/3 Eugene Alvin Villar <seav80 at gmail.com>
>
>> On Thu, Oct 3, 2013 at 6:35 PM, César Martínez Izquierdo <
>> cesar.izq at gmail.com> wrote:
>>
>>> Eugene, I am also interested on your proposal to store on Wikidata a
>>> table/database similar to the one described on 1, so any further details on
>>> available infrastructure, technologies in use, work already done, etc are
>>> welcome.
>>>
>>
>> Hi César, you can look at this Wikidata page for the German state of
>> Baden-Württemberg as an example: https://www.wikidata.org/wiki/Q985
>>
>> It currently contains interesting properties and relationships that may
>> be what we need. Some interesting properties/relations are (especially the
>> OSM one):
>>
>> country=Germany
>> capital=Stuttgart
>> type of administrative division=state of Germany
>> ISO 3166-2=DE-BW
>> GND identifier=4004176-1
>> contains administrative division=Regierungsbezirk Freiburg,
>> Regierungsbezirk Karlsruhe, Regierungsbezirk Stuttgart, Regierungsbezirk
>> Tübingen
>> is in the administrative unit=Germany
>> OpenStreetMap Relation ID=62611
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20131004/662afc71/attachment-0001.html>


More information about the talk mailing list