[Geocoding] [OpenStreetMap] #4373: Misspelled icon URL: dispensing instead of dispencing

OpenStreetMap trac at openstreetmap.org
Mon Apr 23 00:17:30 BST 2012


#4373: Misspelled icon URL: dispensing instead of dispencing
-----------------------------------+----------------------------------------
 Reporter:  linuxminded@…          |       Owner:  geocoding@…                
     Type:  defect                 |      Status:  new                        
 Priority:  minor                  |   Milestone:                             
Component:  nominatim              |     Version:                             
 Keywords:                         |  
-----------------------------------+----------------------------------------
 The query for
 [http://nominatim.openstreetmap.org/search.php?q=Nederhorst+den+Berg%2C+The+Netherlands
 Nederhorst den Berg, The Netherlands] returns among its results a pharmacy
 ([http://nominatim.openstreetmap.org/details.php?place_id=8699915 place_id
 8699915]) with a misspelled icon URL.

 It lists:

 http://nominatim.openstreetmap.org/images/mapicons/health_pharmacy_dispensing.p.20.png

 instead of:

 http://nominatim.openstreetmap.org/images/mapicons/health_pharmacy_dispencing.p.20.png

 A simple work around is to use replace() on the icon property of the JSON
 object:
 {{{
 data[i].icon.replace(/dispensing/, 'dispencing');
 }}}

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



More information about the Geocoding mailing list