[Geomoose-users] GM 3.2.1 disappearing raster
James Klassen
klassen.js at gmail.com
Tue Jan 15 13:56:51 PST 2019
That certainly seems odd.
Did the MapServer version change?
Does the TIFF have overviews?
If I remember correctly, GeoMoose 2.9 and 3.x are both using WMS to access
MapServer behind the scenes. The actual request is likely slightly
different due to OpenLayers 2 vs OpenLayers 3+ being used for the map
widget.
If you look in the browser developer tools you could see if/how the
requests differ.
On Tue, Jan 15, 2019, 15:40 Kevin Grootendorst <kgrootendorst at gmail.com
wrote:
> 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
> _______________________________________________
> Geomoose-users mailing list
> Geomoose-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geomoose-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20190115/05a6b1a3/attachment.html>
More information about the Geomoose-users
mailing list