boundarylines is defined as a LayerGroup, not a layer. It should not be in the mapfile, only its children.

Hi everyone !
I may be wrong but it seems the layer "boundarylines" is missing from your map file... I guess it's part of the problem and hope it helps !

Marie Silvestre
Bretagne environnement
http://cartographie.bretagne-environnement.org



Yves Jacolin a écrit :
Sorry, I don't have more any idea :-( Wait for an answer tomorrow from a camptocamp developers. Your layers.ini and map files seems correct. Try makemaps script but I don't think it will be useful for this (actually it is used for switching map).

Moreover, I said soemthing wrong in my last mail, autoLegend is not useful for layer group, just to make legend, as its name tells !

I can check tomorrow with my own mapfile and layers.ini file.

Y.
Le Jeudi 20 Avril 2006 19:00, vous avez écrit :

I tried using the updated layers.ini file you sent. I still get the exact
same error:

Class : CartoclientException
Message : Child layer boundarylines not found
Backtrace:

file: 474 -
/home/cgdweb/site/cgddemo/cartoweb3/coreplugins/layers/client/ClientLayers.
php call: LayerNode->setChildren(Array(31), Null)

file: 492 -
/home/cgdweb/site/cgddemo/cartoweb3/coreplugins/layers/client/ClientLayers.
php call: ClientLayers->getLayerNode()

file: 512 -
/home/cgdweb/site/cgddemo/cartoweb3/coreplugins/layers/client/ClientLayers.
php call: ClientLayers->getLayersSecurityFiltered()

file: 525 -
/home/cgdweb/site/cgddemo/cartoweb3/coreplugins/layers/client/ClientLayers.
php call: ClientLayers->getLayers()

file: 762 -
/home/cgdweb/site/cgddemo/cartoweb3/coreplugins/layers/client/ClientLayers.
php call: ClientLayers->getLayerByName("root")

file: 420 -
/home/cgdweb/site/cgddemo/cartoweb3/coreplugins/layers/client/ClientLayers.
php call: ClientLayers->fetchHiddenSelectedLayers("root")

file: UNKNOWN - UNKNOWN
call: ClientLayers->createSession(Object(MapInfo), Object(InitialMapState))

file: 270 - /home/cgdweb/site/cgddemo/cartoweb3/common/PluginManager.php
call: call_user_func_array(Array(2), Array(2))

file: 285 - /home/cgdweb/site/cgddemo/cartoweb3/common/PluginManager.php
call: PluginManager->callPluginImplementing(Object(ClientLayers),
"Sessionable", "createSession", Array(2))

file: 574 - /home/cgdweb/site/cgddemo/cartoweb3/client/Cartoclient.php
call: PluginManager->callPluginsImplementing("Sessionable",
"createSession", Array(2))

file: 688 - /home/cgdweb/site/cgddemo/cartoweb3/client/Cartoclient.php
call: Cartoclient->callPluginsImplementing("Sessionable", "createSession",
Object(MapInfo), Object(InitialMapState))

file: 382 - /home/cgdweb/site/cgddemo/cartoweb3/client/Cartoclient.php
call: Cartoclient->initializeSession()

file: 36 - /home/cgdweb/site/cgddemo/cartoweb3/htdocs/client.php
call: Cartoclient->__construct()

file: 3 - /home/cgdweb/site/cgddemo/cartoweb3/htdocs/cgd_mapfile.php
call: require_once("/home/cgdweb/site/cgddemo/cartoweb3/htdocs/client.php")

Any further ideas?

Kenton W.





_______________________________________________
Cartoweb-users mailing list
[email protected]
http://lists.maptools.org/mailman/listinfo/cartoweb-users


_______________________________________________
Cartoweb-users mailing list
[email protected]
http://lists.maptools.org/mailman/listinfo/cartoweb-users

Reply via email to