source: subversion/sites/www.openstreetbrowser.org/render/overlay_ch.mml @ 17961

Last change on this file since 17961 was 16408, checked in by skunk, 11 years ago

Files missing (please don't ask me why)

File size: 1.6 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<!DOCTYPE Map>
3
4<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">
5   <Stylesheet src="overlay_ch.mss" />
6
7   <Layer class="routes" name="routes" 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">
8    <Datasource>
9      <Parameter name="type">postgis</Parameter>
10      <Parameter name="dbname">__DBNAME__</Parameter>
11      <Parameter name="table">
12      (select * from planet_osm_line_route where route in ('bicycle', 'mtb', 'foot', 'hiking') ) as routes
13      <!-- order by routelevel DESC -->
14      </Parameter>
15      <Parameter name="estimate_extent">false</Parameter>
16      <Parameter name="extent">-20037508,-19929239,20037508,19929239</Parameter>
17    </Datasource>
18   </Layer>
19   <Layer class="routestext" name="routes-text" 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">
20    <StyleName>routes-text</StyleName>
21    <Datasource>
22      <Parameter name="type">postgis</Parameter>
23      <Parameter name="dbname">__DBNAME__</Parameter>
24      <Parameter name="table">
25      (select route_refs as ref, way, importance, route from planet_osm_line_routes_text where route in ('foot', 'hiking', 'bicycle', 'mtb')) as routes
26      </Parameter>
27      <Parameter name="estimate_extent">false</Parameter>
28      <Parameter name="extent">-20037508,-19929239,20037508,19929239</Parameter>
29    </Datasource>
30   </Layer>
31</Map>
Note: See TracBrowser for help on using the repository browser.