From 11ddee04bff3f929bb77ed2c5743f7aa0342c007 Mon Sep 17 00:00:00 2001 From: brunnerpaul <63242083+brunnerpaul@users.noreply.github.com> Date: Mon, 1 May 2023 00:30:38 +0200 Subject: [PATCH] Simplified the filters - only giving the positive option, e.g. "Sells second hand bicycles" - deleted values for e.g. "Doesn't sell second hand bicycles" - deleted values for missing data --- assets/layers/bike_shop/bike_shop.json | 73 +++----------------------- 1 file changed, 6 insertions(+), 67 deletions(-) diff --git a/assets/layers/bike_shop/bike_shop.json b/assets/layers/bike_shop/bike_shop.json index fe7c54c80..7c35a16c4 100644 --- a/assets/layers/bike_shop/bike_shop.json +++ b/assets/layers/bike_shop/bike_shop.json @@ -825,18 +825,10 @@ "filter": [ "open_now", - + { "id": "sells_second-hand", "options": [ - { - "question": { - "en": "Sells second hand bicycles", - "de": "Verkauft gebrauchte Fahrräder", - "nl": "Verkoopt twedehands fietsen", - "it": "Vende biciclette usate" - } - }, { "question": { "en": "Sells second hand bicycles", @@ -850,33 +842,6 @@ "service:bicycle:second_hand=only" ] } - }, - { - "question": { - "en": "Only sells second hand bicycles", - "de": "Verkauft nur gebrauchte Fahrräder", - "nl": "Verkoopt enkel twedehands fietsen", - "it": "Vende solo biciclette usate" - }, - "osmTags":"service:bicycle:second_hand=only" - }, - { - "question": { - "en": "Doesn't sell second hand bicycles", - "de": "Verkauft keine gebrauchten Fahrräder", - "nl": "Verkoopt geen twedehands fietsen", - "it": "Non vende biciclette usate" - }, - "osmTags":"service:bicycle:second_hand=no" - }, - { - "question": { - "en": "No information about used bicycles yet", - "de": "Keine Information über gebrauchte Fahrräder", - "nl": "Geen informatie over twedehands fietsen", - "it": "Nessuna informazione sulle biciclette usate" - }, - "osmTags": "service:bicycle:second_hand=" } ] }, @@ -891,37 +856,11 @@ "it": "Offre riparazioni fai da te" } }, - { - "question": { - "en": "Offers DIY bike repair and provides tools", - "de": "Bietet Selbstreparatur an and stellt Werkzeug zur Verfügung", - "nl": "biedt doe-het-zelfreparaties aan en stelt gereedschap ter beschikking", - "it": "Offre riparazioni fai da te e fornisce strumenti" - }, - "osmTags": { - "or": [ - "service:bicycle:diy=yes", - "service:bicycle:diy=only" - ] - } - }, - { - "question": { - "en": "Doesn't offer DIY bike repair", - "de": "Bietet keine Selbstreparatur an", - "nl": "Biedt doe-het-zelfreparaties aan", - "it": "Non offre riparazioni fai da te" - }, - "osmTags":"service:bicycle:diy=no" - }, - { - "question": { - "en": "No information about DIY bike repair", - "de": "Keine Information über Selbstreparatur", - "nl": "Geen informatie over doe-het-zelfreparaties", - "it": "Nessuna informazione sulle riparazioni fai da te" - }, - "osmTags":"service:bicycle:diy=" + "osmTags": { + "or": [ + "service:bicycle:diy=yes", + "service:bicycle:diy=only" + ] } ] }