Unpacking some regexes for more accurate taginfo data

This commit is contained in:
pietervdvn 2021-04-20 11:04:22 +02:00
parent ce9b0eabb1
commit 0d637131fb
3 changed files with 20 additions and 7 deletions

View file

@ -22,8 +22,10 @@
{
"#": "Note the double tilde in 'service:bicycle' which interprets the key as regex too",
"or": [
"pub~cycling|bicycle",
"theme~cycling|bicycle",
"pub=cycling",
"pub=bicycle",
"theme=cycling",
"theme=bicycle",
"service:bicycle:.*~~*"
]
}

View file

@ -10,11 +10,16 @@
"source": {
"osmTags": {
"or": [
"theme~cycling|bicycle",
"theme=bicycle",
"theme=cycling",
"sport=cycling",
"association~cycling|bicycle",
"ngo~cycling|bicycle",
"club~bicycle|cycling"
"association=cycling",
"association=bicycle",
"ngo=cycling",
"ngo=bicycle",
"club=bicycle",
"club=cycling"
]
}
},

View file

@ -165,7 +165,13 @@
"nl": "Laag waar je een straat als fietsstraat kan markeren"
},
"source": {
"osmTags": "highway~residential|tertiary|unclassified"
"osmTags": {
"or": [
"highway=residential",
"highway=tertiary",
"highway=unclassified"
]
}
},
"minzoom": 18,
"wayHandling": 0,