[Cartoweb-users] Trying to replace existing layer

Simon Georget simon.georget at gmail.com
Thu Jan 24 23:38:21 EST 2008


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_pottery
> >
> > Here 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
> > <http://fr.rd.yahoo.com/mail/mail_taglines/trueswitch/*http://www.trueswitch.com/yahoo-fr/>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/20080125/3b7bfab3/attachment.html


More information about the Cartoweb-users mailing list