[mapguide-users] Unique Identify for Feature

Jsm enriquev at consortech.com
Fri Mar 27 23:30:23 EDT 2009


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.



More information about the mapguide-users mailing list