[Geocoding] Issue with nominatim in Alameda County California (Berkeley/Oakland)
David Chiles
dwalterc at gmail.com
Fri Jun 14 21:58:54 UTC 2013
I don't know how long it takes changes to get to Nominatim but I made the
changes to move Alameda (city) to a relation and the problem persists. I
made the change at Fri, 14 Jun 2013 17:40:00 GMT
I've done some more poking around to try to figure out what is exactly
going on and found some strange things.
These two locations get the wrong address information:
http://nominatim.openstreetmap.org/details.php?place_id=5983600865
http://nominatim.openstreetmap.org/details.php?place_id=17444405
But the Downtown Berkeley BART Station has the correct address:
http://nominatim.openstreetmap.org/details.php?place_id=5988439343
The places with the wrong city seem to get attached to the Alameda (city)
node http://www.openstreetmap.org/browse/node/150942648
Also some other weirdness in the place page for Berkeley, CA:
http://nominatim.openstreetmap.org/details.php?place_id=5984546934
seems to combine Oakland and Berkeley in the map view
Any ideas what else to try?
On Fri, Jun 14, 2013 at 10:23 AM, David Chiles <dwalterc at gmail.com> wrote:
> Thanks. I'll give that a try
>
>
> On Thu, Jun 13, 2013 at 10:34 PM, Sarah Hoffmann <lonvia at denofr.de> wrote:
>
>> Hi David,
>>
>> On Thu, Jun 13, 2013 at 03:15:48PM -0700, David Chiles wrote:
>> > I was using the reverse geocoding api to lookup city and streets. It
>> seems
>> > no matter where in Alameda County I query it returns Alameda as both the
>> > county and city.
>> >
>> > For example in Downtown Berkeley:
>> >
>> http://nominatim.openstreetmap.org/reverse?format=json&lat=37.87173&lon=-122.26842&zoom=18&addressdetails=1
>> >
>> > In Downtwon Oakland:
>> >
>> http://nominatim.openstreetmap.org/reverse?format=json&lat=37.80408&lon=-122.27028&zoom=18&addressdetails=1
>> >
>> > And it seems to work fine in a county and town just to the east:
>> >
>> http://nominatim.openstreetmap.org/reverse?format=json&lat=37.87674&lon=-122.17861&zoom=18&addressdetails=1
>> >
>> > I don't know where the problem lies. I couldn't find a problem with the
>> OSM
>> > relations
>>
>> Nominatim gets confused by the tiger:county tag on the streets in the
>> area.
>> It ends up prefering anything called Alameda in the address. Ultimately
>> that is a fault with Nominatim but not one that can be easily fixed.
>>
>> You can work around this bug by changing the city boundaries of Alameda
>> from a way to a boundary relation and adding the Alameda place node as
>> a label member to that relation. Then it will be automatically taken
>> out of the addresses.
>>
>> Boundary-Way: http://www.openstreetmap.org/browse/way/33083805
>> Place-Node: http://www.openstreetmap.org/browse/node/150942648
>>
>>
>> Sarah
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/geocoding/attachments/20130614/894ada47/attachment.html>
More information about the Geocoding
mailing list