Hi Kenton

What happens if you try to display the TownLines and Counties layers separatly (layers.root.children = AllMaine, Urban, Wetlands, TownLines, Counties, water, roads) ?

your config file seems ok but it could be a problem with the boundarylines children elements. also you could try to change the name of the layergroup boundarylines, maybe some weird conflict with a reserved keyword occure (I would be surprised but one never know).

Regards
Oliver



Hello,

I modified my layers.ini file so that it is now:

layers.root.className = LayerGroup
layers.root.children = AllMaine, Urban, Wetlands, boundarylines, water, roads
layers.root.rendering = tree

layers.AllMaine.className = Layer
layers.AllMaine.label = All of Maine

layers.Urban.className = Layer
layers.Urban.label = Urban Areas

layers.Wetlands.className = Layer
layers.Wetlands.label = Wetlands

layers.boundarylines.className = LayerGroup
layers.boundarylines.label = Boundary Lines
layers.boundarylines.children = TownLines, Counties
layers.boundarylines.rendering = tree

layers.TownLines.className = Layer
layers.TownLines.label = Town Lines

layers.Counties.className = Layer
layers.Counties.label = Counties

layers.water.className = LayerGroup
layers.water.label = Water Bodies
layers.water.children = BigWater, MedScaleWater, SmScaleWater
layers.water.aggregate = true

layers.BigWater.className = Layer
layers.BigWater.label = Large Waterbodies

layers.MedScaleWater.className = Layer
layers.MedScaleWater.label = Medium Detail Waterbodies

layers.SmScaleWater.className = Layer
layers.SmScaleWater.label = High Detail Waterbodies

layers.roads.className = LayerGroup
layers.roads.label = Roads
layers.roads.rendering = tree
layers.roads.children = LocalRds, SecRds, SpecRds, Interstate

layers.LocalRds.className = Layer
layers.LocalRds.label = Local Roads

layers.SecRds.className = Layer
layers.SecRds.label = Secondary Roads

layers.SpecRds.className = Layer
layers.SpecRds.label = Special Roads

layers.Interstate.className = Layer
layers.Interstate.label = Interstate

All of the layers are present in my mapfile, even the same case (ex: TownLines rather than townlines). I get the exact same error message. I tried deleting the boundarylines layerGroup entirely to have the layers shown independently in the layer tree. In spite of the fact that there is absolutely no mention of boundarylines child layer in the layers.ini file, I STILL get the error that the child layer boundarylines cannot be found. Do you have to re-run the cw3setup.php every time after
making changes to the layers.ini file?

I have attached both my mapfile and my layers.ini file for reference.

Thanks very much for your assistance!

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