[mapserver-users] Mapfile classifying using two separate raster files?
Lars Schylberg
lars.schylberg at blixtmail.se
Thu Jul 23 02:02:53 PDT 2015
I would try to do a VRT file that describes both raster files and work
with that.
I don't have an good example but maybe this could get You started
together with the GDAL docs.
http://www.paolocorti.net/2012/03/08/gdal_virtual_formats/
/Lars S.
Matt McClelland skrev den 2015-07-23 08:54:
> 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 :)
>
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20150723/0b709fc0/attachment.htm>
More information about the MapServer-users
mailing list