Skip to content

Commit

Permalink
A test case for style scalefactor correct inheritance when STYLEITEM …
Browse files Browse the repository at this point in the history
…is in use
  • Loading branch information
marisn committed Jul 28, 2024
1 parent 6facda6 commit 1a07077
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
2 changes: 2 additions & 0 deletions msautotest/misc/data/styleitem_style.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
WKT,STYLE,comment
"LINESTRING(0.1 0.9,0.9 0.9)","STYLE WIDTH 1 COLOR 0 0 255 END",""
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 25 additions & 0 deletions msautotest/misc/scale_factor_inheritance.map
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 1a07077

Please sign in to comment.