[Mapserver-users] PHP Mapscript and filters

Lyle Dietz dietzla at globalcjs.net
Mon Feb 10 20:31:38 EST 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