add expected (currently failing) test for #1931

This commit is contained in:
Dane Springmeyer 2013-06-28 15:03:55 -04:00
parent 25dabd6f24
commit 36814bcb2e
7 changed files with 133 additions and 0 deletions

View file

@ -0,0 +1,109 @@
{
"keys": [
"",
"1"
],
"data": {},
"grid": [
" !!! ",
" !!! ",
" !!!! ",
" ! ! ",
" ! ",
" ! ! ",
" ! ",
" ! ! ",
" ! ",
" ! ! ",
" ! ",
" ! ! ",
" ! ",
" ! ! ",
" ! ",
" ! ! ",
" ! ",
" ! ! ",
" ! ",
" ! ! ",
" ! ",
" !! ! ",
" !! !!! ",
" ! !!! ",
" ! !! ",
" ! ! ",
" ! ",
" ! ! ",
" ! ",
" ! ! ",
" ! ",
" ! ! ",
" ! ",
" ! ! ",
" ! ",
" ! ! ",
" ! ",
" ! ! ",
" ! ",
" ! ! ",
" ! ",
" ! ! ",
" ! ",
" !! ! ",
" !!! ! ",
" !! !!! ",
" ! !!! ",
" ! ! ",
" ! ",
" ! ! ",
" ! ",
" ! ! ",
" ! ",
" ! ! ",
" ! ",
" ! ! ",
" ! ",
" ! ! ",
" ! ",
" ! ! ",
" ! ",
" ! ! ",
" ! ",
" ! ! ",
" ! ",
" !! ! ",
" !!! ",
" !!! !!! ",
" ! !!! ",
" ! ! ",
" ! ",
" ! ! ",
" ! ",
" ! ! ",
" ! ",
" ! ! ! ",
" ! ! ",
" ! ! ! ",
" ! ! ",
" ! ! ! ",
" ! ! ",
" ! ! ! ",
" ! ! ",
" ! ! ! ",
" ! ! ",
" ! ! ! ",
" ! ! ",
" ! ! ! ",
" !!! ! ",
" !!! !! !! ",
" !! !! !!! ",
" ! !! !!! ",
" ! ! ",
" ! ! ! ",
" ! ! ",
" ! ! ! ",
" ! ! ",
" ! ! ! ",
" ! ! ",
" ! !! "
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

View file

@ -0,0 +1,22 @@
<Map>
<Style name="line" filter-mode="first" >
<Rule>
<LineSymbolizer stroke="#000000" />
</Rule>
</Style>
<Style name="point-placement" filter-mode="first" >
<Rule>
<MarkersSymbolizer allow-overlap="false" ignore-placement="true" placement="line" marker-type="ellipse" fill="blue" />
<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>

View file

@ -96,6 +96,8 @@ files = {
'marker-multi-policy': {'sizes':[(600,400)]},
'marker-on-line': {'sizes':[(600,400)],
'bbox': mapnik.Box2d(-10, 0, 15, 20)},
'marker-on-line-and-line-placement': {'sizes':[(600,400)],
'bbox': mapnik.Box2d(-10, 0, 15, 20)},
'marker-on-line-spacing-eq-width': {'sizes':[(600,400)]},
'marker-on-line-spacing-eq-width-overlap': {'sizes':[(600,400)]},
'marker_line_placement_on_points':{},