[mapguide-users] MapGuide Selection and UniqueID Determination

Kenneth, GEOGRAF A/S ks at geograf.dk
Thu May 8 05:07:06 EDT 2008


I am not sure.
For Oracle it seems to find the Primary Key, and use that.
The same goes for MySQL and Access.
I don't know about ArcSDE.

Regards, Kenneth Skovhede, GEOGRAF A/S


Crispin @ 1Spatial skrev:
> 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
>> mapguide-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>
>>
>>     
>
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080508/49d76715/attachment.html


More information about the mapguide-users mailing list