24 bit image problems
    Norman Barker 
    nbarker at RSINC.COM
       
    Wed Nov 16 06:09:52 PST 2005
    
    
  
Hi,
please ignore this and accept my apologies for the spam.  I need the processing option
PROCESSING "SCALE=AUTO" in my layer.
Not really used WMS before (mainly WFS and WCS), it is beautiful.  Many thanks everyone.
Norman
-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU]On
Behalf Of Norman Barker
Sent: Wednesday, November 16, 2005 2:00 PM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: [UMN_MAPSERVER-USERS] 24 bit image problems
Hi,
I have a WMS that is reading 32 bit data, I would like to render this as png24 to get all the colours.
An example is currently at
http://217.37.214.210/cgi-bin/mapserv.cgi?map=/tmp/portrayal/test/test.map&REQUEST=GetMap&FORMAT=png24&WIDTH=640&HEIGHT=480&SRS=EPSG:4326&BBOX=-122.242,37.3957,-122.2,37.4162&VERSION=1.1.1&LAYERS=PCA
The 24 bit mode doesn't seem to be working, any help would be appreciated.
MAP
    NAME TEST
    STATUS ON
    IMAGETYPE png24
    IMAGECOLOR 240 240 240
    SHAPEPATH "/tmp/portrayal/test"
    PROJECTION
      "init=epsg:4326"
    END
#  OUTPUTFORMAT
#    NAME png24
#    DRIVER "GD/PNG"
#    MIMETYPE "image/png"
#    IMAGEMODE RGB
#    EXTENSION "png"
#  END
    WEB
        IMAGEPATH "/var/www/html/tmp"
        IMAGEURL "/tmp/"
        METADATA
          "ows_title" "test"
          "ows_srs" "EPSG:4326"
        END
    END
    LAYER
          NAME "PCA"
          TYPE RASTER
          STATUS ON
          DATA "jsp99hym_rad_pca_geo.bil"
    END
END
Many thanks,
Norman Barker
    
    
More information about the MapServer-users
mailing list