[mapserver-users] Include directive and mapscript

Paul Moen pmoen at offroadsoftware.com
Mon Mar 23 21:57:39 EDT 2009


I have found that the method getLayersIndexByGroup(string groupname)  
does not find layers that are included from a different file.

$llist=$map->getLayersIndexByGroup("Political Boundaries");

$llist does not contain the indexes of any layers that are in the  
include file.  Once, I copied the layer into the mapfile the layer was  
listed in the array.

Is this a bug?

Thanks,

Paul



More information about the mapserver-users mailing list