Add Cogo Fields via arcpy

962
5
06-16-2014 09:29 AM
NoahHuntington
Occasional Contributor
Is anyone aware of a way to add cogo fields to a feature class using a stand alone script?
Tags (2)
0 Kudos
5 Replies
JakeSkinner
Esri Esteemed Contributor
Hi Noah,

There is not a arcpy function that will add the COGO fields, but you can easily create a script to do this using the Add Field tool.  The below link provides the field names, description, alias, and format for each of the fields:

http://resources.arcgis.com/en/help/main/10.2/index.html#//01m700000042000000

Ex:

arcpy.AddField_management(table, "Direction", "Text", "", "", "12", "COGO Direction")
0 Kudos
NoahHuntington
Occasional Contributor
Thanks Jake! I am probably missing something here.  How do I then populate this field with directions?
0 Kudos
JakeSkinner
Esri Esteemed Contributor
Does this have to be accomplished through python as well?  Not sure if this is possible, but you can do this using the COGO toolbar:

http://resources.arcgis.com/en/help/main/10.2/index.html#//01m700000008000000
0 Kudos
NoahHuntington
Occasional Contributor
Yes unfortunatley I need to accomplish this dynamically and as part of a much larger python script?
0 Kudos
NoahHuntington
Occasional Contributor
Does this have to be accomplished through python as well?  Not sure if this is possible, but you can do this using the COGO toolbar:

http://resources.arcgis.com/en/help/main/10.2/index.html#//01m700000008000000


Yes unfortunately I need to accomplish this dynamically and as part of a much larger python script?
0 Kudos