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

Special phrases return different results that amenity value #4404

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

Comments

@openstreetmap-trac
Copy link

Reporter: maacub
[Submitted to the original trac issue database at 8.55pm, Friday, 11th May 2012]

Hi! I'm searching on the same area by a special phrase or by a amenity value. But i'm getting different results. I want all the Camp Sites on my area map.

I read [http://wiki.openstreetmap.org/wiki/Nominatim/Special_Phrases/EN here] that the phrase "Camp Sites" has the amenity value: "camp_site".
And [http://wiki.openstreetmap.org/wiki/Nominatim#Parameters_1 here], I must use bounded and amenity value: for example a search query of just pub would normally be rejected but with bounded=1 will result in a list of items matching within the bounding box.

Search without results (same area): http://nominatim.openstreetmap.org/search?format=json&q=[camp_site]&viewbox=-5.772285461425781,43.57093929750569,-5.590667724609374,43.49303187500483&bounded=1&addressdetails=0&limit=100

Search with results (same area): http://nominatim.openstreetmap.org/search?format=json&q=Camp+Sites&viewbox=-5.772285461425781,43.57093929750569,-5.590667724609374,43.49303187500483&bounded=1&addressdetails=0&limit=100

Should not they give the same result? Am I doing something wrong? Thanks in advance!

@openstreetmap-trac
Copy link
Author

Author: twain
[Added to the original trac issue at 6.56pm, Saturday, 12th May 2012]

http://developer.mapquest.com/web/products/forums/-/message_boards/view_message/331285

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