[Geocoding] Take House Numbers from TIGER on Reverse Geocoding

Silviu Simon silviu.simon at airwizard.ro
Thu Aug 23 08:50:57 BST 2012


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!



More information about the Geocoding mailing list