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", "#": "Note the double tilde in 'service:bicycle' which interprets the key as regex too",
"or": [ "or": [
"pub~cycling|bicycle", "pub=cycling",
"theme~cycling|bicycle", "pub=bicycle",
"theme=cycling",
"theme=bicycle",
"service:bicycle:.*~~*" "service:bicycle:.*~~*"
] ]
} }

View file

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

View file

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