[Mapserver-users] GDAL support for classed rasters in nightly 3.7?
Antti.Roppola at brs.gov.au
Antti.Roppola at brs.gov.au
Wed Jan 8 17:37:12 PST 2003
Hello all,
I have built 3.7 using the nightly tarball from the day before.
Most things in the 3.6 map work un-modified, but classed rasters do not display
(a continuous tone ERDAS Imagine file still works). This suggests something
to do with the CLASS object:
LAYER
NAME "My Layer"
TYPE RASTER
STATUS OFF
DATA myraster.bil ## (.tif or Grid for that matter)
CLASSITEM "[pixel]"
CLASS
NAME "Class 1"
EXPRESSION ([pixel] ==1)
COLOR 255 0 0
END
END
The 3.7 migration doco suggests CLASS should be backward compatible in most instances.
Am I seeing a vagary in the nightly, or should I be re-writing the above as a STYLE? Inserting
"DEBUG 1" into the layer merely induces a getSymbol() error message.
TIA,
Antti
More information about the MapServer-users
mailing list