Hello,
I recently did an import of USA into my nominatim server database and I've noticed that my searches on reverse-geocoding do not return house numbers. I found out that in order to get house numbers, nominatim uses TIGER on search, so I'm trying to make the program use house numbers from TIGER on reverse geocoding.
I've noticed that this line

$aAddress = getAddressDetails($oDB, $sLanguagePrefArraySQL, $iPlaceID, $aPlace['country_code']);

line 153 in website/reverse.php is responsible for building @aAddress which contains all information about the address and is then parsed in lib/template/address-xml.php to create the result xml. I'm thinking I should make a sql query in the tiger database to get the house numbers, and then add it to $aAddress.
Am I correct? I would appreciate any help you could give me on this matter.

Thank you!

_______________________________________________
Geocoding mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/geocoding

Reply via email to