AnsweredAssumed Answered

Convert DD to DMS with Python

Question asked by Mick_C on Apr 28, 2011
Latest reply on Sep 29, 2011 by curtvprice

I'm trying to automate the "Calculate Geometry" interactive process in ArcMap10 using Python. Interactively this allows me to calculate the X or Y attribute as a DMS string.

I have used the arcpy.AddXY_management to create and populate Decimal Degree fields however I'm new to Python and I cant get my head around how I write an expression to convert this to DMS.

Can anyone help?