add visual test for #983
This commit is contained in:
parent
601ac60c87
commit
7b56c71b89
7 changed files with 172 additions and 1 deletions
|
@ -0,0 +1,137 @@
|
|||
{
|
||||
"keys": [
|
||||
"",
|
||||
"1"
|
||||
],
|
||||
"data": {},
|
||||
"grid": [
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" !!!! ",
|
||||
" !!!!!!!! ",
|
||||
" !!!!!!!!! ",
|
||||
" !!!!!!!!!!! ",
|
||||
" !!!!!!!!!!! ",
|
||||
" !!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!! !!! ",
|
||||
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!! !!!!! ",
|
||||
" !!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!! !!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!! !!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! !!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! !!!!!!!!!!! !",
|
||||
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! !!!!!!!!!!!! ! ",
|
||||
" !!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!! !!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!! !!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!! !!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!! !!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!! ",
|
||||
" ! !!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!! ",
|
||||
" !!!!! !!!!!!!!!!!!!!!!!!!!!!!! ",
|
||||
"! !!! !!!!!!!!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!!!!!! ",
|
||||
" !!!!!!!!!! ",
|
||||
" !!!!!!!!! ",
|
||||
" !!!!!!! ",
|
||||
" !!!!! ",
|
||||
" !!! ",
|
||||
" "
|
||||
]
|
||||
}
|
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
Binary file not shown.
After Width: | Height: | Size: 20 KiB |
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
Binary file not shown.
After Width: | Height: | Size: 16 KiB |
33
tests/visual_tests/styles/shield-on-line-and-avoid-edges.xml
Normal file
33
tests/visual_tests/styles/shield-on-line-and-avoid-edges.xml
Normal file
|
@ -0,0 +1,33 @@
|
|||
<Map>
|
||||
<Style name="line" filter-mode="first" >
|
||||
<Rule>
|
||||
<LineSymbolizer stroke="#000000" />
|
||||
</Rule>
|
||||
</Style>
|
||||
<Style name="point-placement" filter-mode="first" >
|
||||
<Rule>
|
||||
<ShieldSymbolizer
|
||||
allow-overlap="true"
|
||||
face-name="DejaVu Sans Book"
|
||||
file="shape://ellipse"
|
||||
placement="line"
|
||||
spacing="30"
|
||||
transform="scale(4,10)"
|
||||
fill="blue"
|
||||
avoid-edges="true"
|
||||
minimum-padding="5"
|
||||
clip="false">
|
||||
</ShieldSymbolizer>
|
||||
<DebugSymbolizer />
|
||||
</Rule>
|
||||
</Style>
|
||||
<Layer name="carto_tests">
|
||||
<StyleName>line</StyleName>
|
||||
<StyleName>point-placement</StyleName>
|
||||
<Datasource>
|
||||
<Parameter name="type">csv</Parameter>
|
||||
<Parameter name="file">../data/marker-on-line.csv</Parameter>
|
||||
<Parameter name="separator">|</Parameter>
|
||||
</Datasource>
|
||||
</Layer>
|
||||
</Map>
|
|
@ -269,7 +269,8 @@ files = {
|
|||
'line-smooth-and-offset':{'sizes':[(512,512)]},
|
||||
'line-pattern-smooth-and-offset':{'sizes':[(512,512)]},
|
||||
'halo-comp-op-on-satellite':{'sizes':[(450,450)]},
|
||||
'marker-whole-multi-polygon':{'sizes':[(512,512)]}
|
||||
'marker-whole-multi-polygon':{'sizes':[(512,512)]},
|
||||
'shield-on-line-and-avoid-edges':{'sizes':[(512,512)]},
|
||||
}
|
||||
|
||||
class Reporting:
|
||||
|
|
Loading…
Reference in a new issue