Add tree theme

This commit is contained in:
Midgard 2020-12-24 16:43:38 +01:00
parent 62b5283487
commit 9b27175553
Signed by untrusted user who does not match committer: midgard
GPG key ID: 511C112F1331BBB4
5 changed files with 268 additions and 0 deletions

View file

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="128" height="128" version="1.1" viewBox="0 0 33.867 33.867" xmlns="http://www.w3.org/2000/svg">
<defs>
<filter id="a" x="-.16333" y="-.56099" width="1.3267" height="2.122" color-interpolation-filters="sRGB">
<feGaussianBlur stdDeviation="1.3242792"/>
</filter>
</defs>
<path transform="matrix(1.0606 0 0 1.0606 1.5965 -.46043)" d="m27.113 26.059a0.71058 3.7759 85.75 0 0-3.6012 0.35712 0.71058 3.7759 85.75 0 0-2.1317-0.23496 0.71058 3.7759 85.75 0 0-4.8556 0.76202 0.71058 3.7759 85.75 0 0-0.18629 0.1412 0.71058 3.7759 85.75 0 0-4.3148 0.75334 0.71058 3.7759 85.75 0 0 0.79865 0.68719 0.71058 3.7759 85.75 0 0-1.0956 0.37109 0.71058 3.7759 85.75 0 0 2.188 0.76179 0.71058 3.7759 85.75 0 0 1.6611-0.0755 0.71058 3.7759 85.75 0 0 0.58626 0.20634c-1.5838 0.81344-3.6502 1.7689-4.912 1.9358h7.0625c-0.60825-0.19743 0.65221-1.1436 1.8931-1.9461a0.71058 3.7759 85.75 0 0 0.93103-0.13962 0.71058 3.7759 85.75 0 0 1.0734 0.04147 0.71058 3.7759 85.75 0 0 4.8559-0.7619 0.71058 3.7759 85.75 0 0 0.15959-0.41335 0.71058 3.7759 85.75 0 0 3.239-0.69023 0.71058 3.7759 85.75 0 0-1.7499-0.75559 0.71058 3.7759 85.75 0 0 0.59318-0.23823 0.71058 3.7759 85.75 0 0-2.1873-0.7619 0.71058 3.7759 85.75 0 0-0.0073 0z" filter="url(#a)" opacity=".29293"/>
<g transform="translate(0 .76687)" fill="none" stroke="#165016" stroke-linejoin="round" stroke-miterlimit="10" stroke-width=".52917">
<path d="m21.03 32.418c-1.8067-1.7285-1.7137-15.264-1.7137-15.264h-4.0032s0.11655 13.807-1.7137 15.264c2.2456 0.5569 4.9219 0.54751 7.4306 0z" fill="#784421" stroke="#520" stroke-linejoin="miter"/>
<g stroke-linecap="round">
<path d="m19.853 4.8651a3.7053 3.7053 0 0 0-3.1308 1.7364 3.7053 3.7053 0 0 0-2.6756-1.1422 3.7053 3.7053 0 0 0-3.7051 3.7056 3.7053 3.7053 0 0 0 0.06413 0.68699 3.7053 3.7053 0 0 0-3.1522 3.6638 3.7053 3.7053 0 0 0 2.1066 3.3422 3.7053 3.7053 0 0 0-0.46933 1.8044 3.7053 3.7053 0 0 0 3.7056 3.7051 3.7053 3.7053 0 0 0 1.6082-0.3673 3.7053 3.7053 0 0 0 3.0793 1.6441 3.7053 3.7053 0 0 0 2.8757-1.3696 3.7053 3.7053 0 0 0 1.2054 0.20163 3.7053 3.7053 0 0 0 3.7056-3.7051 3.7053 3.7053 0 0 0-0.59322-2.0104 3.7053 3.7053 0 0 0 2.1363-3.3567 3.7053 3.7053 0 0 0-3.2333-3.675 3.7053 3.7053 0 0 0 0.18559-1.1583 3.7053 3.7053 0 0 0-3.7051-3.7056 3.7053 3.7053 0 0 0-0.0078 0z" fill="#008000"/>
<path d="m21.229 15.95a3.5456 3.5456 0 0 1-3.4112 3.5431"/>
<path d="m16.184 13.936a3.5456 3.5456 0 0 1-3.5885-3.3633"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.4 KiB

View file

@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="128" height="128" version="1.1" viewBox="0 0 33.867 33.867" xmlns="http://www.w3.org/2000/svg">
<defs>
<filter id="b" x="-.16846" y="-.43587" width="1.3369" height="1.8717" color-interpolation-filters="sRGB">
<feGaussianBlur stdDeviation="1.7102351"/>
</filter>
<filter id="a" x="-.16333" y="-.56099" width="1.3267" height="2.122" color-interpolation-filters="sRGB">
<feGaussianBlur stdDeviation="1.3242792"/>
</filter>
</defs>
<g transform="matrix(.59509 0 0 .59735 4.4276 .4313)" stroke-width="1.6772">
<path d="m45.072 25.609s-4.3968 1.9622-10.803 2.6422h3.8669c-3.1633 0.85532-6.287 1.5722-9.3052 1.9198h5.071c-3.6883 0.97533-7.3283 1.7825-10.854 2.1886h9.0491c-2.0764 1.1751-4.5118 2.4302-5.8222 2.6662h7.4306c-0.46758-0.27753 1.0808-1.5116 2.7294-2.6662h9.0429c-2.2252-0.40606-3.2802-1.2132-3.845-2.1886h5.071c-1.905-0.34762-2.7329-1.0645-3.1571-1.9198h3.8669c-4.1871-0.67966-2.3413-2.6422-2.3413-2.6422z" filter="url(#b)" opacity=".3" stroke-width="2.4757"/>
<g transform="translate(13.141 1.8094)" fill="none" stroke="#165016" stroke-miterlimit="10">
<path d="m20.645 33.176c-1.8067-1.7285-1.7137-15.264-1.7137-15.264h-4.0032s0.11655 13.807-1.7137 15.264c2.2456 0.5569 4.9219 0.54751 7.4306 0z" fill="#784421" stroke="#520" stroke-width=".88755"/>
<path d="m10.361 11.879h3.867c-1.7937 2.6889-3.7699 4.9427-6.2315 6.0355h5.0715c-2.1265 3.0662-4.4741 5.6036-7.3495 6.8802h22.429c-2.8754-1.2765-5.223-3.814-7.3495-6.8802h5.0715c-2.4616-1.0928-4.4378-3.3466-6.2315-6.0355h3.867c-5.2755-2.1367-6.572-8.3063-6.572-8.3063s-1.2545 6.1686-6.572 8.3063z" fill="#008000" stroke-width=".88755"/>
<path d="m19.989 20.875c0.99191 1.4962 2.5714 2.2156 2.5714 2.2156l-2.396-0.39422" stroke-width=".44378"/>
</g>
</g>
<g transform="translate(-6.4827 -1.3428)">
<path transform="matrix(1.0606 .00072439 .0040455 1.2568 1.4796 -6.6973)" d="m27.113 26.059a0.71058 3.7759 85.75 0 0-3.6012 0.35712 0.71058 3.7759 85.75 0 0-2.1317-0.23496 0.71058 3.7759 85.75 0 0-4.8556 0.76202 0.71058 3.7759 85.75 0 0-0.18629 0.1412 0.71058 3.7759 85.75 0 0-4.3148 0.75334 0.71058 3.7759 85.75 0 0 0.79865 0.68719 0.71058 3.7759 85.75 0 0-1.0956 0.37109 0.71058 3.7759 85.75 0 0 2.188 0.76179 0.71058 3.7759 85.75 0 0 1.6611-0.0755 0.71058 3.7759 85.75 0 0 0.58626 0.20634c-1.5838 0.81344-3.6502 1.7689-4.912 1.9358h7.0625c-0.60825-0.19743 0.65221-1.1436 1.8931-1.9461a0.71058 3.7759 85.75 0 0 0.93103-0.13962 0.71058 3.7759 85.75 0 0 1.0734 0.04147 0.71058 3.7759 85.75 0 0 4.8559-0.7619 0.71058 3.7759 85.75 0 0 0.15959-0.41335 0.71058 3.7759 85.75 0 0 3.239-0.69023 0.71058 3.7759 85.75 0 0-1.7499-0.75559 0.71058 3.7759 85.75 0 0 0.59318-0.23823 0.71058 3.7759 85.75 0 0-2.1873-0.7619 0.71058 3.7759 85.75 0 0-0.0073 0z" filter="url(#a)" opacity=".29293" stroke-width=".91864"/>
<g transform="translate(0 .76687)" fill="none" stroke="#165016" stroke-linejoin="round" stroke-miterlimit="10" stroke-width=".52917">
<path d="m21.03 32.418c-1.8067-1.7285-1.7137-15.264-1.7137-15.264h-4.0032s0.11655 13.807-1.7137 15.264c2.2456 0.5569 4.9219 0.54751 7.4306 0z" fill="#784421" stroke="#520" stroke-linejoin="miter"/>
<g stroke-linecap="round">
<path d="m19.853 4.8651a3.7053 3.7053 0 0 0-3.1308 1.7364 3.7053 3.7053 0 0 0-2.6756-1.1422 3.7053 3.7053 0 0 0-3.7051 3.7056 3.7053 3.7053 0 0 0 0.06413 0.68699 3.7053 3.7053 0 0 0-3.1522 3.6638 3.7053 3.7053 0 0 0 2.1066 3.3422 3.7053 3.7053 0 0 0-0.46933 1.8044 3.7053 3.7053 0 0 0 3.7056 3.7051 3.7053 3.7053 0 0 0 1.6082-0.3673 3.7053 3.7053 0 0 0 3.0793 1.6441 3.7053 3.7053 0 0 0 2.8757-1.3696 3.7053 3.7053 0 0 0 1.2054 0.20163 3.7053 3.7053 0 0 0 3.7056-3.7051 3.7053 3.7053 0 0 0-0.59322-2.0104 3.7053 3.7053 0 0 0 2.1363-3.3567 3.7053 3.7053 0 0 0-3.2333-3.675 3.7053 3.7053 0 0 0 0.18559-1.1583 3.7053 3.7053 0 0 0-3.7051-3.7056 3.7053 3.7053 0 0 0-0.0078 0z" fill="#008000"/>
<path d="m21.229 15.95a3.5456 3.5456 0 0 1-3.4112 3.5431"/>
<path d="m16.184 13.936a3.5456 3.5456 0 0 1-3.5885-3.3633"/>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 4 KiB

View file

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="128" height="128" version="1.1" viewBox="0 0 33.867 33.867" xmlns="http://www.w3.org/2000/svg">
<defs>
<filter id="a" x="-.16846" y="-.43587" width="1.3369" height="1.8717" color-interpolation-filters="sRGB">
<feGaussianBlur stdDeviation="1.7102351"/>
</filter>
</defs>
<path d="m31.931 23.799s-4.3968 1.9622-10.803 2.6422h3.8669c-3.1633 0.85532-6.287 1.5722-9.3052 1.9198h5.071c-3.6883 0.97533-7.3283 1.7825-10.854 2.1886h9.0491c-2.0764 1.1751-4.5118 2.4302-5.8222 2.6662h7.4306c-0.46758-0.27753 1.0808-1.5116 2.7294-2.6662h9.0429c-2.2252-0.40606-3.2802-1.2132-3.845-2.1886h5.071c-1.905-0.34762-2.7329-1.0645-3.1571-1.9198h3.8669c-4.1871-0.67966-2.3413-2.6422-2.3413-2.6422z" filter="url(#a)" opacity=".3"/>
<g fill="none" stroke="#165016" stroke-miterlimit="10">
<path d="m20.645 33.176c-1.8067-1.7285-1.7137-15.264-1.7137-15.264h-4.0032s0.11655 13.807-1.7137 15.264c2.2456 0.5569 4.9219 0.54751 7.4306 0z" fill="#784421" stroke="#520" stroke-width=".52917"/>
<path d="m10.361 11.879h3.867c-1.7937 2.6889-3.7699 4.9427-6.2315 6.0355h5.0715c-2.1265 3.0662-4.4741 5.6036-7.3495 6.8802h22.429c-2.8754-1.2765-5.223-3.814-7.3495-6.8802h5.0715c-2.4616-1.0928-4.4378-3.3466-6.2315-6.0355h3.867c-5.2755-2.1367-6.572-8.3063-6.572-8.3063s-1.2545 6.1686-6.572 8.3063z" fill="#008000" stroke-width=".52917"/>
<path d="m19.989 20.875c0.99191 1.4962 2.5714 2.2156 2.5714 2.2156l-2.396-0.39422" stroke-width=".26459"/>
<path d="m15.62 18.566c-0.99191 1.4962-2.5714 2.2156-2.5714 2.2156l2.396-0.39422" stroke-width=".26459"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.6 KiB

View file

@ -0,0 +1,190 @@
{
"id": "trees",
"title": {
"nl": "Bomen",
"en": "Trees"
},
"shortDescription": {
"nl": "Breng bomen in kaart",
"en": "Map all the trees"
},
"description": {
"nl": "Breng bomen in kaart!",
"en": "Map all the trees!"
},
"language": [
"nl",
"en"
],
"maintainer": "Midgard",
"icon": "./assets/themes/trees/logo.svg",
"version": "0",
"startLat": 50.642,
"startLon": 4.482,
"startZoom": 8,
"widenFactor": 0.05,
"socialImage": "./assets/themes/trees/logo.svg",
"layers": [
{
"id": "tree",
"name": {
"nl": "Boom",
"en": "Tree"
},
"minzoom": 18,
"overpassTags": {
"and": [
"natural=tree"
]
},
"title": {
"render": {
"nl": "Boom",
"en": "Tree"
},
"mappings": []
},
"description": {
"nl": ""
},
"tagRenderings": [
{
"render": {
"nl": "Bladertype van deze boom:",
"en": "Leaf type of this tree:"
},
"question": {
"nl": "Is dit een naald- of loofboom?",
"en": "Is this a broadleaved or needleleaved tree?"
},
"mappings": [
{
"if": {
"and": [
"leaf_type=broadleaved"
]
},
"then": {
"nl": "<img src=\"./assets/themes/trees/broadleaved.svg\" style=\"width:1.5em;height:1.5em\" alt=\"\"/> loofboom",
"en": "<img src=\"./assets/themes/trees/broadleaved.svg\" style=\"width:1.5em;height:1.5em\" alt=\"\"/> broadleaved"
}
},
{
"if": {
"and": [
"leaf_type=needleleaved"
]
},
"then": {
"nl": "<img src=\"./assets/themes/trees/needleleaved.svg\" style=\"width:1.5em;height:1.5em\" alt=\"\"/> naaldboom",
"en": "<img src=\"./assets/themes/trees/needleleaved.svg\" style=\"width:1.5em;height:1.5em\" alt=\"\"/> needleleaved"
}
},
{
"if": {
"and": [
"leaf_type=needleleaved"
]
},
"then": {
"nl": "permanent bladloos",
"en": "permanently leafless"
}
}
]
},
{
"render": {
"nl": "Bladercyclus van deze boom:",
"en": "Leaf cycle of this tree:"
},
"question": {
"nl": "Is deze boom bladhoudend of bladverliezend?",
"en": "Is this tree evergreen or deciduous?"
},
"freeform": {
"key": null,
"addExtraTags": []
},
"mappings": [
{
"if": {
"and": [
"leaf_cycle=deciduous"
]
},
"then": {
"nl": "bladverliezend (is een periode van het jaar kaal)",
"en": "deciduous (loses leaves for some time of the year)"
}
},
{
"if": {
"and": [
"leaf_cycle=evergreen"
]
},
"then": {
"nl": "bladhoudend",
"en": "evergreen"
}
}
],
"condition": {
"and": [
"leaf_type!~^leafless$"
]
}
}
],
"hideUnderlayingFeaturesMinPercentage": 0,
"icon": {
"render": "./assets/themes/trees/unknown.svg",
"mappings": [
{
"if": {
"and": [
"leaf_type=broadleaved"
]
},
"then": "./assets/themes/trees/broadleaved.svg"
},
{
"if": {
"and": [
"leaf_type=needleleaved"
]
},
"then": "./assets/themes/trees/needleleaved.svg"
}
]
},
"width": {
"render": "8"
},
"iconSize": {
"render": "40,40,bottom"
},
"color": {
"render": "#00f"
},
"presets": [
{
"tags": [
"natural=tree"
],
"title": {
"nl": "Boom",
"en": "Tree"
},
"description": {
"nl": "Gebruik indien mogelijk de luchtfoto's om de boom zo nauwkeurig mogelijk te plaatsen.",
"en": "Use the aerial photos (if available) to position the tree as accurately as possible."
}
}
]
}
],
"roamingRenderings": [],
"defaultBackgroundId": "AGIV"
}

View file

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="128" height="128" version="1.1" viewBox="0 0 33.867 33.867" xmlns="http://www.w3.org/2000/svg">
<defs>
<filter id="a" x="-.17028" y="-.42413" width="1.3406" height="1.8483" color-interpolation-filters="sRGB">
<feGaussianBlur stdDeviation="1.7601899"/>
</filter>
</defs>
<path d="m20.596 33.189c-0.43004-0.27828 1.0053-1.4674 2.6144-2.6306 0.35911-0.06324 0.71398-0.13674 1.0544-0.22221 0.31765 0.04484 0.68862 0.06787 1.0988 0.06788 2.0463 5.5e-5 4.5784-0.55726 5.6551-1.2447 0.37513-0.23961 0.53656-0.47424 0.46462-0.67549 1.6239-0.20467 3.1452-0.64421 3.9022-1.1275 0.98053-0.62614 0.01511-1.0945-1.7087-1.1742 0.25238-0.48289-0.04797-0.7918-0.19158-0.90291-1.136-0.87881-0.13703-2.0504-0.13703-2.0504l5.5e-5 -3.5e-5s-4.4995 2.0722-10.942 2.7903h3.867c-3.2083 0.9033-6.3707 1.6606-9.4072 2.0277h5.0716c-3.7396 1.0301-7.4222 1.8825-10.969 2.3113l5.7295 0.0085c0.54033 8.08e-4 1.1437-0.04353 1.7557-0.12256 0.04997 0.11712 0.18041 0.21785 0.37689 0.3005-2.0688 1.189-4.4035 2.4066-5.6654 2.6445" filter="url(#a)" opacity=".3" stroke-miterlimit="10" stroke-width=".26458"/>
<path d="m20.645 33.169c-1.8067-1.7285-1.7137-15.264-1.7137-15.264h-4.0032s0.11655 13.807-1.7137 15.264c2.2456 0.5569 4.9219 0.54751 7.4306 0z" fill="#784421" stroke="#520" stroke-miterlimit="10" stroke-width=".52917"/>
<g stroke="#165016" stroke-miterlimit="10" stroke-width=".52917">
<path d="m21.147 9.6232c-2.5123-2.616-3.3481-6.1036-3.3481-6.1036l-5e-5 6e-5s-1.2543 6.1683-6.5718 8.306h3.867c-1.7937 2.6889-3.7701 4.9431-6.2317 6.0359h5.0716c-2.1265 3.0662-4.4741 5.6037-7.3495 6.8803l5.7429 0.02532" fill="#008000"/>
<path d="m12.328 24.767c0.5416 0.0024 1.0755-0.12958 1.5637-0.36484 0.68782 1.0275 1.843 1.6444 3.0794 1.6444 1.1159-2.15e-4 2.1724-0.50369 2.8758-1.37 0.38787 0.13347 0.79492 0.20203 1.2051 0.20206 2.0464 1.66e-4 3.7056-1.6588 3.7058-3.7052-1.2e-4 -0.71326-0.20613-1.4117-0.59325-2.0108 1.3034-0.60924 2.1363-1.9177 2.1363-3.3564-5.7e-5 -1.8639-1.6989-3.2578-3.5475-3.4953-0.50386-1.4374-1.2881-2.3572-1.6057-2.6879" fill="#008000" stroke-linejoin="round"/>
<path d="m20.915 18.352a3.5456 3.5456 0 0 1-3.4112 3.5431" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</g>
<path d="m10.444 28.037 11.818-20.486" fill="none" stroke="#000" stroke-linecap="round" stroke-miterlimit="10" stroke-width=".52917"/>
</svg>

After

Width:  |  Height:  |  Size: 2.3 KiB