[Cartoweb-users] Layers.ini

Alexandre Saunier alexandre.saunier at camptocamp.com
Wed Dec 14 08:14:37 EST 2005


Hello,

the automatic layer tree generation (when no layers.ini is available) is 
a broken functionality in recent CW3 flavours.
http://bugzilla.maptools.org/show_bug.cgi?id=1093

It seems to me that at least a minimal layers.ini is required in current 
versions.

 > directions from his "Minimal Project". The final point states: "Discard
 > the layers.ini (a basic layer tree is then generated)".

Oops! Where have you read this? In some recent manual or mail?
Maybe in a deprecated piece of doc?

AS

Oliver Ishmael wrote:
> Hi all,
> 
> I have added my own project to Cartoweb3 following Alexandre Saunier 
> directions from his "Minimal Project". The final point states: "Discard 
> the layers.ini (a basic layer tree is then generated)". I have done 
> this, but no new layers.ini has been created. How do i get it to 
> auto-generate?
> --------------------------------------------------------------------------
> 
> On a separate note (possibly linked), when trying to display my project 
> i get the following error:
> 
> Failure
> class:   SoapFaultWrapper
> message:   Mapserver error: Error in msDrawMap(): Failed to draw layer 
> named 'settlements'.
> Error in msSHPOpenFile(): 
> (c:\wamp\www\cartoweb3/projects/baplanning/server_conf/baplanning/settlements.shp) 
> 
> Error in msSHPOpenFile(): (/data/settlements.shp)
> 
> It seems to me that a may have defined the link to my 'data' wrongly 
> (c:\wamp\www\cartoweb3\projects\baplanning\server_conf\baplanning\data\settlements.shp) 
> but i can't figure out which file i need to edit to correct this. Can 
> anyone see an obvious problem/solution?
> ------------------------------------------------
> 
> Cheers
> Olly
> 
> _________________________________________________________________
> Are you using the latest version of MSN Messenger? Download MSN 
> Messenger 7.5 today! http://messenger.msn.co.uk
> 
> _______________________________________________
> 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