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

Reply via email to