Changeset: 137465295
Delete spaces from cuisine list ("a; b" -> "a;b")
Closed by Graptemys
Tags
created_by | JOSM/1.5 (18746 en) |
---|
Discussion
-
Comment from Graptemys
Apologies for submitting a change with nodes in Alaska and New Zealand. But there are 1400 other nodes in between and on every continent. Even splitting it into chunks it would have covered most of the globe with at least one bounding box anyways.
-
Comment from cafije97
global seo services
https://www.mamba.agency/global-seo-services-in-singapore/ -
Comment from JeroenHoek
Bear in mind that a space after the semi-colon in multiple values isn't wrong:
https://wiki.openstreetmap.org/wiki/Semi-colon_value_separator
'cuisine=indian; italian' and 'cuisine=indian;italian' are equivalent. Mappers sometimes put the space in deliberately to make the combined value easier to read.
-
Comment from rayleigh1
I'd argue this changeset is worse than useless; using a space is more readable *and* correct.
-
Comment from Graptemys
The 1400 changes I made represent 0.3% of cuisines tags with semicolons, and just 0.1% of all cuisine tags. That is, 99.7% of people were already using the space-less separator.
IMO that's rare enough that data consumers shouldn't have to, or are likely to forget to, handle this case. But also 1400 is large enough that it's worth making sure the information for these restaurants can get used.
-
Comment from maro21
Was it a mechanical edit?
-
Comment from Graptemys
I did review every tag before making changes, and only changed tags that were already in list format. There were a few that had semicolons but were more like sentences or descriptions - these are bad and need to be fixed but I didn't just blindly remove spaces from them.
-
Comment from kihave5
To delete spaces from a cuisine list, you can use string manipulation functions. Here's an example in Python:
http://www.digitalplrdownloads.com
python
Copy code
cuisine_list = "a; b"
cuisine_list = cuisine_list.replace(" ", "")
The replace() function replaces all occurrences of a specified character with another character. In this case, we replace the space character with an empty string, effectively deleting the spaces. The resulting cuisine list will be "a;b".WordPress plug-ins are extensions that can be installed on a WordPress website to add functionality or enhance existing features. They can be easily installed and activated from the WordPress dashboard, allowing users to customize and extend the capabilities of their WordPress site without modifying the core code.
http://www.digitalplrdownloads.com -
Comment from kihave5
To delete spaces from a cuisine list such as "a; b" and convert it to "a;b", you can use the following code snippet in Python:
https://housekeeping.sg/en/window-glass-cleaning/
python
Copy code
cuisine_list = "a; b"
cuisine_list = cuisine_list.replace(" ", "")
In the code above, the replace() function is used to replace all occurrences of a space (" ") with an empty string (""). This will remove the spaces from the cuisine list. As for the additional word "window glass cleaning," it seems unrelated to the task of deleting spaces from the cuisine list. However, if you have any specific questions about window glass cleaning, I'll be happy to assist you further.
https://housekeeping.sg/en/window-glass-cleaning/
- Nikolaj Plads (33904761), v13
- Punjabi (34132710), v4
- Gramps Cafe (35028142), v4
- 46670393, v6
- Gurli (49138310), v11
- It’s Mirchi Healthy Indian (56233474), v6
- Бир Хаус (60545044), v3
- Magali (69620507), v5
- Mahl Anderz (74064170), v10
- Le Mandarin (75172514), v5
- Amelia Restaurant (80671829), v9
- Bon voyage (83997267), v9
- Venezia (85730283), v11
- Mistål Kitchen (88180043), v10
- Danyel's Döner (88898412), v9
- Alt Buir (89798012), v8
- Klockgrillen (89828622), v6
- Da Gigi (94218225), v6
- Vereinsgaststätte „Zur Hundehütt“ (95322387), v4
- Restaurant Salazar im Golfpark Kurpfalz (95811581), v7
Relations (2)
- 422044024, v8
- La Nonna (439323648), v8
- Friends Cafe (445460330), v8
- Little Clive (456713084), v5
- Buffet Lounge (479176254), v3
- Ristorante David (504657830), v11
- BauhausBistro von Allwörden (509284619), v5
- Il Gusto (509391461), v4
- 珍来 (Tinrai) (527990900), v4
- Hungry Eye (568514900), v8
- Town & Country Pizza & Pasta (568977569), v6
- Pizza & Kebab Specialisten (573693691), v9
- Ebbe's Mat & Dryck (576392902), v6
- Napoli (577318176), v4
- La Festa (587788993), v7
- The Lawns (598090601), v11
- Risto Peng (600425966), v6
- Elephant House (607060666), v4
- Queen Victoria (611380132), v6
- Maï Thai (613667908), v2
Welcome to OpenStreetMap!
OpenStreetMap is a map of the world, created by people like you and free to use under an open license.
Hosting is supported by Fastly, OSMF corporate members, and other partners.
https://openstreetmap.org/copyright | https://openstreetmap.org |
Copyright OpenStreetMap and contributors, under an open license |