Developer's Guide - MapGuide Open Source - OSGeo
Developer's Guide - MapGuide Open Source - OSGeo
Developer's Guide - MapGuide Open Source - OSGeo
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Examples<br />
These examples assume that the feature class you are querying has an integer<br />
property named year and a string property named owner. To select all features<br />
newer than 2001, create a filter like this:<br />
$queryOptions = new MgFeatureQueryOptions();<br />
$queryOptions->SetFilter('year > 2001');<br />
To select all features built between 2001 and 2004, create a filter like this:<br />
$queryOptions = new MgFeatureQueryOptions();<br />
$queryOptions->SetFilter('year >= 2001 and year