There must be one mapfile for each raster file used. There must be at least two mapfiles for each region used--one for when a dark raster is used and one for when a light raster is used. As a hack, I used the C preprocessor to help generate these files. This is not a great strategy, but it does work (one side effect is that you can't use mapserver style comments).
To create additional mapfiles, check out the firemap-mapfiles project. Create a template a new template file for either a raster or a region and then type 'make' in that directory to generate the mapfiles. 'make clean' to remove all mapfiles.
--
MikeMcGann - 08 Dec 2006
to top