Piwigo / piwigo-openstreetmap

OpenStreetMap integration for Piwigo
http://piwigo.org/ext/extension_view.php?eid=701
GNU General Public License v3.0
35 stars 35 forks source link

MapQuest reverse geocoding no longer functional #99

Closed lbeltrame closed 8 years ago

lbeltrame commented 8 years ago

The MapQuest URL used for creating tag groups is no longer working. I had to dig into the PHP code to get why tags weren't being added, and after uncommenting the print statement there and checking the URLs manually, I saw

The AppKey submitted with this request is invalid.

As a response. So I guess the official OSM service should be used.

xbgmsharp commented 8 years ago

Correct since September 2015, MapQuest require an API KEY. To avoid this issue, I created a NodeJS API proxy, https://github.com/xbgmsharp/nodejs-nominatim however not release yet. However I first had to code a correct and working reverse geocoding API module, https://www.npmjs.com/package/node-nominatim2. It is a slow work in progress.... All reverse geocoding API require an API KEY to avoid abuse, unless you found one without.

xbgmsharp commented 8 years ago

It is now committed b66fc4603415d0a364bdff105ae457a6a9fcace0 Please test and feedback, I will make a release soon.

xbgmsharp commented 8 years ago

Include in the new release