[Cartoweb-users] Trying to replace existing layer

Oliver Christen oliver.christen at camptocamp.com
Mon Feb 4 04:42:56 EST 2008


Hi
I dont see anything wrong in your layers.ini
do you still have the problem after reseting the session ?

regards
Oliver
  ----- Original Message ----- 
  From: guillaume champlong 
  To: carto web 
  Sent: Friday, January 25, 2008 5:04 AM
  Subject: [Cartoweb-users] Trying to replace existing layer


  Hi all,

  I am using cw3.4 on windows XP.
  I am facing this this problem: after renaming some of my layers, I am given this message:


Class : SoapFaultWrapperMessage : Trying to replace existing layer ia3_potteryHere is some of my code:

  (I assume my mapfile is ok since I have no error from this part, and the layers were working before that)

  layers.ini:

  layers.vector.className = LayerGroup
  layers.vector.label = Choose a period
  layers.vector.children = sa,ia
  layers.vector.rendering = dropdown
  layers.vector.icon = blank.png

  layers.ia.className = LayerGroup
  layers.ia.label = Iron Age
  layers.ia.children = ia3_antiq1, ia3_antiq2, ia3_antiq3, ia3_pottery
  layers.ia.rendering = tree
  layers.ia.icon = blank.png

  layers.ia3_pottery.className = Layer
  layers.ia3_pottery.label = Pottery
  layers.ia3_pottery.msLayer = pottery
  layers.ia3_pottery.icon = blank.png

  myproject.ini:

  ; initial map states
  mapInfo.initialMapStates.default.location.bbox = "73.48, 7.25, 82.51, 13.57"

  mapInfo.initialMapStates.default.layers.ia3_antiq1.selected = false
  mapInfo.initialMapStates.default.layers.ia3_antiq2.selected = false
  mapInfo.initialMapStates.default.layers.ia3_antiq3.selected = false
  mapInfo.initialMapStates.default.layers.ia3_pottery.selected = false


  Where can this error come from?
  Thanks.
  G.



------------------------------------------------------------------------------
  Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 


------------------------------------------------------------------------------


  _______________________________________________
  Cartoweb-users mailing list
  Cartoweb-users at lists.maptools.org
  http://lists.maptools.org/mailman/listinfo/cartoweb-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20080204/0f0fd82d/attachment-0001.html


More information about the Cartoweb-users mailing list