[Cartoweb-users] Trying to replace existing layer

guillaume champlong goutosig at yahoo.fr
Thu Jan 24 23:56:04 EST 2008

how fast you are Simon!!
I checked my mapfile ... again, but each layer appears only once.

----- Message d'origine ----
De : Simon Georget <simon.georget at gmail.com>
À : carto web <cartoweb-users at lists.maptools.org>
Cc : goutosig at yahoo.fr
Envoyé le : Vendredi, 25 Janvier 2008, 10h08mn 21s
Objet : Re: [Cartoweb-users] Trying to replace existing layer

Sorry to answer in french. I just realised and translate for the list.

I think I had a similar problem several months ago. Check on your mapfile if you 're not already using the same 'ia3_pottery' name to identify another element.

I think it was the way I solved my issue

On 1/25/08, Simon Georget <simon.georget at gmail.com
> wrote:salut guillaume,
je crois que j'avais eu un problème similaire a un moment. Regardes du côté de ton mapfile, si tu n'as pas déjà utilisé ce même nom 'ia3_pottery' ? 

Je crois me souvenir que c'était la clef de mon problème

On 1/25/08, guillaume champlong <
goutosig at yahoo.fr> wrote:

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 : SoapFaultWrapper
Message : 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.vector.className = LayerGroup
layers.vector.label = Choose a period
layers.vector.children = sa,ia
layers.vector.rendering = dropdown
layers.vector.icon = blank.png


 = LayerGroup
layers.ia.label = Iron Age
layers.ia.children = ia3_antiq1, ia3_antiq2, ia3_antiq3, ia3_pottery
layers.ia.rendering =
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


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

mapInfo.initialMapStates.default.layers.ia3_antiq1.selected = false

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

Where can this error come from?



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

Cartoweb-users mailing list

Cartoweb-users at lists.maptools.org

Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail http://mail.yahoo.fr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20080125/915e02a2/attachment-0001.html

More information about the Cartoweb-users mailing list