<HTML>
<HEAD>
<TITLE>Re: [Geocoding] Better Results on Openstreetmap.org than our own instance</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Thanks Aster! That seems to have solved the problem beautifully.<BR>
<BR>
<BR>
On 7/19/13 10:27 AM, "Xiang, Aster" <<a href="asterxiang@wustl.edu">asterxiang@wustl.edu</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Have you import the TIGER data as well? If not, you may find this post helpful <a href="https://help.openstreetmap.org/questions/12150/missing-house-numbers-in-local-nominatim-instance">https://help.openstreetmap.org/questions/12150/missing-house-numbers-in-local-nominatim-instance</a>.<BR>
 <BR>
I had the same problem before, which is no house numbers, then the problem was solved after importing TIGER data.<BR>
 <BR>
Hope this helps,<BR>
 <BR>
Aster <BR>
 <BR>
 <BR>
<BR>
</SPAN><FONT SIZE="2"><SPAN STYLE='font-size:10pt'><B>From:</B> Steven Melendez [<a href="mailto:smelendez@wnyc.org">mailto:smelendez@wnyc.org</a>] <BR>
<B>Sent:</B> Friday, July 19, 2013 9:21 AM<BR>
<B>To:</B> <a href="geocoding@openstreetmap.org">geocoding@openstreetmap.org</a><BR>
<B>Subject:</B> [Geocoding] Better Results on Openstreetmap.org than our own instance<BR>
</SPAN></FONT></FONT><FONT FACE="Times New Roman"><SPAN STYLE='font-size:12pt'> <BR>
</SPAN></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Hi there,<BR>
<BR>
I’m Steven Melendez, and I work at WNYC Radio in New York on data news projects. <BR>
<BR>
We have a large number of New York City addresses we were hoping to geocode, and got good results from <a href="http://nominatim.openstreetmap.org/">http://nominatim.openstreetmap.org/</a> so we decided to install Nominatim locally on an Ubuntu machine. <BR>
<BR>
Anyway, I followed the installation instructions and loaded <a href="http://download.geofabrik.de/north-america/us/new-york-latest.osm.pbf">http://download.geofabrik.de/north-america/us/new-york-latest.osm.pbf</a> (as of yesterday) into the database, but I’m generally not able to find particular house numbers on my local instance,  even though I can on nominatim.openstreetmap.org. Is there some other data file I also need to load? <BR>
<BR>
I’ve tried with both the latest release version of nominatim and the head version from github, with the same result.<BR>
<BR>
For instance, for our offices, the query search.php?q=160+varick+st%2C+10013&format=json on openstreetmap.org finds the exact location of our offices at 160 Varick St, returning<BR>
<BR>
[<BR>
{<BR>
place_id: "5108296943",<BR>
licence: "Data © OpenStreetMap contributors, ODbL 1.0. <a href="http://www.openstreetmap.org/copyright">http://www.openstreetmap.org/copyright</a>",<BR>
boundingbox: [<BR>
40.726551,<BR>
40.726651,<BR>
-74.005572666667,<BR>
-74.005472666667<BR>
],<BR>
lat: "40.726601",<BR>
lon: "-74.0055226666667",<BR>
display_name: "160, Varick Street, West Village Houses, Greenwich Village, New York City, New York, 10013, United States of America",<BR>
class: "place",<BR>
type: "house",<BR>
importance: 0.715<BR>
}<BR>
]<BR>
<BR>
but on my local machine it returns<BR>
<BR>
[<BR>
{<BR>
place_id: "582751",<BR>
licence: "Data © OpenStreetMap contributors, ODbL 1.0. <a href="http://www.openstreetmap.org/copyright">http://www.openstreetmap.org/copyright</a>",<BR>
osm_type: "way",<BR>
osm_id: "46139034",<BR>
boundingbox: [<BR>
"40.7243995666504",<BR>
"40.7286033630371",<BR>
"-74.0060195922852",<BR>
"-74.0053100585938"<BR>
],<BR>
lat: "40.726435",<BR>
lon: "-74.005658",<BR>
display_name: "Varick Street, West Village Houses, Greenwich Village, New York City, New York, 10014, United States of America",<BR>
class: "highway",<BR>
type: "primary",<BR>
importance: 0.6<BR>
},<BR>
{<BR>
place_id: "610256",<BR>
licence: "Data © OpenStreetMap contributors, ODbL 1.0. <a href="http://www.openstreetmap.org/copyright">http://www.openstreetmap.org/copyright</a>",<BR>
osm_type: "way",<BR>
osm_id: "68675820",<BR>
boundingbox: [<BR>
"40.7182655334473",<BR>
"40.7204399108887",<BR>
"-74.0070571899414",<BR>
"-74.0066909790039"<BR>
],<BR>
lat: "40.7191033",<BR>
lon: "-74.0069601",<BR>
display_name: "Varick Street, Tribeca, Greenwich Village, New York City, New York, 10014, United States of America",<BR>
class: "highway",<BR>
type: "secondary",<BR>
importance: 0.6<BR>
}<BR>
]<BR>
<BR>
which seems to only find two points along the street.<BR>
<BR>
Any thoughts as to why the discrepancy, and if there is something I can do/load into my system to make it more precise?<BR>
<BR>
Thanks for your help,<BR>
<BR>
Steven Melendez<BR>
<BR>
</SPAN></FONT></BLOCKQUOTE>
</BODY>
</HTML>