[mapserver-users] IMG floating raster and class

Simone Frigerio simone.frigerio at univie.ac.at
Wed Oct 27 07:47:27 PDT 2010


  Hi folk,
I need to publish a floating Erdas Image img file. A stretched scale of 
red is required.
Starting  mapfile  could be:
....
LAYER
     NAME "test"
     TYPE RASTER
     DATA "rd_7790432.img"
     TEMPLATE "ttt"
     TRANSPARENCY 60
     METADATA
       "force_imagetype" "jpeg"
     END
....
I need a CLASSITEM setting, but how  can I manage a floating raster? 255 
classes or less  can be fixed:

Single class example:
CLASSITEM "VALUE"
     CLASS
       NAME "0 m - 900 m"
       EXPRESSION ([pixel] >= 0 AND [pixel] < 900)
       STYLE
         COLOR 0 20 0
       END
     END

How can I do automatically for all the pixel value?
Thanks.
Simone

-- 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20101027/5d86e03f/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature-1.gif
Type: image/gif
Size: 566 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20101027/5d86e03f/attachment.gif>


More information about the MapServer-users mailing list