[Geocoding] [OpenStreetMap] #4404: Special phrases return different results that amenity value

OpenStreetMap trac at openstreetmap.org
Sat May 12 11:33:48 BST 2012


#4404: Special phrases return different results that amenity value
-----------------------+----------------------------------------------------
 Reporter:  maacub     |       Owner:  geocoding@…                
     Type:  defect     |      Status:  new                        
 Priority:  minor      |   Milestone:                             
Component:  nominatim  |     Version:                             
 Keywords:             |  
-----------------------+----------------------------------------------------
 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!

-- 
Ticket URL: <https://trac.openstreetmap.org/ticket/4404>
OpenStreetMap <http://www.openstreetmap.org/>
OpenStreetMap is a free editable map of the whole world



More information about the Geocoding mailing list