Opened 6 years ago

Closed 6 years ago

#4373 closed defect (fixed)

Misspelled icon URL: dispensing instead of dispencing

Reported by: linuxminded@… Owned by: geocoding@…
Priority: minor Milestone:
Component: nominatim Version:
Keywords: Cc:


The query for Nederhorst den Berg, The Netherlands returns among its results a pharmacy (place_id 8699915) with a misspelled icon URL.

It lists:

instead of:

A simple work around is to use replace() on the icon property of the JSON object:

data[i].icon.replace(/dispensing/, 'dispencing');

Change History (2)

comment:1 Changed 6 years ago by linuxminded@…

Since dispensing is the proper spelling, fixing the images seems the correct approach.

I don't have a Github account to provide a fixed branch, but fixing the Nominatim git repo is easy:

for f in website/images/mapicons/health_pharmacy_dispencing.*;
    git mv $f $(echo $f | sed 's/dispencing/dispensing/g');
git commit -m 'Fix typo: health_pharmacy_dispencing -> health_pharmacy_dispensing'

comment:2 Changed 6 years ago by lonvia

  • Resolution set to fixed
  • Status changed from new to closed

Fixed and deployed.

Note: See TracTickets for help on using tickets.