troubles: QueryByAttributes on an ESRI Personal Geodatabase

Francesco Sozzi fsozzi at INTERCAD.CH
Tue May 23 11:26:46 EDT 2006


Anybody has any experience on using PHP mapscript queryByAttributes on an ESRI Personal Geodatabase connected via OGR?

If I specify a field and a value it works, but if I try to specify a complex filter it fails:

$layer->queryByAttributes("DESCR","Aerial railway",MS_MULTIPLE);                    //it works
$layer->queryByAttributes("DESCR","DESCR = 'Aerial railway'",MS_MULTIPLE);    //it fails
$layer->queryByAttributes("DESCR","[DESCR] = 'Aerial railway'",MS_MULTIPLE);    //it fails
$layer->queryByAttributes("DESCR","'[DESCR]' = 'Aerial railway'",MS_MULTIPLE);    //it fails

Any suggestions?...

Best regards

Francesco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060523/0a989c68/attachment.html


More information about the mapserver-users mailing list