Thanks Kenneth, That helps if we have the definition of an "identity column". ie how does FDO determine this? I assume (hope) it is not just having a FDO "IsAutogenerated()" value as obviously a database could have a unique column that is key but not from a sequence.
SHP and SDF generically get a "FeatId" autogenerated through the provider but this is not the case for foreign database schemas. Kenneth, GEOGRAF A/S wrote: > > To be able to select items the layer must be selectable (set in the > MapDefinition). > Secondly, the FeatureSource must have at least one identity column. > If not, all features on the layer are selected. > > Regards, Kenneth Skovhede, GEOGRAF A/S > > > > Crispin @ 1Spatial skrev: >> Hi, >> >> Can someone explain how the magic of MapGuide selection works... >> >> Of particular interest to me is a particular ArcSDE dataset that appears >> fine in MapGuide but (despite correct settings in Studio) has a class of >> points which when mapped as a layer do not 'select' in the map. >> >> Using a seperate direct FDO connection I can see the class has no >> columns/proprttydefinitions that are "IsAutogenerated()" - is this a >> requirement for a layer to be selectable or is there another criteria? >> >> Tooltips appear OK. >> >> Crispin >> >> > _______________________________________________ > mapguide-users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > -- View this message in context: http://www.nabble.com/MapGuide-Selection-and-UniqueID-Determination-tp17106209p17122431.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
