From 1a070774d754bf7501ff79497976e3d98f5a081c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C4=81ris=20Narti=C5=A1s?= Date: Sun, 28 Jul 2024 15:38:05 +0300 Subject: [PATCH] A test case for style scalefactor correct inheritance when STYLEITEM is in use --- msautotest/misc/data/styleitem_style.csv | 2 ++ .../expected/scale_factor_inheritance.png | Bin 0 -> 440 bytes msautotest/misc/scale_factor_inheritance.map | 25 ++++++++++++++++++ 3 files changed, 27 insertions(+) create mode 100644 msautotest/misc/data/styleitem_style.csv create mode 100644 msautotest/misc/expected/scale_factor_inheritance.png create mode 100644 msautotest/misc/scale_factor_inheritance.map 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 0000000000000000000000000000000000000000..5aa2d669100dfe319eab8c8afac0bcc239a7fdf6 GIT binary patch literal 440 zcmeAS@N?(olHy`uVBq!ia0vp^DIm1Uq#KiTV(`|Q8eZP(KK`FGwIS{$jnpHP&a zcV2qgiq(I29#;-q{bJX#&2h&+NB-Wl&uh(j^=F^I1s#5(TIruVHR5=3_2Q3n{95~8 zuRe0??JeeB_4g}%bplkcJ-sBCVRJqE;p1Og8$a<^Z_LOyIa3t*pE2;y%MW$O(}Xui zdM~@P@9wwhQ^I>pzf>K4EB3s&`Q+Z6wTsja{ [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