INCLUDE

Daniel Morissette dmorissette at MAPGEARS.COM
Wed Oct 4 08:29:46 PDT 2006


Windows or Linux server? Do you also get an internal server error if you 
do a GetCapabilities?

Daniel

Till Adams wrote:
> Dear list,
> 
> I'm playing around with that new mapserver INCLUDE parameter and UMN 
> v4.10 beta3
> 
> Requesting for a map via the WMS getmap all I get is an "internal server 
> error"
> 
> My Mapfile starts "normal" and ends like that:
> 
> MAP
> 
> [............]
> 
> 
> #------------------------------------------------------------------------------ 
> 
> # Start of Legend
> #------------------------------------------------------------------------------ 
> 
> 
> LEGEND
> STATUS ON
> KEYSIZE 20 10
> LABEL
> COLOR 0 0 0
> TYPE TRUETYPE
> FONT arial
> SIZE 9
> END # ENDE LABEL
> END   #LEGEND
> 
> #------------------------------------------------------------------------------- 
> 
> # Start of layer definitions #
> #------------------------------------------------------------------------------- 
> 
> 
> 
> INCLUDE "riv.map"
> 
> #------------------------------------------------------------------------------- 
> 
> END #End of Mapfile
> #------------------------------------------------------------------------------- 
> 
> 
> In the nclude I have the complete layer definition. As one file the 
> mapfile with that request works.
> Is the syntax correct or is it not possible to include files wherever I 
> want to??
> 
> Till
> 


-- 
Daniel Morissette
http://www.mapgears.com/



More information about the MapServer-users mailing list