-
Notifications
You must be signed in to change notification settings - Fork 1
/
note.xml
43 lines (41 loc) · 1.79 KB
/
note.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
<?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="note">
<Rule>
<MaxScaleDenominator>500000</MaxScaleDenominator>
<TextSymbolizer size="11" fill="#0000EE" fontset-name="fontset-bold" halo-radius="1" wrap-width="80">[note]</TextSymbolizer>
</Rule>
</Style>
<Layer name="note-ways" 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>note</StyleName>
<Datasource>
&db_settings;
<Parameter name="table">
(select tags->'note' as note,way from planet_osm_point where tags ? 'note') as roads
</Parameter>
</Datasource>
</Layer>
<Layer name="note-points" 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>note</StyleName>
<Datasource>
&db_settings;
<Parameter name="table">
(select tags->'note' as note,way from planet_osm_point where tags ? 'note') as points
</Parameter>
</Datasource>
</Layer>
<Layer name="note-polygones" 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>note</StyleName>
<Datasource>
&db_settings;
<Parameter name="table">
(select tags->'note' as note,way from planet_osm_polygon where tags ? 'note') as polygones
</Parameter>
</Datasource>
</Layer>
</Map>