add tests for complex marker rendering functionality
This commit is contained in:
parent
6c984b4f13
commit
4d2eb73e3b
2 changed files with 66 additions and 0 deletions
66
tests/data/good_maps/marker_ellipse_transform.xml
Normal file
66
tests/data/good_maps/marker_ellipse_transform.xml
Normal file
|
@ -0,0 +1,66 @@
|
||||||
|
<Map srs="+init=epsg:4326" background-color="rgba(255,255,255,.5)">
|
||||||
|
|
||||||
|
<Style name="ellipse">
|
||||||
|
<Rule>
|
||||||
|
<MarkersSymbolizer
|
||||||
|
width="240"
|
||||||
|
height="240"
|
||||||
|
fill="steelblue"
|
||||||
|
fill-opacity=".7"
|
||||||
|
stroke="yellow"
|
||||||
|
stroke-width="16"
|
||||||
|
stroke-opacity=".3"
|
||||||
|
/>
|
||||||
|
<MarkersSymbolizer
|
||||||
|
width="100"
|
||||||
|
opacity=".5"
|
||||||
|
fill="darkorange"
|
||||||
|
comp-op="multiply"
|
||||||
|
transform="skewX(50)"
|
||||||
|
allow-overlap="true"
|
||||||
|
/>
|
||||||
|
<MarkersSymbolizer
|
||||||
|
width="100"
|
||||||
|
opacity=".5"
|
||||||
|
fill="darkred"
|
||||||
|
comp-op="color-burn"
|
||||||
|
transform="skewX(-50)"
|
||||||
|
allow-overlap="true"
|
||||||
|
/>
|
||||||
|
</Rule>
|
||||||
|
</Style>
|
||||||
|
|
||||||
|
<Layer name="layer" srs="+init=epsg:4326">
|
||||||
|
<StyleName>ellipse</StyleName>
|
||||||
|
<Datasource>
|
||||||
|
<Parameter name="type">csv</Parameter>
|
||||||
|
<Parameter name="inline">
|
||||||
|
x,y
|
||||||
|
2.5,2.5
|
||||||
|
</Parameter>
|
||||||
|
</Datasource>
|
||||||
|
</Layer>
|
||||||
|
|
||||||
|
<!-- points to frame data view -->
|
||||||
|
|
||||||
|
<Style name="frame">
|
||||||
|
<Rule>
|
||||||
|
<PointSymbolizer />
|
||||||
|
</Rule>
|
||||||
|
</Style>
|
||||||
|
|
||||||
|
<Layer name="frame" srs="+init=epsg:4326">
|
||||||
|
<StyleName>frame</StyleName>
|
||||||
|
<Datasource>
|
||||||
|
<Parameter name="type">csv</Parameter>
|
||||||
|
<Parameter name="inline">
|
||||||
|
x,y
|
||||||
|
0,0
|
||||||
|
5,0
|
||||||
|
0,5
|
||||||
|
5,5
|
||||||
|
</Parameter>
|
||||||
|
</Datasource>
|
||||||
|
</Layer>
|
||||||
|
|
||||||
|
</Map>
|
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
Loading…
Reference in a new issue