-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add simple tests for dpi/resolution dpendant rendering
- Loading branch information
Showing
10 changed files
with
110 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,110 @@ | ||
# RUN_PARMS: resolution_point_1.png [MAPSERV] QUERY_STRING="map.resolution=72&WIDTH=25&HEIGHT=25&map=[MAPFILE]&SERVICE=WMS&VERSION=1.1.0&REQUEST=GetMap&SRS=EPSG:4326&BBOX=0,0,100,100&FORMAT=image/png&STYLES=&LAYERS=point" > [RESULT_DEMIME] | ||
# RUN_PARMS: resolution_point_2.png [MAPSERV] QUERY_STRING="map.resolution=144&WIDTH=50&HEIGHT=50&map=[MAPFILE]&SERVICE=WMS&VERSION=1.1.0&REQUEST=GetMap&SRS=EPSG:4326&BBOX=0,0,100,100&FORMAT=image/png&STYLES=&LAYERS=point" > [RESULT_DEMIME] | ||
# RUN_PARMS: resolution_point_4.png [MAPSERV] QUERY_STRING="map.resolution=288&WIDTH=100&HEIGHT=100&map=[MAPFILE]&SERVICE=WMS&VERSION=1.1.0&REQUEST=GetMap&SRS=EPSG:4326&BBOX=0,0,100,100&FORMAT=image/png&STYLES=&LAYERS=point" > [RESULT_DEMIME] | ||
# RUN_PARMS: resolution_line_1.png [MAPSERV] QUERY_STRING="map.resolution=72&WIDTH=25&HEIGHT=25&map=[MAPFILE]&SERVICE=WMS&VERSION=1.1.0&REQUEST=GetMap&SRS=EPSG:4326&BBOX=0,0,100,100&FORMAT=image/png&STYLES=&LAYERS=line" > [RESULT_DEMIME] | ||
# RUN_PARMS: resolution_line_2.png [MAPSERV] QUERY_STRING="map.resolution=144&WIDTH=50&HEIGHT=50&map=[MAPFILE]&SERVICE=WMS&VERSION=1.1.0&REQUEST=GetMap&SRS=EPSG:4326&BBOX=0,0,100,100&FORMAT=image/png&STYLES=&LAYERS=line" > [RESULT_DEMIME] | ||
# RUN_PARMS: resolution_line_4.png [MAPSERV] QUERY_STRING="map.resolution=288&WIDTH=100&HEIGHT=100&map=[MAPFILE]&SERVICE=WMS&VERSION=1.1.0&REQUEST=GetMap&SRS=EPSG:4326&BBOX=0,0,100,100&FORMAT=image/png&STYLES=&LAYERS=line" > [RESULT_DEMIME] | ||
# RUN_PARMS: resolution_polygon_1.png [MAPSERV] QUERY_STRING="map.resolution=72&WIDTH=25&HEIGHT=25&map=[MAPFILE]&SERVICE=WMS&VERSION=1.1.0&REQUEST=GetMap&SRS=EPSG:4326&BBOX=0,0,100,100&FORMAT=image/png&STYLES=&LAYERS=polygon" > [RESULT_DEMIME] | ||
# RUN_PARMS: resolution_polygon_2.png [MAPSERV] QUERY_STRING="map.resolution=144&WIDTH=50&HEIGHT=50&map=[MAPFILE]&SERVICE=WMS&VERSION=1.1.0&REQUEST=GetMap&SRS=EPSG:4326&BBOX=0,0,100,100&FORMAT=image/png&STYLES=&LAYERS=polygon" > [RESULT_DEMIME] | ||
# RUN_PARMS: resolution_polygon_4.png [MAPSERV] QUERY_STRING="map.resolution=288&WIDTH=100&HEIGHT=100&map=[MAPFILE]&SERVICE=WMS&VERSION=1.1.0&REQUEST=GetMap&SRS=EPSG:4326&BBOX=0,0,100,100&FORMAT=image/png&STYLES=&LAYERS=polygon" > [RESULT_DEMIME] | ||
# | ||
# REQUIRES: OUTPUT=PNG | ||
# | ||
MAP | ||
|
||
STATUS ON | ||
EXTENT 0 0 99 99 | ||
SIZE 50 50 | ||
FONTSET "../misc/fonts.lst" | ||
IMAGETYPE png24 | ||
DEFRESOLUTION 72 | ||
|
||
PROJECTION | ||
"init=epsg:4326" | ||
END | ||
|
||
WEB | ||
METADATA | ||
"ows_srs" "epsg:4326" | ||
"ows_enable_request" "*" | ||
END | ||
END | ||
|
||
symbol | ||
name "circle" | ||
type ellipse | ||
points 1 1 end | ||
filled true | ||
end | ||
|
||
LAYER | ||
NAME "point" | ||
TYPE point | ||
STATUS on | ||
CLASS | ||
NAME "test1" | ||
STYLE | ||
SYMBOL "circle" | ||
COLOR 0 0 255 | ||
SIZE 10 | ||
MAXSIZE 15 | ||
END | ||
END | ||
FEATURE | ||
POINTS | ||
50 50 | ||
END | ||
END | ||
END | ||
|
||
LAYER | ||
NAME "line" | ||
TYPE line | ||
STATUS on | ||
CLASS | ||
NAME "test1" | ||
STYLE | ||
COLOR 0 0 0 | ||
WIDTH 1 | ||
END | ||
STYLE | ||
SYMBOL "circle" | ||
COLOR 0 0 255 | ||
SIZE 4 | ||
MAXSIZE 5 | ||
GAP 10 | ||
END | ||
END | ||
FEATURE | ||
POINTS | ||
0 0 100 100 | ||
END | ||
END | ||
END | ||
|
||
LAYER | ||
NAME "polygon" | ||
TYPE polygon | ||
STATUS on | ||
CLASS | ||
NAME "test1" | ||
STYLE | ||
COLOR 0 0 0 | ||
OUTLINECOLOR 255 0 0 | ||
WIDTH 1 | ||
END | ||
STYLE | ||
SYMBOL "circle" | ||
COLOR 0 0 255 | ||
SIZE 4 | ||
MAXSIZE 5 | ||
END | ||
END | ||
FEATURE | ||
POINTS | ||
20 20 20 80 80 80 80 20 20 20 | ||
END | ||
END | ||
END | ||
|
||
END |