First of all I am new to OpenStreetMap. I am using the following to reverse geocode a point http://nominatim.openstreetmap.org/reverse?format=xml&lat=40.35456&lon=-76.74331&zoom=18&addressdetails=1. The road (Linglestown Road), County (Dauphin), state (PA), and zip code (17112) returned are correct for the position, but the city returned is Holiday Park, PA which is in Allegheny County with a zip code of 15239 near Plum, PA (Pittsburg area)instead of Harrisburg, PA. Holiday Park (Longitude: -79.7092) is over 200 miles west of Harrisburg (Longitude: 76.74331 for the address). Is this a database error or what would cause the city to be incorrect? Thanks for any help with this. asked 24 Feb '14, 18:08 iTRAKDeveloper |
This appears to be a data issue, although I should add that this does not necessarily mean that the data are incorrect. It does mean that Nominatim is behaving as expected with its given inputs. According to OpenStreetMap there are two places coded as place=hamlet (probably incorrectly, many small areas of cities were so coded when GNIS data were imported) in PA. One is the one you refer to, Holiday Park, Allegheny Co, but the other is very close to your latlon reference in Dauphin Co. There are the two relevant nodes, and their associated Nominatim info: Many places in the US could do with better information regarding their relative status: in particular many places named hamlet would be better classified as suburbs, or neighbourhoods. In the main more information as to the bounds of the area a node refers to makes Nominatim's task easier. answered 24 Feb '14, 19:20 SK53 ♦ |