<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<title>Better Results on Openstreetmap.org than our own instance</title>
<style><!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">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>.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I had the same problem before, which is no house numbers, then the problem was solved after importing TIGER data.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hope this helps,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Aster
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Steven Melendez [mailto:smelendez@wnyc.org]
<br>
<b>Sent:</b> Friday, July 19, 2013 9:21 AM<br>
<b>To:</b> geocoding@openstreetmap.org<br>
<b>Subject:</b> [Geocoding] Better Results on Openstreetmap.org than our own instance<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">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</span><o:p></o:p></p>
</div>
</body>
</html>