<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Hi folk,<br>
    I need to publish a floating Erdas Image img file. A stretched scale
    of red is required.<br>
    Starting&nbsp; mapfile&nbsp; could be:<br>
    ....<br>
    LAYER<br>
    &nbsp;&nbsp;&nbsp; NAME "test"<br>
    &nbsp;&nbsp;&nbsp; TYPE RASTER<br>
    &nbsp;&nbsp;&nbsp; DATA "rd_7790432.img"<br>
    &nbsp;&nbsp;&nbsp; TEMPLATE "ttt"<br>
    &nbsp;&nbsp;&nbsp; TRANSPARENCY 60<br>
    &nbsp;&nbsp;&nbsp; METADATA<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "force_imagetype" "jpeg"<br>
    &nbsp;&nbsp;&nbsp; END<br>
    ....<br>
    I need a CLASSITEM setting, but how&nbsp; can I manage a floating raster?
    255 classes or less&nbsp; can be fixed:<br>
    <br>
    Single class example: <br>
    CLASSITEM "VALUE"<br>
    &nbsp;&nbsp;&nbsp; CLASS<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NAME "0 m - 900 m"<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; EXPRESSION ([pixel] &gt;= 0 AND [pixel] &lt; 900)<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; STYLE <br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 0 20 0<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END<br>
    &nbsp;&nbsp;&nbsp; END<br>
    &nbsp;&nbsp;&nbsp; <br>
    How can I do automatically for all the pixel value?<br>
    Thanks.<br>
    Simone<br>
    &nbsp;<br>
    <div class="moz-signature">-- <br>
      <img src="cid:part1.08000701.05090508@univie.ac.at" border="0"></div>
  </body>
</html>