Unpacking some regexes for more accurate taginfo data
This commit is contained in:
parent
ce9b0eabb1
commit
0d637131fb
3 changed files with 20 additions and 7 deletions
|
@ -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:.*~~*"
|
||||
]
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue