meta { title: "tree visualization"; author: "Панкратов Александр Владимирович https://www.openstreetmap.org/user/Sowa1980"; version: "1.6.2_2022-02-25"; description: "Visual display of trees and related objects"; icon: "iconka.png"; link: "https://github.com/Sowa1980/tree_validator_Styles"; } meta[lang=ru] { title: "Визуалия деревьев"; author: "Панкратов Александр Владимирович https://www.openstreetmap.org/user/Sowa1980"; description: "Визуальное отображение деревьев и сопутствующих объектов"; } /* Деревья Фруктовые 2 */ node[natural=tree][genus=Malus]::tt { text: eval("Яблоня"); text-color: Blue; font-size: 12; text-offset-y: 50; text-position: center; text-halo-radius: 3; text-halo-color: white; icon-image: Frukt/Malus.png; icon-width: 40; } node[natural=tree][genus=Pyrus]::tt { text: eval("Груша"); text-color: Blue; font-size: 12; text-offset-y: 50; text-position: center; text-halo-radius: 3; text-halo-color: white; icon-image: Frukt/Pyrus.png; icon-width: 30; } node[natural=tree][genus=Prunus]::tt { text: eval("Cлива"); text-color: Blue; font-size: 12; text-offset-y: 50; text-position: center; text-halo-radius: 3; text-halo-color: white; icon-image: Frukt/prugna5.png; icon-width: 40; } node[natural=tree][genus=Prunus][species=padus]::tt { text: eval("Черёмуха"); text-color: Blue; font-size: 12; text-offset-y: 50; text-position: center; text-halo-radius: 3; text-halo-color: white; icon-image: ; icon-width: 40; } node[natural=tree][genus=Prunus_subgen_Cerasus]::tt { text: eval("Вишня"); text-color: Blue; font-size: 12; text-offset-y: 50; text-position: center; text-halo-radius: 3; text-halo-color: white; icon-image: Frukt/Prunus_subgen_Cerasus.png; icon-width: 40; } node[natural=tree][genus=Prunus][species=armeniaca]::tt { text: eval("Абрикос"); text-color: Blue; font-size: 12; text-offset-y: 50; text-position: center; text-halo-radius: 3; text-halo-color: white; icon-image: Frukt/Prunus_armeniaca.png; icon-width: 40; } node[natural=tree][genus=Prunus][species=persica]::tt { text: eval("Персик"); text-color: Blue; font-size: 12; text-offset-y: 50; text-position: center; text-halo-radius: 3; text-halo-color: white; icon-image: Frukt/Prunus_persica.png; icon-width: 40; } node[natural=tree][genus=Ficus][species=carica]::tt { text: eval("Инжир"); text-color: Blue; font-size: 12; text-offset-y: 50; text-position: center; text-halo-radius: 3; text-halo-color: white; icon-image: Frukt/Ficus_carica.png; icon-width: 40; } node[natural=tree][genus=Citrus][species=limon]::tt { text: eval("Лимон"); text-color: Blue; font-size: 12; text-offset-y: 50; text-position: center; text-halo-radius: 3; text-halo-color: white; icon-image: Frukt/limon.png; icon-width: 40; } node[natural=tree][genus=Hippophae]::tt { text: eval("Облепиха"); text-color: Blue; font-size: 12; text-offset-y: 50; text-position: center; text-halo-radius: 3; text-halo-color: white; icon-image: Frukt/Hippophae2.png; icon-width: 50; } /* Хвойные_Conifer 3 */ node[natural=tree][genus=Picea]::ttt { text: eval("Ель"); text-color: Blue; font-size: 12; text-offset-y: 50; text-position: center; text-halo-radius: 3; text-halo-color: white; icon-image: Conifer/Picea2.png; icon-width: 50; } node[natural=tree][genus=Thuja]::ttt { text: eval("Туя"); text-color: Blue; font-size: 12; text-offset-y: 50; text-position: center; text-halo-radius: 3; text-halo-color: white; icon-image: Conifer/Thuja.png; icon-width: 20; } node[natural=tree][genus=Cupressus]::ttt { text: eval("Кипарис"); text-color: Blue; font-size: 12; text-offset-y: 50; text-position: center; text-halo-radius: 3; text-halo-color: white; icon-image: Cypress.jpg; icon-width: 40; } node[natural=tree][genus=Larix]::ttt { text: eval("Лиственница"); text-color: Blue; font-size: 12; text-offset-y: 50; text-position: center; text-halo-radius: 3; text-halo-color: white; icon-image: listvennica.jpg; icon-width: 40; } node[natural=tree][genus=Pinus]::ttt { text: eval("Сосна"); text-color: Blue; font-size: 12; text-offset-y: 50; text-position: center; text-halo-radius: 3; text-halo-color: white; icon-image: Conifer/Pinus.png; icon-width: 40; } /* Деревья ягодняе 4 */ node[natural=tree][genus=Sorbus]::tttt { text: eval("Рябина"); text-color: Blue; font-size: 12; text-offset-y: 50; text-position: center; text-halo-radius: 3; text-halo-color: white; icon-image: berries/Sorbus_pf.png; icon-width: 40; } node[natural=tree][genus=Punica]::tttt { text: eval("Гранат"); text-color: Blue; font-size: 12; text-offset-y: 50; text-position: center; text-halo-radius: 3; text-halo-color: white; icon-image: Гранат1_pf.png; icon-width: 30; } /* Лиственные 5 */ node[natural=tree][genus=Populus]::ttttt { text: eval("Тополь"); text-color: Blue; font-size: 12; text-offset-y: 50; text-position: center; text-halo-radius: 3; text-halo-color: white; icon-image: ; icon-width: 40; } node[natural=tree][genus=Betula]::ttttt { text: eval("Берёза"); text-color: Blue; font-size: 12; text-offset-y: 50; text-position: center; text-halo-radius: 3; text-halo-color: white; icon-image: Deciduous/Betula.png; icon-width: 40; } node[natural=tree][genus=Acer]::ttttt { text: eval("Клён"); text-color: Blue; font-size: 12; text-offset-y: 50; text-position: center; text-halo-radius: 3; text-halo-color: white; icon-image: Deciduous/Acer.png; icon-width: 40; } node[natural=tree][genus=Salix]::ttttt { text: eval("Ива"); text-color: Blue; font-size: 12; text-offset-y: 50; text-position: center; text-halo-radius: 3; text-halo-color: white; icon-image: Deciduous/Salix2.png; icon-width: 40; } node[natural=tree][genus=Quercus]::ttttt { text: eval("Дуб"); text-color: Blue; font-size: 12; text-offset-y: 50; text-position: center; text-halo-radius: 3; text-halo-color: white; icon-image: Fagaceae/Quercus.png; icon-width: 40; } node[natural=tree][genus=Aesculus][species=hippocastanum]::ttttt { text: eval("Конский каштан"); text-color: Blue; font-size: 12; text-offset-y: 50; text-position: center; text-halo-radius: 3; text-halo-color: white; icon-image: Deciduous/Aesculus.png; icon-width: 50; } node[natural=tree][genus=Tilia]::ttttt { text: eval("Липа"); text-color: Blue; font-size: 12; text-offset-y: 50; text-position: center; text-halo-radius: 3; text-halo-color: white; icon-image: Deciduous/Tilia.png; icon-width: 50; } /* Кустарники 6 */ node[natural=tree][genus=Corylus]::tttttt { text: eval("Лещина обыкновенная"); text-color: Blue; font-size: 12; text-offset-y: 50; text-position: center; text-halo-radius: 3; text-halo-color: white; icon-image: bush/Corylus.png; icon-width: 40; } node[natural=tree][genus=Syringa]::tttttt { text: eval("Сирень"); text-color: Blue; font-size: 12; text-offset-y: 50; text-position: center; text-halo-radius: 3; text-halo-color: white; icon-image: bush/Syringa.png; icon-width: 40; } /* Многолетние Травы 7 */ node[genus=Musa]::ttttttt { text: eval("Банан"); text-color: Blue; font-size: 12; text-offset-y: 50; text-position: center; text-halo-radius: 3; text-halo-color: white; icon-image: Grass/Musa.png; icon-width: 40; } /* Дерево 8 */ node[!natural=tree]::tttttttt { icon-image: x.png; icon-width: 40; } /* Дерево без латинского названия 9 */ node[natural=tree][!genus]::ttttttttt { text: eval(" лат.- имя? "); text-color: red; font-size: 12; text-offset-y: 50; text-position: center; text-halo-radius: 3; text-halo-color: white; icon-image: x.png; icon-width: 40; } /* Дерево без русского названия 10 */ node[natural=tree][!genus:ru]::tttttttttt { text: eval(" рус.- имя? "); text-color: red; font-size: 12; text-offset-y: 20; text-position: center; text-halo-radius: 3; text-halo-color: white; icon-image: x.png; icon-width: 40; } /* Девево без указания Фен._цикл 11 */ node[natural=tree][!leaf_cycle]::ttttttttttt { text: eval("Фен._цикл?"); text-color: red; font-size: 12; text-offset-y: -20; text-position: center; text-halo-radius: 3; text-halo-color: white; icon-image: ; icon-width: 30; } /* Девево без указания Типа листьев 12 */ node[natural=tree][!leaf_type]::tttttttttttt { text: eval("Тип.листьев?"); text-color: red; font-size: 12; text-offset-y: -40; text-position: center; text-halo-radius: 3; text-halo-color: white; icon-image: ; icon-width: 30; } /* тест 14 */ node[natural=tree][genus=Test]::tttttttttttttt { text: eval("Тест"); text-color: Blue; font-size: 12; text-offset-y: 50; text-position: center; text-halo-radius: 3; text-halo-color: white; icon-image: X1.png; icon-width: 40; }