forked from MapServer/MapServer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A test case for style scalefactor correct inheritance when STYLEITEM …
…is in use
- Loading branch information
Showing
3 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |