I'm getting my feet wet with the dotNet FDO api...
I'm curious to know if there is a way to execute an actual spatial query
against the Feature Source. In other words, not using Map's UI... at
least I couldn't find a emthod via the Map UI to do this???
I can create the exact query I require in the Oracle Spatial Index Advisor
performing an SDO_RELATE operation to return all lines within a polygon. I
would like to know if it's possible to execute similar queries against the
Feature Source. Or, am I missing something, and way out to lunch on
this... Which is completely possible ;-)
To query a feature source using the Map UI, you attach the feature source in the Display Manager, and then go to the "New" drop down on Display Manager to select "Query Feature Source". There are other ways to define the query in Display Manager, but that one is documented in the Autodesk Map 3D 2006 and ESRI ArcSDE Basics white paper.
As far as creating a query programmatically, I have been told that in ARX you can use the AcMapFdoEnabler class to do this. However, I have not found any examples. Also, if you want to render out the entities yourself, you can use the lower level APIs (GisPtr, FDOFilter, etc).