[mapserver-users] comment out large section of map file
Matt McClelland
matt at wildwalks.com
Sun Nov 27 21:27:57 PST 2011
Thanks Jukka
A good work around and does sound like a better way of organising my main
map file (which is now over 12 000 lines).
Thanks
Matt :)
On Mon, Nov 28, 2011 at 3:54 PM, Rahkonen Jukka
<Jukka.Rahkonen at mmmtike.fi>wrote:
> 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 :)
>
> _______________________________________________
> 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/20111128/c1e4ebc8/attachment.htm>
More information about the MapServer-users
mailing list