Create tests for point-symbolizer, using expressions for parameters
- there are two versions: - point-symbolizer-expressions: file - point-symbolizer-expressions-all: additionally test allow-overlap, opacity, transform, ignore-placement, comp-op which are not supported right now
|
@ -0,0 +1,73 @@
|
||||||
|
{
|
||||||
|
"keys": [
|
||||||
|
"",
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
"data": {},
|
||||||
|
"grid": [
|
||||||
|
" ",
|
||||||
|
" ",
|
||||||
|
" ",
|
||||||
|
" ",
|
||||||
|
" ",
|
||||||
|
" ",
|
||||||
|
" ",
|
||||||
|
" ",
|
||||||
|
" ",
|
||||||
|
" ",
|
||||||
|
"!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!",
|
||||||
|
"!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!",
|
||||||
|
"!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!",
|
||||||
|
"!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!",
|
||||||
|
"!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!",
|
||||||
|
"!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!",
|
||||||
|
"!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!",
|
||||||
|
"!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!",
|
||||||
|
"!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!",
|
||||||
|
"!!!!!!!!!!!!!!!!!!!!!!!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!!!!!!!!!!!!!!!!!!",
|
||||||
|
"!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!",
|
||||||
|
"!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!",
|
||||||
|
"!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!",
|
||||||
|
"!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!",
|
||||||
|
"!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!",
|
||||||
|
"!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!",
|
||||||
|
"!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!",
|
||||||
|
"!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!",
|
||||||
|
" ",
|
||||||
|
" ",
|
||||||
|
" ",
|
||||||
|
" ",
|
||||||
|
" ",
|
||||||
|
" ",
|
||||||
|
" ",
|
||||||
|
" ",
|
||||||
|
" "
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1,73 @@
|
||||||
|
{
|
||||||
|
"keys": [
|
||||||
|
"",
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
"data": {},
|
||||||
|
"grid": [
|
||||||
|
" ",
|
||||||
|
" ",
|
||||||
|
" ",
|
||||||
|
" ",
|
||||||
|
" ",
|
||||||
|
" ",
|
||||||
|
" ",
|
||||||
|
" ",
|
||||||
|
" ",
|
||||||
|
" ",
|
||||||
|
"!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!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!!!!!!!!!!!!!!!!!!!!!!!",
|
||||||
|
"!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!",
|
||||||
|
"!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!",
|
||||||
|
"!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!",
|
||||||
|
" ",
|
||||||
|
" ",
|
||||||
|
" ",
|
||||||
|
" ",
|
||||||
|
" ",
|
||||||
|
" ",
|
||||||
|
" ",
|
||||||
|
" ",
|
||||||
|
" "
|
||||||
|
]
|
||||||
|
}
|
After Width: | Height: | Size: 806 B |
After Width: | Height: | Size: 884 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 2.8 KiB |
After Width: | Height: | Size: 2.8 KiB |
After Width: | Height: | Size: 4.2 KiB |
After Width: | Height: | Size: 4 KiB |
|
@ -0,0 +1,81 @@
|
||||||
|
<Map
|
||||||
|
background-color="#eee"
|
||||||
|
srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
||||||
|
|
||||||
|
<Style name="bug">
|
||||||
|
<Rule>
|
||||||
|
<Filter>[id] = 'file'</Filter>
|
||||||
|
<PointSymbolizer file="[value]" />
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Filter>[id] = 'allow-overlap'</Filter>
|
||||||
|
<PointSymbolizer allow-overlap="[value]" file="../../data/images/crosshair16x16.png" />
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Filter>[id] = 'opacity'</Filter>
|
||||||
|
<PointSymbolizer opacity="[value]" file="../../data/images/crosshair16x16.png" />
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Filter>[id] = 'transform'</Filter>
|
||||||
|
<PointSymbolizer transform="[value]" file="../../data/images/crosshair16x16.png" />
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Filter>[id] = 'ignore-placement'</Filter>
|
||||||
|
<PointSymbolizer ignore-placement="[value]" file="../../data/images/crosshair16x16.png" />
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Filter>[id] = 'comp-op'</Filter>
|
||||||
|
<PointSymbolizer comp-op="[value]" file="../../data/images/crosshair16x16.png" />
|
||||||
|
</Rule>
|
||||||
|
|
||||||
|
<Rule>
|
||||||
|
<TextSymbolizer dy='-16' face-name='DejaVu Sans Book' halo-fill='#ffffff' halo-radius='1'>[id]</TextSymbolizer>
|
||||||
|
</Rule>
|
||||||
|
</Style>
|
||||||
|
|
||||||
|
<Style name="frame">
|
||||||
|
<Rule>
|
||||||
|
<PolygonSymbolizer />
|
||||||
|
</Rule>
|
||||||
|
</Style>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
frame is a layer with a single polygon that is used to ensure that m.zoom_all() will zoom the
|
||||||
|
map to a reasonable bounding extent to make the test easy to view with tools like nik2img.py
|
||||||
|
(which calls m.zoom_all() by default). Another approach in >= Mapnik 2.3.x is to just sent a
|
||||||
|
manual `extent` for the CSV datasource.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<Layer name="frame" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
||||||
|
<StyleName>frame</StyleName>
|
||||||
|
<Datasource>
|
||||||
|
<Parameter name="type">csv</Parameter>
|
||||||
|
<Parameter name="inline">
|
||||||
|
wkt|name
|
||||||
|
Polygon((-180.0 -125.0, -180.0 125.0, 180.0 125.0, 180.0 -125.0, -180.0 -125.0))|bounds
|
||||||
|
</Parameter>
|
||||||
|
</Datasource>
|
||||||
|
</Layer>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
"bug" is a layer that should provide sample data that triggers the bug in question. It is
|
||||||
|
listed after the "frame" layer so that it renders on top and is visible.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<Layer name="bug" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
||||||
|
<StyleName>bug</StyleName>
|
||||||
|
<Datasource>
|
||||||
|
<Parameter name="type">csv</Parameter>
|
||||||
|
<Parameter name="inline">
|
||||||
|
id|value|wkt
|
||||||
|
file|../../data/images/crosshair16x16.png|Point(-130 -70)
|
||||||
|
allow-overlap|../../data/images/crosshair16x16.png|Point(0 -70)
|
||||||
|
opacity|../../data/images/crosshair16x16.png|Point(130 -70)
|
||||||
|
transform|../../data/images/crosshair16x16.png|Point(-130 30)
|
||||||
|
ignore-placement|../../data/images/crosshair16x16.png|Point(0 30)
|
||||||
|
comp-op|../../data/images/crosshair16x16.png|Point(130 30)
|
||||||
|
</Parameter>
|
||||||
|
</Datasource>
|
||||||
|
</Layer>
|
||||||
|
|
||||||
|
</Map>
|
56
tests/visual_tests/styles/point-symbolizer-expressions.xml
Normal file
|
@ -0,0 +1,56 @@
|
||||||
|
<Map
|
||||||
|
background-color="#eee"
|
||||||
|
srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
||||||
|
|
||||||
|
<Style name="bug">
|
||||||
|
<Rule>
|
||||||
|
<Filter>[id] = 'file'</Filter>
|
||||||
|
<PointSymbolizer file="[value]" />
|
||||||
|
</Rule>
|
||||||
|
|
||||||
|
<Rule>
|
||||||
|
<TextSymbolizer dy='-16' face-name='DejaVu Sans Book' halo-fill='#ffffff' halo-radius='1'>[id]</TextSymbolizer>
|
||||||
|
</Rule>
|
||||||
|
</Style>
|
||||||
|
|
||||||
|
<Style name="frame">
|
||||||
|
<Rule>
|
||||||
|
<PolygonSymbolizer />
|
||||||
|
</Rule>
|
||||||
|
</Style>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
frame is a layer with a single polygon that is used to ensure that m.zoom_all() will zoom the
|
||||||
|
map to a reasonable bounding extent to make the test easy to view with tools like nik2img.py
|
||||||
|
(which calls m.zoom_all() by default). Another approach in >= Mapnik 2.3.x is to just sent a
|
||||||
|
manual `extent` for the CSV datasource.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<Layer name="frame" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
||||||
|
<StyleName>frame</StyleName>
|
||||||
|
<Datasource>
|
||||||
|
<Parameter name="type">csv</Parameter>
|
||||||
|
<Parameter name="inline">
|
||||||
|
wkt|name
|
||||||
|
Polygon((-180.0 -125.0, -180.0 125.0, 180.0 125.0, 180.0 -125.0, -180.0 -125.0))|bounds
|
||||||
|
</Parameter>
|
||||||
|
</Datasource>
|
||||||
|
</Layer>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
"bug" is a layer that should provide sample data that triggers the bug in question. It is
|
||||||
|
listed after the "frame" layer so that it renders on top and is visible.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<Layer name="bug" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
||||||
|
<StyleName>bug</StyleName>
|
||||||
|
<Datasource>
|
||||||
|
<Parameter name="type">csv</Parameter>
|
||||||
|
<Parameter name="inline">
|
||||||
|
id|value|wkt
|
||||||
|
file|../../data/images/crosshair16x16.png|Point(-130 -70)
|
||||||
|
</Parameter>
|
||||||
|
</Datasource>
|
||||||
|
</Layer>
|
||||||
|
|
||||||
|
</Map>
|
|
@ -222,6 +222,8 @@ files = {
|
||||||
'marker-vs-point':{'sizes':[(512,512)]},
|
'marker-vs-point':{'sizes':[(512,512)]},
|
||||||
'line-symbolizer-expressions':{'sizes':[(256,256)]},
|
'line-symbolizer-expressions':{'sizes':[(256,256)]},
|
||||||
'line-symbolizer-expressions-all':{'sizes':[(256,256)]},
|
'line-symbolizer-expressions-all':{'sizes':[(256,256)]},
|
||||||
|
'point-symbolizer-expressions':{'sizes':[(256,256)]},
|
||||||
|
'point-symbolizer-expressions-all':{'sizes':[(256,256)]},
|
||||||
'polygon-symbolizer-expressions':{'sizes':[(256,256)]},
|
'polygon-symbolizer-expressions':{'sizes':[(256,256)]},
|
||||||
'polygon-symbolizer-expressions-all':{'sizes':[(256,256)]},
|
'polygon-symbolizer-expressions-all':{'sizes':[(256,256)]},
|
||||||
}
|
}
|
||||||
|
|