• Resolved saturnz

    (@saturnz)


    Hello,

    I face an issue related to geolocation, when I put no information as mentionned on visitor location and try to go on the page with the shortcode, the following error appear : OWM Weather id '1725': OWM Error 400 (Nothing to geocode). Overall, if put the zip code of my city, it work. Do you know if this error is related to the fact I’m currently in local development, or if it isn’t normal that can’t geocode my location ?

    I hope you can help me to deal with that issue.

    • This topic was modified 2 years, 6 months ago by Yui.
    • This topic was modified 2 years, 6 months ago by saturnz.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Uwe Jacobs

    (@uwejacobs)

    Geolocation works off the IP address sent by the web browser. It cannot translate private IP address ranges to a location. The error message comes from https://tools.keycdn.com/geo which OWM Weather uses to find the geolocation.

    Plugin Author Uwe Jacobs

    (@uwejacobs)

    I added HTML5 GeoLocation to the search by visitor’s location. Should the user deny the request for his location, the search will fall back to the IP search. Please install version 5.3.2 and give it a try. The HTML5 GeoLocation is much more precise than the IP-based GeoLocation and should also work in a development environment.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error on geolocation’ is closed to new replies.