No connection for reverse geocoding

Started by UdoL, August 23, 2022, 10:18:44 PM

Previous topic - Next topic

UdoL

Hello,
I'm not able to get reverse geocoding work. Each time I try I get an error message that no connection can be established and the server may be down or overloaded. I tried GeoNames.org and Here. Both times the same behavior. No Firewall except the Windows built-in firewall. Photools IMatch is listed no less the 7 times in the authorized apps of the Windows Firewall (see attached screenshot). I attached a log file.
I have no guess what to try now. Thanks for your help,
Udo


Mario

Have you entered valid credentials under Edit menu > Preferences > Geo & Maps for GeoNames.org and HERE?

The server returns HTTP status code 406, which means "Not Acceptable". This is usually the response code for invalid credentials or an IP block.

See https://www.photools.com/imatch-retired/api-keys-explained/ for more information.

A missing credential or a typo seems to be the most logical reason for the error the server returns.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

UdoL

Hi Mario, thanks for your fast response!
I already wrote my answer but gave it another try before I posted it. Astonishingly it now works with Here maps, although I haven't done any changes in between. I left my computer this night without turning it off or closing IMatch and now when I retried it, it worked. Is it possible that Here maps needs some hours in order to activate the API account?

GeoNames still is not working. I assumed that there maybe some confusion with upper and lower case user name because GeoNames.org is showing the user name only in lower cases after login. So I created a new user with only lowercase letters, but this doesn't work either. Is it correct that only the user name but not the password has to be entered in IMatch?

Mario

QuoteIs it possible that Here maps needs some hours in order to activate the API account?

It's a long time since I've registered my account. But a delay is surely possible, maybe they had a maintenance downtime or something.

QuoteGeoNames still is not working.

Make sure to activate (I think that's what they call it) after creating your account.
When I recall correctly, this is a link they show to you after you log in.
User name and password is case-sensitive.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

UdoL

Thanks, this was the trick. But they didn't show the link. You have to go to "manage account" and only then you see a very small request to activate the web services in a text that looks like a footer ...

Thanks for your fast and good support!

Mario

Very good.
I have no control over how GeoNames.org (a organization managed and paid for by volunteers) creates their user experience.

I would love to just offer built-in reverse geocoding in IMatch (and mapping), without the user having to use their own accounts.
But then I would have to pay for the Google/Here/Bing usage of all IMatch users, and I would be broke in a week  ;D

I also believe in not locking my users into a specific service, e.g. forcing them to use Google. For privacy reasons.
This is why IMatch supports Google Maps, Bing Maps, Here Maps and OpenStreetMaps. And Google, Bing and GeoNames for reverse geocoding.
So the user has a choice.

Companies like Adobe make deals with Google, getting a very good price for sharing (some of) their user data with Google (I guess).
On the other hand, mapping and reverse geocoding in Adobe product stops working as soon as your subscription expires.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

UdoL

I understand the reason why you do it how you do it and I appreciate that very much!