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
 
/* COLOUR-CODED LANDUSE */
 
[out:json];
(
// Ljubljana outline
area[name="Ljubljana"]->.a;
relation[name="Ljubljana"][boundary]->.boundary;
 
wr(area.a)
[landuse~"residential|industrial|commercial|retail|education|railway|religious|military"];
 
);
out body geom;
 
// Style
{{style:
node, area
{color:#aaa; fill-color:#aaa; symbol-size:4}
 
node[landuse=residential],
area[landuse=residential]
{color:blue; fill-color:blue}
 
node[landuse=education],
area[landuse=education]
{color:yellow; fill-color:yellow}
 
node[landuse=industrial],
area[landuse=industrial]
{color:brown; fill-color:brown}
 
node[landuse=commercial],
area[landuse=commercial]
{color:red; fill-color:red}
 
node[landuse=retail],
area[landuse=retail]
{color:orange; fill-color:orange}
 
node[landuse=religious],
area[landuse=religious]
{color:green; fill-color:green}
 
node[landuse=railway],
area[landuse=railway]
{color:black; fill-color:black}
 
relation[boundary]
{color:black; fill-color:none}
}}
2 km
Leaflet © OpenStreetMap contributors
1