<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16640" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Hi</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>you have here a nice example of how to pass variables from
client to server:</FONT></DIV>
<DIV><FONT size=2><A
href="http://www.cartoweb.org/cwiki/HowToDisplayOnTheMapAPointFromADatabaseQuery">http://www.cartoweb.org/cwiki/HowToDisplayOnTheMapAPointFromADatabaseQuery</A></FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>and also a nice graphic that explain the data flow in a
plugin:</FONT></DIV>
<DIV><FONT size=2><A
href="http://www.cartoweb.org/doc/misc/plugins_diagram.pdf">http://www.cartoweb.org/doc/misc/plugins_diagram.pdf</A></FONT></DIV>
<DIV><FONT size=2>and the documentation that goes with it:</FONT></DIV>
<DIV><FONT size=2><A
href="http://www.cartoweb.org/doc_head/docbook/xhtml/dev.newplugin.html">http://www.cartoweb.org/doc_head/docbook/xhtml/dev.newplugin.html</A></FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>and some hundred message about how to do something like that
in the mailinglist archive</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="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=anis.7armel@gmail.com href="mailto:anis.7armel@gmail.com">Anis
Harmel</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> Tuesday, June 17, 2008 9:31
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Cartoweb-users]
filterPlugin</DIV>
<DIV><BR></DIV>Hi all,<BR>I get the plugin <A
href="http://lists.maptools.org/pipermail/cartoweb-users/attachments/20070619/68173e58/filterPlugin.zip"
target=_blank>filterPlugin</A> written by Dirk Jesko (<A
href="http://lists.maptools.org/pipermail/cartoweb-users/2007-June/002574.html"
target=_blank>there is a year</A>). I'm trying to change the code so that it
would be possible to filter according to several parameters ($filterString) by
layer.<BR><BR>I must have in my serverFilter<BR><BR>$ layer-> data =
"the_geom FROM (SELECT * FROM table WHERE column1 = {$filterString1} AND
column2 = {$filterString2} ....)". "Foo USING UNIQUE AS gid USING SRID =-
1";<BR><BR>instead:<BR><BR>$ layer-> data = "the_geom FROM (SELECT * FROM
table WHERE column1 = {$filterString1})". "Foo USING UNIQUE gid USING SRID =-
1";<BR><BR><BR>help please...<BR><BR><BR><SPAN style="COLOR: rgb(102,0,0)">En
français :</SPAN><BR style="COLOR: rgb(102,0,0)"><BR
style="COLOR: rgb(102,0,0)"><SPAN style="COLOR: rgb(102,0,0)">Salut tout le
monde,</SPAN><BR style="COLOR: rgb(102,0,0)"><SPAN
style="COLOR: rgb(102,0,0)">J'ai récupéré le plugin filterPlugin </SPAN><A
style="COLOR: rgb(102,0,0)"
href="http://lists.maptools.org/pipermail/cartoweb-users/attachments/20070619/68173e58/filterPlugin.zip"
target=_blank>ici</A><SPAN style="COLOR: rgb(102,0,0)"> écrit par Dirk Jesko
(</SPAN><A style="COLOR: rgb(102,0,0)"
href="http://lists.maptools.org/pipermail/cartoweb-users/2007-June/002574.html"
target=_blank>il ya un an</A><SPAN style="COLOR: rgb(102,0,0)">). J'essaye
depuis un moment de modifier le code de sorte qu'il serait possible de filtrer
les données selon plusieurs paramètres ($filterString).</SPAN><BR
style="COLOR: rgb(102,0,0)"><BR style="COLOR: rgb(102,0,0)"><SPAN
style="COLOR: rgb(102,0,0)">Je dois avoir dans mon serverFilter</SPAN><BR
style="COLOR: rgb(102,0,0)"><BR style="COLOR: rgb(102,0,0)"><SPAN
style="COLOR: rgb(102,0,0)">$ layer-> data = "the_geom FROM (SELECT * FROM
table WHERE column1 = {$filterString1} AND column2 = {$filterString2} ....)".
"Foo USING UNIQUE AS gid USING SRID =- 1";</SPAN><BR
style="COLOR: rgb(102,0,0)"><BR style="COLOR: rgb(102,0,0)"><SPAN
style="COLOR: rgb(102,0,0)">au lieu de :</SPAN><BR
style="COLOR: rgb(102,0,0)"><BR style="COLOR: rgb(102,0,0)"><SPAN
style="COLOR: rgb(102,0,0)">$ layer-> data = "the_geom FROM (SELECT * FROM
table WHERE column1 = {$filterString1})". "Foo USING UNIQUE gid USING SRID =-
1";</SPAN><BR style="COLOR: rgb(102,0,0)"><BR
style="COLOR: rgb(102,0,0)"><SPAN style="COLOR: rgb(102,0,0)">Merci de votre
aide...</SPAN>
<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>