1

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.

  • 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
3

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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