Re: [mapserver-users] querybyattributes in version 7

2016-10-20 Thread Moretti Edmar
Paul, thank you, your example solved my problem in Postgis and Shapefile layers (Mapserver version 7) Edmar 2016-10-20 18:47 GMT-02:00 Moen, Paul T. : > Try putting brackets around the field and parenthesis around the query > string. > > > > $Layer-> querybyattibutes ( "col",

Re: [mapserver-users] IN operator via queryByAttribute no longer works in php-mapscript Mapserver 7.0.2

2016-10-20 Thread Rahkonen Jukka (MML)
Hi, This question in gis.stackexchange is also about using IN in FILTER http://gis.stackexchange.com/questions/214899/in-operator-in-filter-in-my-mapfile/214921#214921. Could they be related? -Jukka Rahkonen- Lähettäjä: Moen, Paul T.

[mapserver-users] IN operator via queryByAttribute no longer works in php-mapscript Mapserver 7.0.2

2016-10-20 Thread Moen, Paul T.
I cannot get the IN operator to work with queryByAttributes in the new version of php_mapscript. I see nothing obvious mentioned in the migration guide and have found no examples in the documentation on the syntax expected by Mapserver 7.0.2. The following queryByAttribute using an IN clause

Re: [mapserver-users] querybyattributes in version 7

2016-10-20 Thread Moen, Paul T.
Try putting brackets around the field and parenthesis around the query string. $Layer-> querybyattibutes ( "col", "([col] > 0 AND [col] < 100)”) Paul From: mapserver-users on behalf of Moretti Edmar Date: Wednesday, October