source: subversion/sites/www.openstreetbrowser.org/render/boundaries.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.7 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<!DOCTYPE Map>
3<Map bgcolor="#b5d0d0" 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">
4   <Stylesheet src="boundaries.mss" />
5
6  <Layer class="world1" status="on" srs="+proj=merc +datum=WGS84 +over">
7    <StyleName>world1</StyleName>
8    <Datasource>
9      <Parameter name="type">shape</Parameter>
10      <Parameter name="file">/scratch/mapnik/data/world_boundaries/world_boundaries_m</Parameter>
11    </Datasource>
12  </Layer>
13  <Layer class="world" status="on" srs="+proj=merc +datum=WGS84 +over">
14    <StyleName>world</StyleName>
15    <Datasource>
16      <Parameter name="type">shape</Parameter>
17      <Parameter name="file">/scratch/mapnik/data/world_boundaries/world_bnd_m</Parameter>
18    </Datasource>
19  </Layer>
20
21  <Layer class="coastpoly" 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">
22    <StyleName>coast-poly</StyleName>
23    <Datasource>
24      <Parameter name="type">shape</Parameter>
25      <Parameter name="file">/scratch/mapnik/data/world_boundaries/processed_p</Parameter>
26    </Datasource>
27  </Layer>
28
29  <Layer class="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">
30    <Datasource>
31      <Parameter name="type">postgis</Parameter>
32      <Parameter name="dbname">__DBNAME__</Parameter>
33      <Parameter name="table">
34      (select * from planet_osm_boundaries_only) as admin</Parameter>
35      <Parameter name="estimate_extent">false</Parameter>
36      <Parameter name="extent">-20037508,-19929239,20037508,19929239</Parameter>
37    </Datasource>
38  </Layer>
39
40
41</Map>
Note: See TracBrowser for help on using the repository browser.