[Geocoding] Nominatim difference update problem
Teemu Ikonen
teemu.ikonen at iki.fi
Thu Dec 23 11:46:22 GMT 2010
Hi,
I've been running Nominatim instance now for several months, but
lately noticed that results are deviating more and more from those
that the official nominatim.openstreetmap.org serves.
Example:
My instance: (Completely off the mark)
http://nominatim.pingpin.com/reverse?format=json&lat=40.77629&lon=-73.95758&zoom=15
# osm_id: 158842914
address: {
* suburb: "Long Island City"
* hamlet: "Queensbridge Houses"
* city: "New York City"
* county: "Queens County"
* state: "New York"
* country: "United States of America"
* state_usps: "NY"
* country_code: "us"
}
Official nominatim (Correct)
http://nominatim.openstreetmap.org/reverse?format=json&lat=40.77629&lon=-73.95758&zoom=15
* osm_id: "5673456"
address: {
o hamlet: "Yorkville"
o city: "New York City"
o county: "Hudson"
o postcode: "10021"
o state: "New York"
o country: "United States of America"
o country_code: "us"
}
Database is updated daily with 'util.update.php'. There are two
changes in the original code
1. The indexing is done only up to neighbourhood level (rank 22), the
indexing for greater values in disabled in placex_insert() trigger.
2. I've added PHP script that returns the 'state_usps' property for
US states, this has no effect on results otherwise.
Where should I start looking for the problem? Or would it be easier
just to reindex the whole DB from scratch?
Br Teemu
More information about the Geocoding
mailing list