[Mapserver-users] PHP Mapscript and filters

Lyle Dietz dietzla@globalcjs.net
11 Feb 2003 11:31:38 +1000


I'm getting some dodgy behavior from PHP MapScript in 3.6.3, when using
filters with PostGIS. Trying to do:

$layer->setFilter($filter);

fails with:

$street = "MARY";
$filter = "street = '$filter'";

I am using a sub-select for the source table, and when the accursed SQL
that MapScript tried to use shows up, its SQL WHERE clause has the
curious (street = ). Beats the hell out of me.... :(

Have I lost the plot somewhere in my reasoning, or is there something
dodgy in MapScript.
_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users