<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 6.00.6000.16608" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Hi</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>indeed, the mapOverlay would be perfeclty fine, as you would
simply have to set on the fly the DATA parameter of your layer depending of the
user choice.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>if there is only one dataset displayed at once, you only need
one layer in your mapfile and use mapOverlay to change the DATA.<BR>if the user
can select an undefined quantity of dataset, the easiest way is to duplicate an
existing layer (where you have set default CLASS and STYLE), set its name and
data and insert it.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>all the actions of mapOverlay are explained in <A
href="http://www.cartoweb.org/doc_head/docbook/xhtml/dev.mapoverlay.html">http://www.cartoweb.org/doc_head/docbook/xhtml/dev.mapoverlay.html</A><BR>and
you have a basic example there <A
href="http://lists.maptools.org/pipermail/cartoweb-users/2007-March/002236.html">http://lists.maptools.org/pipermail/cartoweb-users/2007-March/002236.html</A></FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>regards<BR>Oliver</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=bmw@benwyss.com href="mailto:bmw@benwyss.com">bmw@benwyss.com</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=oliver.christen@camptocamp.com
href="mailto:oliver.christen@camptocamp.com">oliver.christen@camptocamp.com</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Cc:</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> Thursday, March 06, 2008 4:45
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> postGIS dataset</DIV>
<DIV><BR></DIV><BR>Hello, my cartoweb project involves mapping
information from a postGIS dataset, I would like the user to be able to select
the dataset to be maped, each data set has a unique identifiyer eg: <A
href="http://quake/calculationSession.xsp?id=23">http://quake/calculationSession.xsp?id=23</A>
<A
href="http://quake/calculationSession.xsp?id=24">http://quake/calculationSession.xsp?id=24</A>
and so on. Whats is the best way to do this? I have been looking into the
MapOverlay plugin using a filter pluging? or are there other options?<BR>Thank
you, Ben Wyss<BR><BR></BLOCKQUOTE></BODY></HTML>