Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

ArcGIS 10.1- I am planing to re-write an Add-in application targeting SDE Geodatabase(ArcObjects) to an add-in application targeting file Geodatabase.

The Add-in application is a Tool that allow the end user to select a set of features and return the list of attributes values related to the selected features into a combo box. I've also another button on the toolbar that perform upstream tracing following the user placed point on the feature.

I am looking at what are the changes that I have to make and best practices to use.

Any input will be appreciated.

share|improve this question
    
That sounds very rudimentary and it should not matter what sort of database the feature class is stored in. Could you post your code, or at least clarify whether you are using ArcObjects or arcpy? –  blah238 Aug 20 '13 at 18:45
    
Yes I am using ArcObjects –  Amo Aug 20 '13 at 18:46

1 Answer 1

Using ArcObjects, this is more or less straight forward. You use mostly the same interfaces, like IFeatureWorkspace, IFeatureClass, IFeatureDataset etc.

The main difference is the IWorkSpaceFactory being used; replace SdeWorkspaceFactory with FileGDBWorkspaceFactory. I have created several tools that targets both types using the same code.

There are a few differences though, for example, max lengths of dataset/ feature class names etc.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.