2012-03-04 02:04:43 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!DOCTYPE Map>
|
2013-01-25 09:49:55 +01:00
|
|
|
<Map background-color="white" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
2014-12-09 16:31:23 +01:00
|
|
|
<Parameters>
|
|
|
|
<Parameter name="sizes">800, 800; 600, 600; 400, 400; 200, 200</Parameter>
|
|
|
|
<Parameter name="bbox">-0.05, -0.01, 0.95, 0.01</Parameter>
|
|
|
|
</Parameters>
|
2012-03-04 02:04:43 +01:00
|
|
|
|
2013-01-25 09:49:55 +01:00
|
|
|
<Layer name="layer" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
2012-03-04 02:04:43 +01:00
|
|
|
<StyleName>My Style</StyleName>
|
|
|
|
<Datasource>
|
2013-05-21 07:15:52 +02:00
|
|
|
<Parameter name="type">csv</Parameter>
|
|
|
|
<Parameter name="file">../data/lines.csv</Parameter>
|
2012-03-04 02:04:43 +01:00
|
|
|
</Datasource>
|
|
|
|
</Layer>
|
|
|
|
|
|
|
|
<Style name="My Style">
|
|
|
|
<Rule>
|
2013-05-21 06:44:43 +02:00
|
|
|
<Filter>[mapnik::geometry_type]=linestring</Filter>
|
2012-03-04 02:04:43 +01:00
|
|
|
<LineSymbolizer stroke-width="12" stroke="red"/>
|
|
|
|
<TextSymbolizer face-name="DejaVu Sans Book" size="16" placement="line" spacing="20">[name]</TextSymbolizer>
|
|
|
|
</Rule>
|
|
|
|
</Style>
|
|
|
|
|
|
|
|
</Map>
|