For Feature Class in a GDB, I queried in Oracle SQL Developer:select * from RailLRSRoutes where RouteName = 'A1'and got 12 records returned. Got the same results using Definition Query in ArcMap.In the piece of code below: IQueryFilter queryFilter = new QueryFilterClass(); queryFilter.WhereClause = "RouteName = 'A1' "; IDataset dataset = (IDataset)fc; ISelectionSet pSelectionSet = fc.Select(queryFilter, esriSelectionType.esriSelectionTypeHybrid, esriSelectionOption.esriSelectionOptionOnlyOne, dataset.Workspace);the pSelectionSet.Count = 1 rather than multiple. What's wrong with my code here? Thanks.
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.