2013-10-24 06:59:14 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!DOCTYPE Map>
|
|
|
|
<!-- Minimal testcase for bug #1523. -->
|
|
|
|
<Map background-color="white" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
|
|
|
<Layer name="layer" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
|
|
|
<StyleName>My Style</StyleName>
|
|
|
|
<Datasource>
|
|
|
|
<Parameter name="type">osm</Parameter>
|
|
|
|
<Parameter name="file">../data/bug1533.osm</Parameter>
|
|
|
|
</Datasource>
|
|
|
|
</Layer>
|
|
|
|
|
|
|
|
<Style name="My Style">
|
|
|
|
<Rule>
|
|
|
|
<Filter>[type] != "boundary" and [mapnik::geometry_type]=linestring</Filter>
|
|
|
|
<LineSymbolizer stroke-width="1" stroke="red"/>
|
|
|
|
<MarkersSymbolizer file="shape://arrow" placement="line" transform="scale(.5,.5)"/>
|
2014-06-27 19:44:47 +00:00
|
|
|
<TextSymbolizer face-name="DejaVu Sans Book" size="10" placement="line" dy="10" allow-overlap="true">"right: -->"</TextSymbolizer>
|
|
|
|
<TextSymbolizer face-name="DejaVu Sans Book" size="10" placement="line" dy="-10" allow-overlap="true">"left: <--"</TextSymbolizer>
|
|
|
|
<TextSymbolizer face-name="DejaVu Sans Book" size="10" placement="line" allow-overlap="true"
|
2013-10-24 06:59:14 +00:00
|
|
|
placement-type="list">"left only <--"
|
2014-06-27 19:44:47 +00:00
|
|
|
<Placement>"right only -->"</Placement>
|
|
|
|
<Placement>"-->"</Placement>
|
|
|
|
<Placement>"<--"</Placement>
|
2013-10-24 06:59:14 +00:00
|
|
|
</TextSymbolizer>
|
|
|
|
</Rule>
|
|
|
|
</Style>
|
|
|
|
|
|
|
|
</Map>
|