My ultimate goal is to know UTM and UTM Northing and Easting. The data can be anywhere in North america. I calculated UTM using arcpy tool (arcpy.CalculateUTMZone_cartography) and I tried to truncate the value (e.g.'17N') to Project_management as part of Output coordinate string but so far no luck. Please advise.
Thanks
The code is here:
arcpy.CalculateUTMZone_cartography(outPointSHP, "UTM")
pointUTM= arcpy.SearchCursor(outPointSHP)
for row in pointUTM:
UTM_var= str(row.getValue('UTM'))[30:32]
del pointUTM
ok = UTM_var
arcpy.AddMessage(ok)
out_coordinate_system = os.path.join(connectionPath+'/', r"projections/NAD1983/NAD 1983 UTM Zone "+ok+"N.prj")
arcpy.Project_management(outPointSHP, projPointSHP, out_coordinate_system)