You might be able to virtually combine those two rasters into one using GDAL's VRT format (http://www.gdal.org/gdal_vrttut.html).
HTH > -----Ursprüngliche Nachricht----- > Von: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users- > boun...@lists.osgeo.org] Im Auftrag von Matt McClelland > Gesendet: Donnerstag, 23. Juli 2015 08:54 > An: mapserver-users@lists.osgeo.org > Betreff: [mapserver-users] Mapfile classifying using two separate raster > files? > > Hi > > I have two raster files one for vegetation and one for population density. > The two rasters (tif's) are at different scales > > I am using value based classification to paint the map green where > vegetation values are high. > Is there a way I can classify based on values from the two separate files > in the same layer > I can't see how this will work as you can only have one data item per > layer?? (but worth asking) > > I am wanting to be able to do something like > EXPRESSION ([veg] <= 50 and [population] > 500) > > The only option I can think of is to make the two files into a single > multiband tiff? This seems wasteful as one is much lower resolution then > the other. > > thoughts?? > > thanks > > Matt :) > > > <http://www.wildwalks.com/office/newsletters/> _______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users