[Cartoweb-users] Cartoweb beginner question

Oliver Christen oliver.christen at camptocamp.com
Fri Jan 28 08:18:54 EST 2011


Hi Carl

the answer is probably no, not in the way you want to do it (ie. passing a mapid in the url for example)
the mapfile is read very very early by Cartoweb and the consequence is one mapfile is linked to one project.
so if you want to access more than one mapfile, you need to have as many projects as you have of mapfiles.
now it's quite easy to duplicate a project, expecially if the only thing that change is the project name and the map id.
and projects can be selected with one parameter in the url for example: client.php?project=demoPlugins
but that maybe be a bit more work than what you want.

regards
Oliver

  ----- Original Message ----- 
  From: Carl Burn 
  To: Cartoweb-users at lists.maptools.org 
  Sent: Friday, January 28, 2011 1:52 PM
  Subject: [Cartoweb-users] Cartoweb beginner question


  Hi, 


  new to cartoweb but not to mapserver. I need to know if the following is possible with Cartoweb or not. I need to be able to forward users to an installation of Cartoweb from our site passing with them url parameters (a map file name) to enable a specific map file to be used on the map server which will contain a set of layers unique to them.
  Is this possible, if so can anyone point me to the docs/how to that would get me started?


  Cheers


  Burnsy


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


  _______________________________________________
  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/20110128/a41a0ef1/attachment.htm 


More information about the Cartoweb-users mailing list