[TinyOWS-users] MapFile: include nested too deeply

Carlos Ruiz boolean10001 at yahoo.com
Tue Jul 12 09:31:32 EST 2011


Hi Marc,

First of all, it's a Mapserver constant, not a variable. My bad because the hurries.

This is what the Mapserver documentation says:

	* The name of the file to be included MUST be quoted (single or
double quotes).
	* Includes may be nested, up to 5 deep.
	* File location can be given as a full path to the file, or (in MapServer >=
4.10.1) as a path relative to the mapfile.
So you can nest up to 5 map files by default.

This is what you wrote:

"MapFile: include nested too deeply"

what's the meaning of this error ? 

Marc-André Trottier

But I can't see your map definition and the includes. Can you post them ?


IC Carlos Ruiz



________________________________
From: Marc-André Trottier <marcandre_trottier at hotmail.com>
To: tinyows-users at lists.maptools.org
Sent: Monday, July 11, 2011 8:28 AM
Subject: [TinyOWS-users] MapFile: include nested too deeply


i must change the Mapserver's variable ?? 
i thought it was OWS_MAP_MAX_INCLUDE_DEPTH in mapfile.c
i put '30' and no change

i posted something about INCLUDE with relative path in mapfile. (Title : mapfile INCLUDE with relative path)

i modified the mapfile.c and the path is finally good but i got this error when i put another relative path in my second mapfile.

is it clear ? 



Marc,

That error raises when you include more than the maximum nested map definitions. You can increase the nesting level

changing a Mapserver variable in the source code and then compile it again.

 
IC Carlos Ruiz
_______________________________________________
TinyOWS-users mailing list
TinyOWS-users at lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tinyows-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/tinyows-users/attachments/20110712/acbe6777/attachment.htm 


More information about the TinyOWS-users mailing list