-
Notifications
You must be signed in to change notification settings - Fork 1
/
admin10.xml
41 lines (39 loc) · 1.92 KB
/
admin10.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
<?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>200000</MinScaleDenominator>
<PolygonSymbolizer fill-opacity="0.3" fill="#03b0de"/></Rule>
</Style>
<Style name="admin">
<Rule>
<MaxScaleDenominator>200000</MaxScaleDenominator>
<PolygonSymbolizer fill-opacity="0.3" fill="#03b0de"/><LineSymbolizer stroke="#03b0de" stroke-width="1" stroke-opacity="0.8"/></Rule>
<Rule>
<MaxScaleDenominator>200000</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='10' ) 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='10' ) as admin</Parameter>
</Datasource>
</Layer>
</Map>