-
Notifications
You must be signed in to change notification settings - Fork 1
/
noname.xml
29 lines (27 loc) · 1.28 KB
/
noname.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
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE Map[
<!ENTITY db_settings SYSTEM "config/db_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">
<Style name="without-name">
<Rule>
<MaxScaleDenominator>200000</MaxScaleDenominator>
<Filter>[junction]='roundabout'</Filter>
<LineSymbolizer stroke-linejoin="round" stroke="#e86b16" stroke-width="2" stroke-linecap="round"/>
</Rule>
<Rule>
<MaxScaleDenominator>200000</MaxScaleDenominator>
<ElseFilter/>
<LineSymbolizer stroke-linejoin="round" stroke="#e00" stroke-width="2" stroke-linecap="round"/>
</Rule>
</Style>
<Layer name="without-name" 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>without-name</StyleName>
<Datasource>
&db_settings;
<Parameter name="table">
(select * from planet_osm_line where highway in ('residential','living_street','unclassified','pedestrian','cycleway') and name is NULL and not (tags ? 'validate:no_name') ) as roads
</Parameter>
</Datasource>
</Layer>
</Map>