1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
 
// ND Bäume in Kassel
// grün: Laubbaum
// braun: Nadelbaum
// https://wiki.openstreetmap.org/wiki/User:Jo_Cassel/Naturdenkmäler
 
// https://wiki.openstreetmap.org/wiki/Overpass_API/Overpass_QL#Output_Format_(out:)
[out:xml];
 
// https://wiki.openstreetmap.org/wiki/Overpass_API/Language_Guide#Selecting_areas_by_name
{{geocodeArea:"Kassel"}}->.sA;
 
// mit ref:
// https://wiki.openstreetmap.org/wiki/Overpass_API/Language_Guide#The_union_operator:_combining_results_and_forming_sets
 
(
  node["abandoned:natural"="tree"]["denotation"="natural_monument"]["ref"](area.sA);
 
);
 
 
// out;
out meta;
 
{{style:
/* http://wiki.openstreetmap.org/wiki/MapCSS/0.2 */
 
 
/* default test */
  node[natural=tree]{
    color: rgb(100, 45, 20);
    width: 2;
    opacity: 0.55;
    fill-color: brown;
    fill-opacity: 0.50;
    }
 
/* klein*/
  node[ref][leaf_type=broadleaved]{
    color: rgb(40, 150, 40);
    width: 8;
    opacity: 0.40;
    fill-color: brown;
    fill-opacity: 0.50;
    text:eval('tag("species:de")'); 
    }
 
/* mittel */
  node[circumference>4][ref][leaf_type=broadleaved]{
    color: rgb(40, 150, 40);
    width: 18;
    opacity: 0.60;
    fill-color: brown;
    fill-opacity: 0.50;
    text:eval('tag("species:de")'); 
    }
 
/* groß */
  node[circumference>5][ref][leaf_type=broadleaved]{
    color: rgb(40, 150, 40);
    width: 22;
    opacity: 0.60;
    fill-color: brown;
    fill-opacity: 0.50;
    text:eval('tag("species:de")'); 
    }
 
/* nl */
  node[ref][image][leaf_type=needleleaved]{
    color: rgb(150, 80, 20);
    width: 8;
    opacity: 0.40;
    fill-color: brown;
    fill-opacity: 0.50;
    text:eval('tag("species:de")');
    }
 
  node[circumference>4][ref][image][leaf_type=needleleaved]{
    color: rgb(150, 80, 20);
    width: 18;
    opacity: 0.60;
    fill-color: brown;
    fill-opacity: 0.50;
    text:eval('tag("species:de")');
    }
 
}}
1 km
Leaflet © OpenStreetMap contributors
1