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. <[email protected]>: > Try putting brackets around the field and parenthesis around the query > string. > > > > $Layer-> querybyattibutes ( "col", "([col] > 0 AND [col] < 100)”) > > > > Paul > > > > > > > *From: *mapserver-users <[email protected]> on > behalf of Moretti Edmar <[email protected]> > *Date: *Wednesday, October 19, 2016 at 9:12 PM > *To: *MapserverList OSGEO <[email protected]> > *Subject: *[mapserver-users] querybyattributes in version 7 > > > > Hello. > > How to make a query using "querybyattributes" and operators such as AND, OR ? > example: > > $Layer-> querybyattibutes ( "col", "col > 0 AND col < 100"). I'm using > MapScript 7.x. In previous versions it worked, but in version 7 no longer > works. > > > > -- > > ____________________________________________________________ > _______________ > > Edmar Moretti > > http://www.edmarmoretti.com.br > > Skype: edmar.moretti > > gTalk: edmar.moretti > > > > Para tirar dúvidas sobre o i3Geo utilize a lista: > > https://lists.osgeo.org/cgi-bin/mailman/listinfo/i3geo > > > > https://gratipay.com/~edmar.moretti/ > > > > > -- ___________________________________________________________________________ Edmar Moretti http://www.edmarmoretti.com.br Skype: edmar.moretti gTalk: edmar.moretti Para tirar dúvidas sobre o i3Geo utilize a lista: https://lists.osgeo.org/cgi-bin/mailman/listinfo/i3geo https://gratipay.com/~edmar.moretti/
_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
