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.

I am working on a project that needs to create file geodatabases from scratch and I cannot find any information about how to make new feature classes as annotation with Python.

Does anyone have any thoughts or suggestions on this? Is there another way to do this programmability outside of Python?

This question was written for ArcGIS Desktop 9.3 but Answers using ArcGIS 10 for Desktop are also welcome.

share|improve this question
    
thanks all for your input –  GuidoS Sep 25 '10 at 23:47

3 Answers 3

up vote 3 down vote accepted

I'm afraid it doesn't look like you can edit anotation objects within Python. According to this post the annotations are stored within Blob fields which are inaccessible from the Python geoprocessor. More than happy to be proved wrong here though!

As @Kirk Kuykendall says above, it's doable through arcobjects, maybe through an IAnnotationFeature.

share|improve this answer
1  
You are exactly right except for the IAnnotationFeature part, which (although related to annotations) will not help you when creating a feature class containing annotations. –  Petr Krebs Sep 28 '10 at 9:38

Maybe try Append Annotation Feature Classes with an empty input annotation featureclass. Or it can be done programmatically with arcobjects.

share|improve this answer

You could create your initial empty file geodatabase annotation feature class through ArcCatalog and then use the Feature Class To Feature Class tool in a Python script to create subsequent ones.

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.