[Geomoose-users] GM 3.2.1 disappearing raster
Kevin Grootendorst
kgrootendorst at gmail.com
Tue Jan 15 13:40:42 PST 2019
I am displaying a single band, uncompressed raster image in my
application. It will display as expected as long as I don't introduce any
CLASS in the map file. When I add CLASS to the map file, the raster will
display at large scales (zoomed in close), but will magically disappear
when I zoom out from the map. I have not specified any MAX or MINSCALE in
my map file.
Below is my map file. I did not have any problems with version 2.9. The
raster is only 6 MB in size.
Any idea what's changed?
MAP
SIZE 1200 650
STATUS ON
EXTENT 100000 4000000 950000 5000000
UNITS METERS
INCLUDE "../../geomoose_globals.map"
WEB
METADATA
'ows_title' 'Chl_RB_20170815_TwoWeekComp_Band2'
INCLUDE '../../common_metadata.map'
END
END
LEGEND
STATUS ON
LABEL
TYPE TRUETYPE
FONT vera_sans
SIZE 8
COLOR 0 0 0
END
END
LAYER
NAME Chl_RB_20170815_TwoWeekComp_Band2
DATA './Chl_RB_20170815_TwoWeekComp_Band2_UTM17.tif'
STATUS ON
TYPE RASTER
CLASS
NAME '1 to 10 ug/L'
EXPRESSION ([pixel] >= 1 AND [pixel] <= 10)
STYLE
COLOR 178 178 178
END
END
PROJECTION
'init=epsg:26917' #UTM 17N NAD83
END
END
END ## end Map
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20190115/65895498/attachment.html>
More information about the Geomoose-users
mailing list