Hi,
We would like to use Oracle views (based on Spatial tables) for feature sources of the Mapguide layers. The display of the features is o.k., but the selection does not work. It does not work in the viewer, I can't select elements, nothing happens when I click on an element or draw envelope around an element. And it does not work from the API, I try to use the $selection->ToXml() and the XML looks like this, the IDs are empty:
But if I modify the layer definition, and set the feature source to the Oracle table, instead of the view, the selection works fine, either with the viewer or from the API.
What is missing from the view? Should I put any specific column into the view? I tried the "FEATID", but nothing changed.
Mapguide Enterprise 2010
Oracle 10.2.0.4
Linux
Thanks,
Szabolcs