Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

amenity=hospital Found as Yes in Nominatim #4946

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment
Closed

amenity=hospital Found as Yes in Nominatim #4946

openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment

Comments

@openstreetmap-trac
Copy link

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
Copy link
Author

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant