mapnik/tests/visual_tests/styles/marker-vs-point.xml

78 lines
1.5 KiB
XML
Raw Normal View History

<Map srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs"
background-color="green"
background-image-opacity="0.8"
background-image-comp-op="screen"
background-image="../data/pattern.png">
2014-12-09 16:31:23 +01:00
<Parameters>
<Parameter name="sizes">512,512</Parameter>
</Parameters>
<Style name="markers">
<Rule>
<MarkersSymbolizer
width="60"
height="60"
file="../../data/svg/transparent_circle.svg"
/>
</Rule>
</Style>
<Style name="points">
<Rule>
<PointSymbolizer
file="../../data/svg/transparent_circle.svg"
/>
</Rule>
</Style>
<Layer name="layer" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
<StyleName>markers</StyleName>
<Datasource>
<Parameter name="type">csv</Parameter>
<Parameter name="inline">
x,y
-2.5,3
-2.5,0
-2.5,-3
</Parameter>
</Datasource>
</Layer>
2014-12-09 16:31:23 +01:00
<Layer name="layer" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
<StyleName>points</StyleName>
<Datasource>
<Parameter name="type">csv</Parameter>
<Parameter name="inline">
x,y
2.5,3
2.5,0
2.5,-3
</Parameter>
</Datasource>
</Layer>
2014-12-09 16:31:23 +01:00
<!-- points to frame data view -->
2014-12-09 16:31:23 +01:00
<Style name="frame">
<Rule>
<PointSymbolizer />
<DebugSymbolizer />
</Rule>
</Style>
2014-12-09 16:31:23 +01:00
<Layer name="frame" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
<StyleName>frame</StyleName>
<Datasource>
<Parameter name="type">csv</Parameter>
<Parameter name="inline">
x,y
-5,-5
5,-5
-5,5
5,5
</Parameter>
</Datasource>
</Layer>
2014-12-09 16:31:23 +01:00
</Map>