[Cartoweb-users] mapOverlay filterPlugin

Anis Harmel anis.7armel at gmail.com
Mon Jun 16 14:33:44 EDT 2008


Hi all,
I get the plugin
filterPlugin<http://lists.maptools.org/pipermail/cartoweb-users/attachments/20070619/68173e58/filterPlugin.zip>written
by Dirk Jesko (there
is a year<http://lists.maptools.org/pipermail/cartoweb-users/2007-June/002574.html>).
I'm trying to change the code so that it would be possible to filter
according to several parameters ($filterString) by layer.

I must have in my serverFilter

$ layer-> data = "the_geom FROM (SELECT * FROM table WHERE column1 =
{$filterString1} AND column2 = {$filterString2} ....)". "Foo USING UNIQUE AS
gid USING SRID =- 1";

instead:

$ layer-> data = "the_geom FROM (SELECT * FROM table WHERE column1 =
{$filterString1})". "Foo USING UNIQUE gid USING SRID =- 1";


help please...


En français :

Salut tout le monde,
J'ai récupéré le plugin filterPlugin
ici<http://lists.maptools.org/pipermail/cartoweb-users/attachments/20070619/68173e58/filterPlugin.zip>écrit
par Dirk Jesko (il
ya un an<http://lists.maptools.org/pipermail/cartoweb-users/2007-June/002574.html>).
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).

Je dois avoir dans mon serverFilter

$ layer-> data = "the_geom FROM (SELECT * FROM table WHERE column1 =
{$filterString1} AND column2 = {$filterString2} ....)". "Foo USING UNIQUE AS
gid USING SRID =- 1";

au lieu de :

$ layer-> data = "the_geom FROM (SELECT * FROM table WHERE column1 =
{$filterString1})". "Foo USING UNIQUE gid USING SRID =- 1";

Merci de votre aide...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20080616/84d294f2/attachment.html


More information about the Cartoweb-users mailing list