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
Attachments
Activity
Resolution | New: Fixed [ 1 ] | |
Status | Original: In Progress [ 3 ] | New: Resolved [ 5 ] |
Status | Original: In Review [ 10101 ] | New: In Progress [ 3 ] |
Status | Original: Pending Response [ 10000 ] | New: In Review [ 10101 ] |
Assignee | Original: Adam Armstrong [ adama ] | New: Mike Stupalov [ landy ] |
Status | Original: Open [ 1 ] | New: Pending Response [ 10000 ] |
Fixed in r12171.