forked from MapComplete/MapComplete
Add parks and forests to etymology
This commit is contained in:
parent
d3550fefbe
commit
0c9ee8631e
3 changed files with 28 additions and 6 deletions
|
@ -24,8 +24,7 @@
|
|||
"nl": "Alle lagen met een gelinkt etymology"
|
||||
},
|
||||
"calculatedTags": [
|
||||
"_same_name_ids=feat.closestn('*', 250, undefined, 2500)?.filter(f => f.feat.properties.name === feat.properties.name)?.map(f => f.feat.properties.id)??[]",
|
||||
"_total_segments=JSON.parse(feat.properties._same_name_ids).length + 1 // Plus one for the feature itself"
|
||||
"_same_name_ids=feat.closestn('*', 250, undefined, 2500)?.filter(f => f.feat.properties.name === feat.properties.name)?.map(f => f.feat.properties.id)??[]"
|
||||
],
|
||||
"tagRenderings": [
|
||||
{
|
||||
|
|
|
@ -45,6 +45,30 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"builtin": "etymology",
|
||||
"override": {
|
||||
"id": "parks_and_forests_without_etymology",
|
||||
"name": {
|
||||
"en": "Parks and forests without etymology information",
|
||||
"nl": "Parken en bossen zonder etymologische informatie"
|
||||
},
|
||||
"minzoom": 18,
|
||||
"source": {
|
||||
"osmTags": {
|
||||
"and": [
|
||||
"name~*",
|
||||
{
|
||||
"or": [
|
||||
"leisure=park",
|
||||
"landuse=forest"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"hideFromOverview": true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue