testcase for #983 against 2.3.x
This commit is contained in:
parent
7e725e59e1
commit
3db8d34117
7 changed files with 171 additions and 0 deletions
|
@ -0,0 +1,137 @@
|
||||||
|
{
|
||||||
|
"keys": [
|
||||||
|
"",
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
"data": {},
|
||||||
|
"grid": [
|
||||||
|
" ",
|
||||||
|
" ",
|
||||||
|
" ",
|
||||||
|
" !!!! ",
|
||||||
|
" !!!!!!!! ",
|
||||||
|
" !!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!! ",
|
||||||
|
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!! !!!!",
|
||||||
|
" !!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!! !!!!!",
|
||||||
|
" !!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! !!!!!!",
|
||||||
|
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! !!!!!!",
|
||||||
|
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! !!!!!!",
|
||||||
|
" !!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!! !!!!!!!!!",
|
||||||
|
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!! !!!!!!!!!!",
|
||||||
|
" !!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!! !!!!!!!!!!!",
|
||||||
|
" !!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!! !!!!!!!!!!!",
|
||||||
|
" !!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! !!!!!!!!!!!!",
|
||||||
|
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!",
|
||||||
|
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!",
|
||||||
|
" !!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!",
|
||||||
|
" !!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!",
|
||||||
|
" !!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!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!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!! ",
|
||||||
|
"!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!! ",
|
||||||
|
"!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!! ",
|
||||||
|
"!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!! ",
|
||||||
|
"!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!! ",
|
||||||
|
"!!!!!!!! !!!!!!!!!!!!!!!!!!! ",
|
||||||
|
"!!!!!!! !!!!!!!!!!!!!!!!!! ",
|
||||||
|
"!!!!!!! !!!!!!!!!!!!!!!!! ",
|
||||||
|
"!!!!!! !!!!!!!!!!!!!!!!! ",
|
||||||
|
"!!!!!! !!!!!!!!!!!!!!! ",
|
||||||
|
"!!!!!! !!!!!!!!!!!!!! ",
|
||||||
|
"!!!!! !!!!!!!!!! ",
|
||||||
|
"!!!!! !!!!!!!!! ",
|
||||||
|
"!!!! !!!!!!! ",
|
||||||
|
" !!!!! ",
|
||||||
|
" !!! ",
|
||||||
|
" "
|
||||||
|
]
|
||||||
|
}
|
Binary file not shown.
After Width: | Height: | Size: 21 KiB |
Binary file not shown.
After Width: | Height: | Size: 17 KiB |
Binary file not shown.
After Width: | Height: | Size: 20 KiB |
Binary file not shown.
After Width: | Height: | Size: 17 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>
|
|
@ -221,6 +221,7 @@ files = {
|
||||||
'tiff-nodata-tolerance':{'sizes':[(512,512)]},
|
'tiff-nodata-tolerance':{'sizes':[(512,512)]},
|
||||||
# https://github.com/mapnik/mapnik/issues/2202
|
# https://github.com/mapnik/mapnik/issues/2202
|
||||||
'line-smooth-and-offset':{'sizes':[(512,512)]},
|
'line-smooth-and-offset':{'sizes':[(512,512)]},
|
||||||
|
'shield-on-line-and-avoid-edges':{'sizes':[(512,512)]},
|
||||||
}
|
}
|
||||||
|
|
||||||
class Reporting:
|
class Reporting:
|
||||||
|
|
Loading…
Reference in a new issue