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",
|
"#": "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:.*~~*"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -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"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue