<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18999">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Cartoweb's displayed layers depend of the layers.ini file,
which link the layers in the mapfile with the layer tree in the user interface.
</FONT></DIV>
<DIV><FONT size=2>if you add new layers in the mapfile, you need to add the
corresponding entries in the layers.ini</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>maybe use a working project as template, and simply overwrite
some files with user specific content when needed, that should keep the
maintenance time as low as possible.</FONT></DIV>
<DIV><FONT size=2>if the differences are only in the list of layers, you should
have only a couples of specific files by user to maintain: client_conf.ini
(client side), *projectname*.ini (server side), layers.ini (server side)
and the server folder renaming.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>regards</FONT></DIV>
<DIV><FONT size=2>Oliver</FONT></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B>
<A title=burnsy@northcountrywoods.co.uk
href="mailto:burnsy@northcountrywoods.co.uk">Carl Burn</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=Cartoweb-users@lists.maptools.org
href="mailto:Cartoweb-users@lists.maptools.org">Cartoweb-users@lists.maptools.org</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, January 28, 2011 2:40
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Cartoweb-users] Cartoweb
beginner question</DIV>
<DIV><BR></DIV>Hi Oliver,
<DIV><BR></DIV>
<DIV>thanks for the response, looking at the documentation it looks like
I could create projects programmatically for users and so have one for each
user. The project would need to get its data from a map file unique to the
user which I create as part of the main site process, but would I need to
recreate the project if the map file were altered e.g. new layers added or
layers removed.</DIV>
<DIV><BR></DIV>
<DIV><BR></DIV>
<DIV>Cheers</DIV>
<DIV><BR></DIV>
<DIV>Carl<BR>
<DIV><BR></DIV>
<DIV><BR><BR>
<DIV class=gmail_quote>On Fri, Jan 28, 2011 at 1:18 PM, Oliver Christen <SPAN
dir=ltr><<A
href="mailto:oliver.christen@camptocamp.com">oliver.christen@camptocamp.com</A>></SPAN>
wrote:<BR>
<BLOCKQUOTE
style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>
<DIV bgcolor="#ffffff">
<DIV><FONT size=2>Hi Carl</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>the answer is probably no, not in the way you want to do
it (ie. passing a mapid in the url for example)</FONT></DIV>
<DIV><FONT size=2>the mapfile is read very very early by Cartoweb and the
consequence is one mapfile is linked to one project.</FONT></DIV>
<DIV><FONT size=2>so if you want to access more than one mapfile, you need
to have as many projects as you have of mapfiles.</FONT></DIV>
<DIV><FONT size=2>now it's quite easy to duplicate a project, expecially if
the only thing that change is the project name and the map id.</FONT></DIV>
<DIV><FONT size=2>and projects can be selected with one parameter in the url
for example: client.php?project=demoPlugins</FONT></DIV>
<DIV><FONT size=2>but that maybe be a bit more work than what you
want.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>regards</FONT></DIV>
<DIV><FONT size=2>Oliver</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV style="FONT: 10pt arial; BACKGROUND: #e4e4e4"><B>From:</B> <A
title=burnsy@northcountrywoods.co.uk
href="mailto:burnsy@northcountrywoods.co.uk" target=_blank>Carl Burn</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=Cartoweb-users@lists.maptools.org
href="mailto:Cartoweb-users@lists.maptools.org"
target=_blank>Cartoweb-users@lists.maptools.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, January 28, 2011 1:52
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Cartoweb-users] Cartoweb
beginner question</DIV>
<DIV><BR></DIV>Hi,
<DIV><BR></DIV>
<DIV>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.</DIV>
<DIV>Is this possible, if so can anyone point me to the docs/how to that
would get me started?</DIV>
<DIV><BR></DIV>
<DIV>Cheers</DIV>
<DIV><BR></DIV>
<DIV>Burnsy</DIV>
<P></P>
<HR>
<P></P>_______________________________________________<BR>Cartoweb-users
mailing list<BR><A href="mailto:Cartoweb-users@lists.maptools.org"
target=_blank>Cartoweb-users@lists.maptools.org</A><BR><A
href="http://lists.maptools.org/mailman/listinfo/cartoweb-users"
target=_blank>http://lists.maptools.org/mailman/listinfo/cartoweb-users</A><BR>
<P></P></BLOCKQUOTE></DIV></BLOCKQUOTE></DIV><BR></DIV></DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>Cartoweb-users
mailing
list<BR>Cartoweb-users@lists.maptools.org<BR>http://lists.maptools.org/mailman/listinfo/cartoweb-users<BR></BLOCKQUOTE></BODY></HTML>