[Cartoweb-users] Removing/adding layers from cartoweb demo

Pierre GIRAUD pierre.giraud at camptocamp.com
Wed Jun 1 10:35:38 EDT 2005


What you might also want to do is to get started with no "layers.ini" 
file in your project. That way Cartoweb would automaticaly build a layer 
tree with all the layers found in the mapfile.
This allows you to test your application with an already build mapfile 
without having to fill the "layers.ini" file with the proper arguments.

-- 
_________________________________________________________
Pierre GIRAUD
Géomaticien, Analyste

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex 

Tel : 00 33 4 79 44 44 93
Mail : pierre.giraud at camptocamp.com
http://www.camptocamp.com  



julien muraz a écrit :

>About adding and removing layers in the cartoweb demo,
>you have to insert your layer in the mapfile first,
>then modify the server_conf\layer.ini file. This file
>maps the layers treeview (on the left). You also have
>to modify the map.ini for layers startup status, and
>maybe also another file from client_conf\...
>
>JMZ
>
>-------------------------------------------------------
>
>--- cartoweb-users-request at lists.maptools.org a écrit:
>  
>
>>Send Cartoweb-users mailing list submissions to
>>	cartoweb-users at lists.maptools.org
>>
>>To subscribe or unsubscribe via the World Wide Web,
>>visit
>>
>>
>>    
>>
>http://lists.maptools.org/mailman/listinfo/cartoweb-users
>  
>
>>or, via email, send a message with subject or body
>>'help' to
>>	cartoweb-users-request at lists.maptools.org
>>
>>You can reach the person managing the list at
>>	cartoweb-users-owner at lists.maptools.org
>>
>>When replying, please edit your Subject line so it
>>is more specific
>>than "Re: Contents of Cartoweb-users digest..."
>>
>>
>>Today's Topics:
>>
>>   1. Set or modify layer contents (R Baud)
>>
>>
>>
>>    
>>
>----------------------------------------------------------------------
>  
>
>>Message: 1
>>Date: Tue, 31 May 2005 16:40:48 +0200
>>From: R Baud <webloper at infogeo.ch>
>>Subject: [Cartoweb-users] Set or modify layer
>>contents
>>To: cartoweb-users at lists.maptools.org
>>Message-ID:
>>
>>    
>>
><1117550448-2b1f9f5463d62c50d1aac2fb76a5df97 at infogeo.ch>
>  
>
>>Content-Type: text/plain; charset="iso-8859-1"
>>
>>Hi,
>>I've seen this list is brand new, I just hope
>>someone will read me... :-)
>>I try to modify, in the demo project, the demo.map
>>file and the demo.ini file both located at:
>>\cartoweb3\projects\demo\server_conf\demo\
>>The purpose is to remove or add new layers. 
>>
>>I suppose modifying these two 2 files isn't
>>sufficient because I get this error message:
>>
>>
>>    
>>
>-------------------------------------------------------------------------------------------
>  
>
>>Failureclass:   SoapFaultmessage:   Could not find
>>msLayer districtBacktrace:file: 225 -
>>
>>    
>>
>C:\ms4w\apps\cartoweb3\coreplugins\layers\server\LayersInitProvider.phpcall:
>  
>
>>LayersInitProvider::fillDynamicLayer()file: 314 -
>>
>>    
>>
>C:\ms4w\apps\cartoweb3\coreplugins\layers\server\LayersInitProvider.phpcall:
>  
>
>>LayersInitProvider->fillDynamicLayer(Object(Layer))
>>
>>
>>    
>>
>-----------------------------------------------------------------
>  
>
>>This layer district doesn't exist in demo.ini or
>>.map, so where should I modify something more??
>>Which files must I edit for adding/deleting datas
>>layers??
>>
>> 
>>
>>Thanks in advance!
>>Rémy
>>
>>
>>
>> 
>>
>> 
>>
>> 
>>
>> 
>>
>>-------------- next part --------------
>>An HTML attachment was scrubbed...
>>URL:
>>
>>    
>>
>http://lists.maptools.org/pipermail/cartoweb-users/attachments/20050531/ab65bf15/attachment-0001.html
>  
>
>>------------------------------
>>
>>_______________________________________________
>>Cartoweb-users mailing list
>>Cartoweb-users at lists.maptools.org
>>
>>    
>>
>http://lists.maptools.org/mailman/listinfo/cartoweb-users
>  
>
>>End of Cartoweb-users Digest, Vol 1, Issue 1
>>********************************************
>>
>>    
>>
>
>
>	
>
>	
>		
>_____________________________________________________________________________ 
>Découvrez le nouveau Yahoo! Mail : 1 Go d'espace de stockage pour vos mails, photos et vidéos ! 
>Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com
>_______________________________________________
>Cartoweb-users mailing list
>Cartoweb-users at lists.maptools.org
>http://lists.maptools.org/mailman/listinfo/cartoweb-users
>  
>



More information about the Cartoweb-users mailing list