Description
We had problems with Observium/OSM providing different results (correct city or unknown) for the same location string so I switched to LocationIQ.
I found that now all Cities are Unknown. After running the test_geo.php script with debug mode I found that while LocationIQ returned the city correctly, the result was Unknown so I added more debug and found out that Observium was looking for a town index in the result while the result contained a city index.
Maybe LocationIQ changed their result set at some point, so I patched it locally and it works now.
So attached is my patch for includes/definitions/geo.inc.php