[mapguide-users] Search multiple features
ehsan
ehsan85 at yahoo.com
Tue Dec 29 00:22:01 EST 2009
Hi, i would like to ask..i want to make searching for multiple features and
select it on the map...
to be clear this is what i want to do..
before this i search on the map by using this code
$opts = new MgFeatureQueryOptions();
$opts->SetFilter("(NO_LOT='0124')");//set the query filter
$featureClassName = $layer->GetFeatureClassName();
$srcId = new MgResourceIdentifier($layer->GetFeatureSourceId());
$features = $featureSrvc->SelectFeatures($srcId, $featureClassName,
$opts);
$hasResult = $features->ReadNext();
in this code i just search for one value for NO_LOT, what i would like to do
is, i want to search NO_LOT by using multiple value for example to search
for NO_LOT "0234" & "0023".
is there a way that i could do to make it...?
Thanks...
--
View this message in context: http://n2.nabble.com/Search-multiple-features-tp4226584p4226584.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list