forked from MapComplete/MapComplete
		
	Add filter, move free to filters.json
This commit is contained in:
		
							parent
							
								
									337f91ef40
								
							
						
					
					
						commit
						51292cc529
					
				
					 3 changed files with 55 additions and 24 deletions
				
			
		| 
						 | 
				
			
			@ -173,6 +173,27 @@
 | 
			
		|||
          }
 | 
			
		||||
        }
 | 
			
		||||
      ]
 | 
			
		||||
    },
 | 
			
		||||
    {
 | 
			
		||||
      "id": "free",
 | 
			
		||||
      "options": [
 | 
			
		||||
        {
 | 
			
		||||
          "question": {
 | 
			
		||||
            "en": "Free to use",
 | 
			
		||||
            "nl": "Gratis toegankelijk",
 | 
			
		||||
            "de": "Nutzung kostenlos",
 | 
			
		||||
            "fr": "Utilisation gratuite",
 | 
			
		||||
            "da": "Gratis at bruge"
 | 
			
		||||
          },
 | 
			
		||||
          "osmTags": {
 | 
			
		||||
            "or": [
 | 
			
		||||
              "fee=no",
 | 
			
		||||
              "fee=0",
 | 
			
		||||
              "charge=0"
 | 
			
		||||
            ]
 | 
			
		||||
          }
 | 
			
		||||
        }
 | 
			
		||||
      ]
 | 
			
		||||
    }
 | 
			
		||||
  ]
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -12,7 +12,19 @@
 | 
			
		|||
      "en": "Shower"
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
  "presets": [],
 | 
			
		||||
  "presets": [
 | 
			
		||||
    {
 | 
			
		||||
      "title": {
 | 
			
		||||
        "en": "a shower"
 | 
			
		||||
      },
 | 
			
		||||
      "description": {
 | 
			
		||||
        "en": "A (public) shower"
 | 
			
		||||
      },
 | 
			
		||||
      "tags": [
 | 
			
		||||
        "amenity=shower"
 | 
			
		||||
      ]
 | 
			
		||||
    }
 | 
			
		||||
  ],
 | 
			
		||||
  "tagRenderings": [
 | 
			
		||||
    "images",
 | 
			
		||||
    "level",
 | 
			
		||||
| 
						 | 
				
			
			@ -118,7 +130,25 @@
 | 
			
		|||
      }
 | 
			
		||||
    }
 | 
			
		||||
  ],
 | 
			
		||||
  "filter": [],
 | 
			
		||||
  "filter": [
 | 
			
		||||
    "free",
 | 
			
		||||
    {
 | 
			
		||||
      "id": "hot-water",
 | 
			
		||||
      "options": [
 | 
			
		||||
        {
 | 
			
		||||
          "question": {
 | 
			
		||||
            "en": "Hot water available"
 | 
			
		||||
          },
 | 
			
		||||
          "osmTags": {
 | 
			
		||||
            "or": [
 | 
			
		||||
              "hot_water=yes",
 | 
			
		||||
              "hot_water=fee"
 | 
			
		||||
            ]
 | 
			
		||||
          }
 | 
			
		||||
        }
 | 
			
		||||
      ]
 | 
			
		||||
    }
 | 
			
		||||
  ],
 | 
			
		||||
  "deletion": {
 | 
			
		||||
    "softDeletionTags": {
 | 
			
		||||
      "and": [
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -646,27 +646,7 @@
 | 
			
		|||
        }
 | 
			
		||||
      ]
 | 
			
		||||
    },
 | 
			
		||||
    {
 | 
			
		||||
      "id": "free",
 | 
			
		||||
      "options": [
 | 
			
		||||
        {
 | 
			
		||||
          "question": {
 | 
			
		||||
            "en": "Free to use",
 | 
			
		||||
            "nl": "Gratis toegankelijk",
 | 
			
		||||
            "de": "Nutzung kostenlos",
 | 
			
		||||
            "fr": "Utilisation gratuite",
 | 
			
		||||
            "da": "Gratis at bruge"
 | 
			
		||||
          },
 | 
			
		||||
          "osmTags": {
 | 
			
		||||
            "or": [
 | 
			
		||||
              "fee=no",
 | 
			
		||||
              "fee=0",
 | 
			
		||||
              "charge=0"
 | 
			
		||||
            ]
 | 
			
		||||
          }
 | 
			
		||||
        }
 | 
			
		||||
      ]
 | 
			
		||||
    },
 | 
			
		||||
    "free",
 | 
			
		||||
    "open_now"
 | 
			
		||||
  ],
 | 
			
		||||
  "deletion": {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue