[Cartoweb-users] Mapfile switch

Oliver Christen oliver.christen at camptocamp.com
Thu May 24 03:10:15 EDT 2007


Hi Christoph

this is not possible without heavy modification of Cartoweb.
you cant change the mapfile on-the-fly. One project means one mapfile and
one session.

The only way is to "mirror" two project so they look alike, but the session
will be different, so if you want to keep a user logged for example, you
will need to extend the auth plugin and mess with the sessions.

there was a discussion about this matter on the mailing list:
http://lists.maptools.org/pipermail/cartoweb-users/2007-April/002365.html
http://lists.maptools.org/pipermail/cartoweb-users/2007-March/002204.html

regards
Oliver

> Hi list
>
> I would like to create in an existing CartoWeb Project a second mapfile.
> Depending on the request of CaroWeb one or the other mapfile would be used
> during the session.
> The reason is following: I have an existing CartoWeb Project and a client
> who's just interested in a small geographic part of the project. He has
> supplemtary layers which are just for his office. This layers must be
> already visible at the start of CartoWeb (without login).
>
> Does anybody have any experience with that? Do I have to extend the
> ProjectHandler file?
>
>
>
> Mit freundlichen Grüssen
>
>
> Christoph Lauber
>
> _______________________________________________
> 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