[Mapserver-users] PHP Mapscript and filters

Lyle Dietz dietzla at globalcjs.net
Mon Feb 10 17:31:38 PST 2003


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.



More information about the MapServer-users mailing list