<!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 mapfile could be:<br>
....<br>
LAYER<br>
NAME "test"<br>
TYPE RASTER<br>
DATA "rd_7790432.img"<br>
TEMPLATE "ttt"<br>
TRANSPARENCY 60<br>
METADATA<br>
"force_imagetype" "jpeg"<br>
END<br>
....<br>
I need a CLASSITEM setting, but how can I manage a floating raster?
255 classes or less can be fixed:<br>
<br>
Single class example: <br>
CLASSITEM "VALUE"<br>
CLASS<br>
NAME "0 m - 900 m"<br>
EXPRESSION ([pixel] >= 0 AND [pixel] < 900)<br>
STYLE <br>
COLOR 0 20 0<br>
END<br>
END<br>
<br>
How can I do automatically for all the pixel value?<br>
Thanks.<br>
Simone<br>
<br>
<div class="moz-signature">-- <br>
<img src="cid:part1.08000701.05090508@univie.ac.at" border="0"></div>
</body>
</html>