diff --git a/renderers/expected/resolution_line_1.png b/renderers/expected/resolution_line_1.png new file mode 100644 index 00000000..7d31db20 Binary files /dev/null and b/renderers/expected/resolution_line_1.png differ diff --git a/renderers/expected/resolution_line_2.png b/renderers/expected/resolution_line_2.png new file mode 100644 index 00000000..5516c857 Binary files /dev/null and b/renderers/expected/resolution_line_2.png differ diff --git a/renderers/expected/resolution_line_4.png b/renderers/expected/resolution_line_4.png new file mode 100644 index 00000000..1b2ad2ce Binary files /dev/null and b/renderers/expected/resolution_line_4.png differ diff --git a/renderers/expected/resolution_point_1.png b/renderers/expected/resolution_point_1.png new file mode 100644 index 00000000..92fc541c Binary files /dev/null and b/renderers/expected/resolution_point_1.png differ diff --git a/renderers/expected/resolution_point_2.png b/renderers/expected/resolution_point_2.png new file mode 100644 index 00000000..31eb9dd0 Binary files /dev/null and b/renderers/expected/resolution_point_2.png differ diff --git a/renderers/expected/resolution_point_4.png b/renderers/expected/resolution_point_4.png new file mode 100644 index 00000000..af4de35d Binary files /dev/null and b/renderers/expected/resolution_point_4.png differ diff --git a/renderers/expected/resolution_polygon_1.png b/renderers/expected/resolution_polygon_1.png new file mode 100644 index 00000000..97acda61 Binary files /dev/null and b/renderers/expected/resolution_polygon_1.png differ diff --git a/renderers/expected/resolution_polygon_2.png b/renderers/expected/resolution_polygon_2.png new file mode 100644 index 00000000..bc58d3d3 Binary files /dev/null and b/renderers/expected/resolution_polygon_2.png differ diff --git a/renderers/expected/resolution_polygon_4.png b/renderers/expected/resolution_polygon_4.png new file mode 100644 index 00000000..85019756 Binary files /dev/null and b/renderers/expected/resolution_polygon_4.png differ diff --git a/renderers/resolution.map b/renderers/resolution.map new file mode 100644 index 00000000..aaee8405 --- /dev/null +++ b/renderers/resolution.map @@ -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