Hi Yuri,

Thanks for the response :) I checked out the GeoData extension and
specifically looked at the API list=geosearch. The data given by geosearch
seems to be just the title of the page where the lat/lon is given. I want
to find the CIty and country given a latitude, longitude. I can't seem to
be able to find any API method to get the country and city of a given
latitude, longitude in Extension:GeoData.
Am I understanding this wrong ? Have I misread/understood something ?

Regards
Abdeali JK

On Tue, Jul 12, 2016 at 3:39 PM, Yuri Astrakhan <yastrak...@wikimedia.org>
wrote:

> Hi Abdeali. We have a geodata search that you might find useful -
> https://www.mediawiki.org/wiki/Extension:GeoData - it should allow you to
> find at least some of the information via mediawiki api. Ideally, i hope we
> will be able to integrate geospatial search into wikidata query service, as
> that should provide more interesting results.
>
> On Tue, Jul 12, 2016 at 6:25 AM, Abdeali Kothari <abdealikoth...@gmail.com
> > wrote:
>
>> Hi,
>>
>> I am a GSoC student making a script using pywikibot to find categories
>> for Images on commons[0]. One thing I was trying was to use the GPS
>> coordinateds given by the camera (in EXIF data) to find the location and
>> add the place's category to it. For example, if I take an image of the
>> Eiffel Tower it should auto add Category:Paris to it.
>>
>> For this, I was trying to use the Nominatim service from OSM.
>> http://nominatim.openstreetmap.org is not meant for bulk finding the
>> geolocations and limits the query rate at 1 query / minute.
>>
>> I was wondering whether the OSM api was also available on maps
>> .wikimedia.org ? And whether the Nominatim API is hosted and working ? I
>> wasn't able to find any documentation about it.
>> Also, is there any documentation on query limits and so on ?
>>
>> Regards,
>> Abdeali JK
>>
>> References:
>> [0] - https://phabricator.wikimedia.org/T129611
>>
>>
>> _______________________________________________
>> Maps-l mailing list
>> Maps-l@lists.wikimedia.org
>> https://lists.wikimedia.org/mailman/listinfo/maps-l
>>
>>
>
> _______________________________________________
> Maps-l mailing list
> Maps-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/maps-l
>
>
_______________________________________________
Maps-l mailing list
Maps-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/maps-l

Reply via email to