2012-03-02 00:45:44 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!DOCTYPE Map>
|
2013-01-25 08:49:55 +00:00
|
|
|
<Map background-color="white" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
2012-03-02 00:45:44 +00:00
|
|
|
|
2013-01-25 08:49:55 +00:00
|
|
|
<Layer name="layer" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
2012-03-03 12:49:28 +00:00
|
|
|
<StyleName>My Style</StyleName>
|
|
|
|
<Datasource>
|
2013-05-21 05:15:52 +00:00
|
|
|
<Parameter name="type">csv</Parameter>
|
|
|
|
<Parameter name="file">../data/lines.csv</Parameter>
|
2012-03-03 12:49:28 +00:00
|
|
|
</Datasource>
|
|
|
|
</Layer>
|
2012-03-02 00:45:44 +00:00
|
|
|
|
|
|
|
<Style name="My Style">
|
2012-03-03 12:49:28 +00:00
|
|
|
<Rule>
|
2013-05-21 04:44:43 +00:00
|
|
|
<Filter>[mapnik::geometry_type]=linestring</Filter>
|
2012-03-03 12:49:28 +00:00
|
|
|
<LineSymbolizer stroke-width="12" stroke="red"/>
|
|
|
|
<TextSymbolizer face-name="DejaVu Sans Book" size="16" placement="line">[name]</TextSymbolizer>
|
|
|
|
</Rule>
|
|
|
|
</Style>
|
2012-03-02 00:45:44 +00:00
|
|
|
|
|
|
|
</Map>
|