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
87
88
89
90
91
92
93
94
95
96
97
98
 
// Suche nach Gemeindegrenz-Relationen mit verbundenen place-Nodes
// kein Kreis - place-node nicht mit Grenzrelation verbunden, Redundanzen vorhanden
// Roter Kreis - place-node mit Grenzrelation verbunden ODER unsichtbar, role ungeprüft, Redundanzen vorhanden
// Grüner Kreis - place-node mit Grenzrelation verbunden, role geprüft, Redundanzen beseitigt (Blauer Kreis ist Verwaltungssitz)
 
{{geocodeArea:"Landkreis Waldeck-Frankenberg"}}->.sA;
(
  node["place"="municipality"](area.sA);
  relation["boundary"="administrative"]["admin_level"="8"](area.sA);
  relation["boundary"="administrative"]["admin_level"="9"](area.sA);
  relation["boundary"="administrative"]["admin_level"="10"](area.sA);
 
);
 
(._; >;);
 
out meta;
 
{{style:
way{
    color: rgb(50, 50, 50);
    width:3;
  }
 
relation[admin_level=8]{
    color: rgb(50, 50, 50);
    width:3;
    fill-color: grey;
    fill-opacity: 0.3;
  }
 
relation[admin_level=9]{
    color: rgb(70, 50, 50);
    width: 1;
 
    fill-opacity: 0.3;
  }
 
relation[admin_level=10]{
    color: rgb(70, 50, 50);
    width: 1;
  }
 
 
node[!place]{
    opacity: 0;
    fill-opacity: 0;
    }
 
 
  node[place=suburb]{
    color: rgb(200, 20, 20);
    fill-color: rgb(200, 20, 20);
    width: 10;
    opacity: 0.6;
    }
  node[place=town][!description]{
    color: rgb(200, 20, 20);
    fill-color: rgb(200, 20, 20);
    width: 15;
    opacity: 0.6;
    }
  node[place=village][!description]{
    color: rgb(200, 20, 20);
    fill-color: rgb(200, 20, 20);
    width: 8;
    opacity: 0.6;
    }
  node[place=hamlet][!description]{
    color: rgb(200, 20, 20);
    fill-color: rgb(200, 20, 20);
    width: 5;
    opacity: 0.6;
    }
 
 
  node[place=municipality][note][!wikidata]{
    color: rgb(20, 100, 20);
    fill-color: rgb(20, 100, 20);
    width: 8;
    opacity: 0.5;
    }
  node[place=town][description]{
    color: rgb(20, 100, 150);
    width: 10;
    opacity: 0.4;
    fill-color: rgb(20, 100, 150);
    fill-opacity: 0.4;
    }
  node[place=village][description]{
    color: rgb(20, 100, 150);
    width: 4;
    opacity: 0.4;
    fill-color: rgb(20, 100, 150);
    fill-opacity: 0.4;
    }
 
}}
2 km
Leaflet © OpenStreetMap contributors
1