Geolocation Lookups stopped when updating to 17.5.8580
![](https://secure.gravatar.com/avatar/cef8ddc791f1fb7be15ecdfee14c6640.jpg?s=120&d=mm&r=g)
Hi,
After upgrading from version 17.5.8580 to version 17.7.8697 the geolocation lookups using Openstreetmap seem to have stopped. The event logs used to be full of lines such as:
Geolocation (OPENSTREETMAP) -> [43.719989, -71.004577] United States (Country), New York (State), New York (County), New York (City)
These are now completely missing. This means the location for all devices is now unknown. I have another server on version 17.5.8580 with identical configuration which is still able to do the geolocation lookups.
Here is the relevant output from config.php:
$config['geocoding']['enable'] = TRUE; // Enable Geocoding $config['geocoding']['location_menu_geocoded'] = TRUE; $config['geocoding']['api'] = 'mapquest'; $config['geocoding']['api']['key'] = '<HIDDEN>'; $config['geocoding']['default']['lat'] = "51.5111119"; // Default latitude $config['geocoding']['default']['lon'] = "-0.0059373"; // Default longitude
What do I need to change in order to get the geolocation lookups working again? I do not need to use Openstreetmap if there is another free option I am happy to change if required.
Thanks,
Peter
![](https://secure.gravatar.com/avatar/0fa97865a0e1ab36152b6b2299eedb49.jpg?s=120&d=mm&r=g)
Hi,
Your API seems to be set to mapquest, which would probably explain why openstreetmap isn't working! :D
adam.
Sent from Mailbird [http://www.getmailbird.com/?utm_source=Mailbird&utm_medium=email&utm...] On 17/07/2017 12:09:25, Peter Smith helsvell@gmail.com wrote: Hi,
After upgrading from version 17.5.8580 to version 17.7.8697 the geolocation lookups using Openstreetmap seem to have stopped. The event logs used to be full of lines such as:
Geolocation (OPENSTREETMAP) -> [43.719989, -71.004577] United States (Country), New York (State), New York (County), New York (City)
These are now completely missing. This means the location for all devices is now unknown. I have another server on version 17.5.8580 with identical configuration which is still able to do the geolocation lookups.
Here is the relevant output from config.php:
$config['geocoding']['enable'] = TRUE; // Enable Geocoding $config['geocoding']['location_menu_geocoded'] = TRUE; $config['geocoding']['api'] = 'mapquest'; $config['geocoding']['api']['key'] = '<HIDDEN>'; $config['geocoding']['default']['lat'] = "51.5111119"; // Default latitude $config['geocoding']['default']['lon'] = "-0.0059373"; // Default longitude
What do I need to change in order to get the geolocation lookups working again? I do not need to use Openstreetmap if there is another free option I am happy to change if required.
Thanks,
Peter _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
participants (2)
-
Adam Armstrong
-
Peter Smith