-
Notifications
You must be signed in to change notification settings - Fork 1
/
boundary_cantons.xml
92 lines (85 loc) · 4.67 KB
/
boundary_cantons.xml
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
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE Map[
<!ENTITY db_settings SYSTEM "config/db_settings.inc.xml">
<!ENTITY font_settings SYSTEM "config/font_settings.inc.xml">
]>
<Map srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs +over" background-color="transparent" minimum-version="0.7.2">
&font_settings;
<!-- Styles circonscriptions législatives -->
<Style name="circonscription_legislative_simplified">
<Rule>
<MinScaleDenominator>500000</MinScaleDenominator>
<PolygonSymbolizer fill-opacity="0.3" fill="#81cf6e"/><LineSymbolizer stroke="#3a762b" stroke-width="1" stroke-opacity="0.9"/></Rule>
<Rule>
<MaxScaleDenominator>6000000</MaxScaleDenominator>
<MinScaleDenominator>500000</MinScaleDenominator>
<TextSymbolizer size="9" fill="black" fontset-name="fontset-bold" halo-radius="1" wrap-width="10">[name]</TextSymbolizer>
<TextSymbolizer dy="-10" size="9" fill="black" fontset-name="fontset-bold" halo-radius="1" wrap-width="10">[ref]</TextSymbolizer>
</Rule>
</Style>
<Style name="circonscription_legislative">
<Rule>
<MaxScaleDenominator>500000</MaxScaleDenominator>
<PolygonSymbolizer fill-opacity="0.3" fill="#81cf6e"/><LineSymbolizer stroke="#3a762b" stroke-width="1" stroke-opacity="0.9"/></Rule>
<Rule>
<MaxScaleDenominator>500000</MaxScaleDenominator>
<TextSymbolizer size="9" fill="black" fontset-name="fontset-bold" halo-radius="1" wrap-width="10">[name]</TextSymbolizer>
<TextSymbolizer dy="-10" size="9" fill="black" fontset-name="fontset-bold" halo-radius="1" wrap-width="10">[ref]</TextSymbolizer>
</Rule>
</Style>
<!-- Styles cantons -->
<Style name="cantons_simplified">
<Rule>
<MinScaleDenominator>500000</MinScaleDenominator>
<PolygonSymbolizer fill-opacity="0.3" fill="#f68913"/><LineSymbolizer stroke="#8c4d0a" stroke-width="1" stroke-opacity="0.9"/></Rule>
<Rule>
<MaxScaleDenominator>6000000</MaxScaleDenominator>
<MinScaleDenominator>500000</MinScaleDenominator>
<TextSymbolizer size="9" fill="black" fontset-name="fontset-bold" halo-radius="1" wrap-width="10">[name]</TextSymbolizer>
<TextSymbolizer dy="-10" size="9" fill="black" fontset-name="fontset-bold" halo-radius="1" wrap-width="10">[ref]</TextSymbolizer>
</Rule>
</Style>
<Style name="cantons">
<Rule>
<MaxScaleDenominator>500000</MaxScaleDenominator>
<PolygonSymbolizer fill-opacity="0.3" fill="#f68913"/><LineSymbolizer stroke="#8c4d0a" stroke-width="1" stroke-opacity="0.9"/></Rule>
<Rule>
<MaxScaleDenominator>500000</MaxScaleDenominator>
<TextSymbolizer size="9" fill="black" fontset-name="fontset-bold" halo-radius="1" wrap-width="10">[name]</TextSymbolizer>
<TextSymbolizer dy="-10" size="9" fill="black" fontset-name="fontset-bold" halo-radius="1" wrap-width="10">[ref]</TextSymbolizer>
</Rule>
</Style>
<!-- Cantons -->
<Layer name="cantons" status="on" srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs +over">
<StyleName>cantons</StyleName>
<Datasource>
&db_settings;
<Parameter name="table">
(select way,name,ref from planet_osm_polygon where boundary='political' AND hstore(tags)->'political_division' = 'canton') as cantons</Parameter>
</Datasource>
</Layer>
<Layer name="cantons_simplified" status="on" srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs +over">
<StyleName>cantons_simplified</StyleName>
<Datasource>
&db_settings;
<Parameter name="table">
(select way as way,name,ref from planet_osm_polygon where boundary='political' AND hstore(tags)->'political_division' = 'canton') as cantons</Parameter>
</Datasource>
</Layer>
<Layer name="circonscription_legislative" status="on" srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs +over">
<StyleName>circonscription_legislative</StyleName>
<Datasource>
&db_settings;
<Parameter name="table">
(select way,name,ref from planet_osm_polygon where boundary='political' AND hstore(tags)->'political_division' = 'circonscription_législative') as cantons</Parameter>
</Datasource>
</Layer>
<Layer name="circonscription_legislative_simplified" status="on" srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs +over">
<StyleName>circonscription_legislative_simplified</StyleName>
<Datasource>
&db_settings;
<Parameter name="table">
(select way as way,name,ref from planet_osm_polygon where boundary='political' AND hstore(tags)->'political_division' = 'circonscription_législative') as cantons</Parameter>
</Datasource>
</Layer>
</Map>