Oups, I made a mistake, I meant this :
$featureSourceId = new MgResourceIdentifier('Session:' . $Session .
'//mysdf.FeatureSource');
$featureReader = $featureService->SelectFeatures($featureSourceId, 'ClassName',
null); //I think $featureSourceId->GetName() works instead of ClassName
$i=0;
while ($featureReader->ReadNext())
{
$id = $featureReader->GetInt32('ID'); // Or you could try FeatId
instead of ID
$features[$i] = $id;
$i++;
}
$featureReader->Close();
--
View this message in context:
http://n2.nabble.com/Unique-Identify-for-Feature-tp2545225p2547881.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users