diff --git a/msautotest/misc/data/styleitem_style.csv b/msautotest/misc/data/styleitem_style.csv new file mode 100644 index 0000000000..fd9963a5a4 --- /dev/null +++ b/msautotest/misc/data/styleitem_style.csv @@ -0,0 +1,2 @@ +WKT,STYLE,comment +"LINESTRING(0.1 0.9,0.9 0.9)","STYLE WIDTH 1 COLOR 0 0 255 END","" diff --git a/msautotest/misc/expected/scale_factor_inheritance.png b/msautotest/misc/expected/scale_factor_inheritance.png new file mode 100644 index 0000000000..5aa2d66910 Binary files /dev/null and b/msautotest/misc/expected/scale_factor_inheritance.png differ diff --git a/msautotest/misc/scale_factor_inheritance.map b/msautotest/misc/scale_factor_inheritance.map new file mode 100644 index 0000000000..c7baa7fde1 --- /dev/null +++ b/msautotest/misc/scale_factor_inheritance.map @@ -0,0 +1,25 @@ +# +# Test style scale factor inheritance with STYLEITEM +# +# REQUIRES: INPUT=GDAL OUTPUT=PNG +# + +# RUN_PARMS: scale_factor_inheritance.png [MAPSERV] QUERY_STRING="map=[MAPFILE]&layer=test&mode=map" > [RESULT_DEMIME] + +MAP + EXTENT 0 -1 1 1 + SIZE 100 100 + LAYER + NAME "test" + EXTENT 0 -1 1 1 + CONNECTIONTYPE OGR + CONNECTION "data/styleitem_style.csv" + DATA "styleitem_style" + TYPE LINE + STATUS ON + SYMBOLSCALEDENOM 500 + STYLEITEM "STYLE" + CLASS + END + END +END