Error setting GPS coordinates

Started by dadu, May 11, 2020, 04:35:59 AM

Previous topic - Next topic

dadu

Hello, the most recent update seems to have whacked the "locations" I had saved and that were accessible to in Maps panel.

I noticed my Google Maps API key was no longer in preferences ...so I obtained a new one and put in the preferences panel. I also have "Automatic reverse geocoding" set to "Yes" and Google set as my provider search and my Geocoding service.
But now, "Find location..." just doesn't function...Nor does reverse geo-code.  When I move a marker of a photo with GPS data, I get this error :

   
Error setting GPS coordinates
A problem occurred while setting or updating the GPS coordinates for one or more files.
{
  "error": {
    "code": 1100,
    "message": "Internal error.",
    "details": {
      "result": "failed",
      "errorInfo": "Failed to reverse geo-code the files: \"\"."
    }
  }
}


My log file is attached.
I also checked that my credit card is up-to-date on Google API key dashboard.


Any help?

dadu

#1
Sorry, I could not delete this topic in time.

I figured out that I had not enabled the "Gecoding API".

After about a 5 minute wait, all is working well!

I got a hint when I looked at the log file and saw this:

'  'V:\develop\IMatch5\src\ptgeo\PTGeoCoder.cpp(1080)'
05.10 21:37:28+315937 [23F4] 01  W> Error parsing: '{
   "error_message" : "This API project is not authorized to use this API.",
   "results" : [],
   "status" : "REQUEST_DENIED"


So, these are 3 you need enable for Google Maps to work in IMatch:
- Geocoding API
- Maps Elevation API
- Maps Javascript API

Mario

This is correct.
The API's to enable are mentioned on the corresponding help page:

https://www.photools.com/imatch/api-keys-explained/
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook