[mapserver-users] WMS services from a NetCDF file layer

Fabian Schindler fabian.schindler at eox.at
Mon Jun 15 07:47:34 PDT 2015


This is probably due to the fact that your raster values are beyond 255.
Mapserver truncates this to 255 which interpreted as white on a
greyscale. To correctly scale the values you can use band processing
options:

  PROCESSING "SCALE=<low>:<high>"

You can also use "AUTO" but that might result in strangely "tiled" images.

See:
http://mapserver.org/input/raster.html#special-processing-directives

Regards,
Fabian

On 15.06.15 16:04, William Hudspeth wrote:
> Hello,
> 
> I am using mapserver to provide WCS and WMS services from individual
> layers (and their constituent bands) contained in a CF-formatted NetCDF
> file. I have successfully implemented WCS services, but am continuing to
> have problems with WMS services. While calls to return a single raster
> grid (derived from a NetCDF layer) as a WMS request returns a correctly
> projected image, the image is entirely white, and does not seem to
> correctly reinterpret original data values into a range of pixel color
> values. I would appreciate any information on what I might be missing.
> 
> Thanks!
> 
> 
> 
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
> 



More information about the mapserver-users mailing list