Classify Multiple Raster Layers

Frank Warmerdam warmerdam at POBOX.COM
Tue Nov 22 18:20:44 EST 2005


On 11/22/05, Nemo Martinko <nemo at ironcountyforest.org> wrote:
> Is there a way to classify all the raster layers in a map file at once?
>
> I have a number of raster layers in my map file, and adding a new one for
> every day.  I have fourteen classes, meaning 48 lines in the map file.  I'm
> new to mapserver and the rasters are ArcInfo grids, so I haven't looked into
> preprocessing.  Is there a way to set a default class struction so that I
> don't have to keep copying the 48 lines for every layer?

Nerno,

With static map files there is no way of duplicating the
class definitions for each layer.  Possibly one day you
might want to look at automating what you are doing with
mapscript.

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the mapserver-users mailing list