I've installed my own nominatim server. I'm doing regular geocoding and reverse geocoding on a set of US street addresses. I have installed the Tiger 2014 edges dataset for the area I need.
Regular geocoding works down to house number level, however when I reverse geocode the lat/long just returned, it only returns street level address information. The same reverse query on the osm site gives full info down to house number, indicating something is wrong in my installation.
Any ideas what I'm missing? Why would it work in one direction but not the other?
As an example using a random address: on OSMForward: http://nominatim.openstreetmap.org/...unty=Westchester&addressdetails=1&format=jsonreturns
[{"place_id":"1673438575","licence":"Data © OpenStreetMap contributors, ODbL 1.0. http:\/\/www.openstreetmap.org\/copyright","boundingbox":["40.949405717663","40.949505717663","-73.825017138937","-73.824917138937"],"lat":"40.9494557176625","lon":"-73.8249671389366","display_name":"115, Main Street, Tuckahoe, Town of Eastchester, Westchester County, New York, 10707, United States of America","class":"place","type":"house","importance":0.401,"address":{"house_number":"115","road":"Main Street","village":"Tuckahoe","town":"Town of Eastchester","county":"Westchester County","state":"New York","postcode":"10707","country":"United States of America","country_code":"us"}}]Reverse http://nominatim.openstreetmap.org/...on=-73.8249671389366&zoom=18&addressdetails=1returns
{"place_id":"1673438575","licence":"Data © OpenStreetMap contributors, ODbL 1.0. http:\/\/www.openstreetmap.org\/copyright","lat":"40.9494557176625","lon":"-73.8249671389366","display_name":"115, Main Street, Tuckahoe, Town of Eastchester, Westchester County, New York, 10707, United States of America","address":{"house_number":"115","road":"Main Street","village":"Tuckahoe","town":"Town of Eastchester","county":"Westchester County","state":"New York","postcode":"10707","country":"United States of America","country_code":"us"}}On my local server, the forward: /nominatim/search?street=115+Main+St&city=tuckahoe&county=Westchester&addressdetails=1&format=json
returns
[{"place_id":"5680903","licence":"Data © OpenStreetMap contributors, ODbL 1.0. http:\/\/www.openstreetmap.org\/copyright","boundingbox":["40.949405717663","40.949505717663","-73.825017138937","-73.824917138937"],"lat":"40.9494557176625","lon":"-73.8249671389366","display_name":"115, Main Street, Tuckahoe, Town of Eastchester, Westchester County, 10707, United States of America","class":"place","type":"house","importance":0.401,"address":{"house_number":"115","road":"Main Street","village":"Tuckahoe","town":"Town of Eastchester","county":"Westchester County","postcode":"10707","country":"United States of America","country_code":"us"}}]However the reverse: /reverse?format=json&lat=40.9494557176625&lon=-73.8249671389366&zoom=18&addressdetails=1
Returns a different result, excluding house number:
{"place_id":"655388","licence":"Data © OpenStreetMap contributors, ODbL 1.0. http:\/\/www.openstreetmap.org\/copyright","osm_type":"way","osm_id":"62151965","lat":"40.949225","lon":"-73.8238199","display_name":"Main Street, Tuckahoe, Town of Eastchester, Westchester County, 10709, United States of America","address":{"road":"Main Street","village":"Tuckahoe","town":"Town of Eastchester","county":"Westchester County","postcode":"10709","country":"United States of America","country_code":"us"}}Any ideas? I assume the tiger data is installed correctly as it can forward geocode no problem.
FYI my nominatim version is the current release 2.4.0 and tiger file installed (2014) is for Westchester county tl_2014_36119_edges.zip
أكثر...
Regular geocoding works down to house number level, however when I reverse geocode the lat/long just returned, it only returns street level address information. The same reverse query on the osm site gives full info down to house number, indicating something is wrong in my installation.
Any ideas what I'm missing? Why would it work in one direction but not the other?
As an example using a random address: on OSMForward: http://nominatim.openstreetmap.org/...unty=Westchester&addressdetails=1&format=jsonreturns
[{"place_id":"1673438575","licence":"Data © OpenStreetMap contributors, ODbL 1.0. http:\/\/www.openstreetmap.org\/copyright","boundingbox":["40.949405717663","40.949505717663","-73.825017138937","-73.824917138937"],"lat":"40.9494557176625","lon":"-73.8249671389366","display_name":"115, Main Street, Tuckahoe, Town of Eastchester, Westchester County, New York, 10707, United States of America","class":"place","type":"house","importance":0.401,"address":{"house_number":"115","road":"Main Street","village":"Tuckahoe","town":"Town of Eastchester","county":"Westchester County","state":"New York","postcode":"10707","country":"United States of America","country_code":"us"}}]Reverse http://nominatim.openstreetmap.org/...on=-73.8249671389366&zoom=18&addressdetails=1returns
{"place_id":"1673438575","licence":"Data © OpenStreetMap contributors, ODbL 1.0. http:\/\/www.openstreetmap.org\/copyright","lat":"40.9494557176625","lon":"-73.8249671389366","display_name":"115, Main Street, Tuckahoe, Town of Eastchester, Westchester County, New York, 10707, United States of America","address":{"house_number":"115","road":"Main Street","village":"Tuckahoe","town":"Town of Eastchester","county":"Westchester County","state":"New York","postcode":"10707","country":"United States of America","country_code":"us"}}On my local server, the forward: /nominatim/search?street=115+Main+St&city=tuckahoe&county=Westchester&addressdetails=1&format=json
returns
[{"place_id":"5680903","licence":"Data © OpenStreetMap contributors, ODbL 1.0. http:\/\/www.openstreetmap.org\/copyright","boundingbox":["40.949405717663","40.949505717663","-73.825017138937","-73.824917138937"],"lat":"40.9494557176625","lon":"-73.8249671389366","display_name":"115, Main Street, Tuckahoe, Town of Eastchester, Westchester County, 10707, United States of America","class":"place","type":"house","importance":0.401,"address":{"house_number":"115","road":"Main Street","village":"Tuckahoe","town":"Town of Eastchester","county":"Westchester County","postcode":"10707","country":"United States of America","country_code":"us"}}]However the reverse: /reverse?format=json&lat=40.9494557176625&lon=-73.8249671389366&zoom=18&addressdetails=1
Returns a different result, excluding house number:
{"place_id":"655388","licence":"Data © OpenStreetMap contributors, ODbL 1.0. http:\/\/www.openstreetmap.org\/copyright","osm_type":"way","osm_id":"62151965","lat":"40.949225","lon":"-73.8238199","display_name":"Main Street, Tuckahoe, Town of Eastchester, Westchester County, 10709, United States of America","address":{"road":"Main Street","village":"Tuckahoe","town":"Town of Eastchester","county":"Westchester County","postcode":"10709","country":"United States of America","country_code":"us"}}Any ideas? I assume the tiger data is installed correctly as it can forward geocode no problem.
FYI my nominatim version is the current release 2.4.0 and tiger file installed (2014) is for Westchester county tl_2014_36119_edges.zip
أكثر...