openstreetmap / trac-tickets

Archived Trac Tickets
1 stars 1 forks source link

amenity=hospital Found as Yes in Nominatim #4946

Closed openstreetmap-trac closed 3 years ago

openstreetmap-trac commented 3 years ago

Reporter: cracklinrain [Submitted to the original trac issue database at 4.20pm, Monday, 12th August 2013]

There is a problem with nominatim. In the German search it finds hospitals as "Yes" instead of "Krankenhaus" (engl: hospital).

I guess this is related to the tag emergency=yes. It happens so with this way: http://www.openstreetmap.org/browse/way/14444280

Where emergency is the only key which has the value yes.

openstreetmap-trac commented 3 years ago

Author: lonvia [Added to the original trac issue at 6.24pm, Wednesday, 14th August 2013]

emergency=yes is used as a secondary tag there and shouldn't be indexed by Nominatim. Fixed in [https://github.com/openstreetmap/osm2pgsql/commit/0005c3312cdbddb51fdb749315d4c7df59daa82a osm2pgsql].

Please note that the DB has not been reindexed. That means that existing emergency=yes objects will only gradually disappear when the corresponding OSM objects are touched next time.