<HTML>
<HEAD>
<TITLE>Better Results on Openstreetmap.org than our own instance</TITLE>
</HEAD>
<BODY>
<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>
</BODY>
</HTML>