[mapserver-users] Difference in test map behavior from MapServer 5.6.5 to 6.0
Nicolas Chenier
nicolas.chenier at agr.gc.ca
Mon Jul 11 10:52:31 PDT 2011
test.map (the tests that come with MapServer documentation):
MAP
NAME "Testing"
EXTENT -0.5 50.977222 0.5 51.977222
#IMAGETYPE JPEG
#IMAGETYPE PNG24
IMAGETYPE PNG
IMAGECOLOR 255 255 255
STATUS ON
SIZE 200 200
FONTSET "fonts.txt"
SYMBOLSET "symbols.txt"
SCALEBAR
STATUS EMBED
POSTLABELCACHE TRUE
STYLE 0
UNITS METERS
SIZE 150 3
POSITION LR
TRANSPARENT TRUE
COLOR 0 0 0
IMAGECOLOR 242 255 195
BACKGROUNDCOLOR 255 255 255
LABEL
TYPE BITMAP
SIZE TINY
COLOR 0 0 0
POSITION UR
BUFFER 10
END
END
LEGEND
IMAGECOLOR 255 255 255
END
WEB
METADATA
"key1" "value1"
"key2" "value2"
"key3" "value3"
"key4" "value4"
END
END
PROJECTION
"init=epsg:4326"
END
LAYER
NAME "RASTER"
TYPE RASTER
PROJECTION
"init=epsg:4326"
END
DATA "raster.tif"
PROCESSING "BANDS=1"
STATUS DEFAULT
END
LAYER
NAME "POLYGON"
TYPE POLYGON
PROJECTION
"init=epsg:4326"
END
STATUS DEFAULT
DATA "polygon"
METADATA
"key1" "value1"
"key2" "value2"
"key3" "value3"
"key4" "value4"
END
CLASSITEM "FNAME"
CLASS
NAME "0"
METADATA
"key1" "value1"
"key2" "value2"
"key3" "value3"
"key4" "value4"
END
STYLE
COLOR 255 153 102
OUTLINECOLOR 0 0 204
SYMBOL 1
SIZE 2
END
END
CLASS
NAME "1"
EXPRESSION "foo"
STYLE
COLOR 255 153 102
OUTLINECOLOR 0 0 204
SYMBOL 1
SIZE 2
END
END
END
LAYER
NAME "LINE"
TYPE LINE
PROJECTION
"init=epsg:4326"
END
TRANSPARENCY 1
STATUS DEFAULT
DATA "line"
CLASSITEM "FNAME"
CLASS
NAME "0"
STYLE
COLOR 0 153 0
SYMBOL 1
SIZE 3
END
END
CLASS
NAME "1"
EXPRESSION "foo"
STYLE
COLOR 0 153 0
SYMBOL 1
SIZE 3
END
END
END
LAYER
NAME "POINT"
EXTENT -0.5 51.0 0.5 52.0
TYPE POINT
PROJECTION
"init=epsg:4326"
END
STATUS DEFAULT
DATA "point"
CLASSITEM "FNAME"
LABELITEM "FNAME"
CLASS
NAME "0"
STYLE
COLOR 0 0 0
SYMBOL 1
SIZE 13
END
STYLE
COLOR 204 204 204
SYMBOL 1
SIZE 7
END
LABEL
TYPE TRUETYPE
FONT "Vera"
SIZE 10
COLOR 0 0 0
END
TEMPLATE "point.html"
END
CLASS
NAME "1"
EXPRESSION "foo"
STYLE
COLOR 0 0 0
SYMBOL 1
SIZE 13
END
END
END
LAYER
NAME "INLINE"
TYPE POINT
PROJECTION
"init=epsg:4326"
END
STATUS DEFAULT
FEATURE
POINTS -0.2 51.5 END
END
CLASS
NAME "0"
STYLE
COLOR 0 0 0
SYMBOL 1
SIZE 3
END
END
END
LAYER
NAME "INLINE-PIXMAP-RGBA"
TYPE POINT
TRANSPARENCY ALPHA
DEBUG ON
PROJECTION
"init=epsg:4326"
END
STATUS OFF
FEATURE
POINTS 0.2 51.7 END
END
CLASS
NAME "0"
STYLE
SYMBOL 'xmarks-png'
END
LABEL
COLOR 0 0 0
END
END
END
LAYER
NAME "INLINE-PIXMAP-PCT"
TYPE ANNOTATION
DEBUG ON
TRANSPARENCY ALPHA
PROJECTION
"init=epsg:4326"
END
STATUS DEFAULT
FEATURE
POINTS 0.2 51.2 END
END
CLASS
NAME "0"
STYLE
SYMBOL 'home-png'
END
TEXT "."
LABEL
COLOR 0 0 0
END
END
END
END
symbols.txt:
SYMBOLSET
SYMBOL
NAME 'circle'
TYPE ellipse
FILLED true
POINTS
1 1
END
END
SYMBOL
NAME 'xmarks-png'
TYPE PIXMAP
IMAGE 'xmarks.png'
END
SYMBOL
NAME 'home-png'
TYPE PIXMAP
IMAGE 'home.png'
END
END
On Mon, 2011-07-11 at 11:50 -0500, Steve Lime wrote:
> Which mapfile are we talkin'? Steve
>
> On Mon, Jul 11, 2011 at 9:31 AM, Chenier, Nicolas
> <Nicolas.Chenier at agr.gc.ca> wrote:
> Good day all,
>
> I am investigating an issue where the background in the PNG
> generated by
> the example map that comes with MapServer changes from a
> normal
> red-orange color to purple. The font also changes. (See
> attached)
>
> The data, symbols, fonts and map files are not touched, the
> only thing
> change is the cgi-bin binary between MS5 (5.6.5) and MS6
> (6.0.0).
>
> Any help would be greatly appreciated!
>
> Thank you,
>
> Nic
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list