[mapserver-users] comment out large section of map file

Rahkonen Jukka Jukka.Rahkonen at mmmtike.fi
Sun Nov 27 23:54:01 EST 2011


Hi,

A workaround is to write the large section into separate text file and add it into the main mapfile with INCLUDE. Then there would be only one line to comment out. I am nowadays adding almost all layers as includes. It makes it easy to re-use the same layers in several mapfiles.

-Jukka Rahkonen-
________________________________
Matt McClelland wrote:


> Hi All

> I notice you can comment one line in a mapfile using a #
> Is there a way of commenting out a large section like in PHP where you use /*    */ ??
> It would be handing when working on large map files.

 > Matt  :)



More information about the mapserver-users mailing list