-
Notifications
You must be signed in to change notification settings - Fork 0
/
mapnik.mapcss
32 lines (28 loc) · 1.12 KB
/
mapnik.mapcss
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
<?xml version="1.0"?>
<!DOCTYPE Map>
<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="#0055ff">
<!-- Coastlines -->
<!-- Download Land Polygons (Large polygons split, Simplified not split) from http://openstreetmapdata.com/data in Mercator projection and unzipped in data/. -->
<Style name="coastpoly">
<Rule>
<PolygonSymbolizer fill="#f2efd9" />
</Rule>
</Style>
<Layer 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" maxzoom="1500001" >
<StyleName>coastpoly</StyleName>
<Datasource>
<Parameter name="type">shape</Parameter>
<Parameter name="file">data/land-polygons-split-3857/land_polygons.shp</Parameter>
</Datasource>
</Layer>
<!-- MapCSS style definition -->
<style type='text/mapcss'>
@import highway.mapcss
@import railway.mapcss
@import pipeline.mapcss
@import boundary.mapcss
@import waterway.mapcss
@import nature.mapcss
@import urban.mapcss
</style>
</Map>