-
Notifications
You must be signed in to change notification settings - Fork 1
/
admin7.xml
48 lines (45 loc) · 2.35 KB
/
admin7.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
<?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;
<Style name="admin_simplified">
<Rule>
<MinScaleDenominator>500000</MinScaleDenominator>
<PolygonSymbolizer fill-opacity="0.3" fill="#FF1b13"/><LineSymbolizer stroke="#FF1b13" stroke-width="1" stroke-opacity="0.8"/></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="admin">
<Rule>
<MaxScaleDenominator>500000</MaxScaleDenominator>
<PolygonSymbolizer fill-opacity="0.3" fill="#FF1b13"/><LineSymbolizer stroke="#FF1b13" stroke-width="1" stroke-opacity="0.8"/></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>
<Layer name="admin" 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>admin</StyleName>
<Datasource>
&db_settings;
<Parameter name="table">
(select way,admin_level,name,ref from planet_osm_polygon where boundary='administrative' and admin_level='7' ) as admin</Parameter>
</Datasource>
</Layer>
<Layer name="admin_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>admin_simplified</StyleName>
<Datasource>
&db_settings;
<Parameter name="table">
(select way as way,name,ref from planet_osm_polygon where boundary='administrative' and admin_level='7' ) as admin</Parameter>
</Datasource>
</Layer>
</Map>