INCLUDE not working

Eric Shuman erics at AMERI-TITLE.COM
Thu Nov 2 15:15:14 EST 2006


I am trying to update a functioning map file to use the INCLUDE directive
for all of my layer definitions. I have used one of my LAYER directives as a
new map file and inserted an INCLUDE in my current map file.

   INCLUDE "/full-path-to-file/newfile.map"

I get this error

   Warning: [MapServer Error]: msLoadMap(): Parsing error near
(INCLUDE):(line 133) in ....

I have upgraded my mapserver version to 4.10.0.  See below for my full
version info. The Layer directive and the map file work without the INCLUDE.

What am I missing??

~Eric

MapServer version 4.10.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER
SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT INPUT=EPPL7
INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE


* FGS API version : 0.2
*       NAME            VERSION
*       apache-base                     1.3.34
*       curl-lib                        7.15.0
*       expat-base                      1.95.8
*       freetype-lib                    2.1.9
*       gdal-base                       1.3.2
*       gd-lib                          2.0.33
*       geos-lib                        2.1.3
*       jpeg-lib                        6b
*       libgeotiff-lib                  1.2.2
*       libiconv-base                   1.9.1
*       libpng-lib                      1.2.8
*       libungif-base                   4.1.3
*       mapserver-base                  4.10.0
*       mapserver-php                   4.6.2
*       netcdf-lib                      3.5.1
*       openssl-lib                     0.9.8b
*       pdflib_lite-base                5.0.4p1
*       php-base                        4.3.11
*       php_pdf-module                  4.3.11
*       php_pgsql-module                4.3.11
*       postgis-lib                     1.0.4
*       postgresql-lib                  8.0.7
*       postgresql-server               8.0.4
*       proj4_epsg42xxx-support         1.0.0
*       proj-lib                        4.4.8
*       tiff-lib                        3.7.2
*       unixODBC-base                   2.2.10
*       xerces_c-base                   2_6_0



More information about the mapserver-users mailing list