[Cartoweb-users] Web Map Context and Cartoweb

Oliver Christen oliver.christen at camptocamp.com
Tue May 23 05:18:42 EDT 2006


Hi Mathieu

There is no existing plugin (as far as i know) do to that. 
After some discussion it seems changing the mapfile during cartoweb execution is at the moment impossible. Everything is based on the initial mapfile. You would need to bypass cartoweb normal flow of execution by forcing a reset after the mapfile replacement.

Using mapscript, make your function to generate the map from context, then write it via the ->save methode of the map object (maybe). Then force a reset.
This is quite theorical and I cant guaranty success.
  ----- Original Message ----- 
  From: Mathieu Coudert 
  To: cartoweb-users at lists.maptools.org 
  Sent: Tuesday, May 23, 2006 10:28 AM
  Subject: [Cartoweb-users] Web Map Context and Cartoweb


  Hi list,

   

  I would like to load a context in Cartoweb using the loadMapContext function, 

  As it's possible to load a context with mapserver: Map Context Support Through CGI (http://mapserver.gis.umn.edu/docs/howto/mapcontext).

   

  The aim is to generate a map file using my context file (mycontext.xml). Then, the map file could be read by cartoweb as a common map file.

  I know the function to convert my context in map file but the problem is: 

  - Do I need to write a new plugin to generate my map file? 

  - Can I use an existing plugin and which files do I need to modify?

   

  Please, any help would be greatly appreciated.

   

  Thanks,

   

  Mathieu


  -- 
  Ce message a ete verifie par MailScanner pour des virus ou des polluriels et rien de suspect n'a ete trouve. 

  Les donnees et renseignements contenus dans ce message sont personnels, confidentiels et privés.Toute publication, utilisation ou diffusion, meme partielle, doit etre autorisee. 

  Any data and information contained in this electronic mail is personal, confidential and private. Any total or partial publication, use or distribution must be authorized. 


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


  _______________________________________________
  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/20060523/da37952b/attachment-0001.html


More information about the Cartoweb-users mailing list