<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Add Lat/Long coordinates to an UTM shape file in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/add-lat-long-coordinates-to-an-utm-shape-file/m-p/300201#M10405</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Samuel,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Add a Lat and Long field to your feature (data type double). Right click the heading of your field and click "Calculate Geometry...". Property choose X or Y Coordinate of your point (depending if you calculate your Lat or your Long field) and as "Units:" choose "Decimal Degrees". This will calculate it for all your features.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Sep 2013 16:14:03 GMT</pubDate>
    <dc:creator>TimWitt</dc:creator>
    <dc:date>2013-09-13T16:14:03Z</dc:date>
    <item>
      <title>Add Lat/Long coordinates to an UTM shape file</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/add-lat-long-coordinates-to-an-utm-shape-file/m-p/300199#M10403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am not able to find a tool (or function) that would add geographic coordinates say DD or DMS to a shape file that is in UTM (or other projected systems). When I add a field and calculate using the !shape.extent!&amp;nbsp; in the window, I get only the UTM coordinates. When I use the ADDXY tool, the same. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I add additional geographic coordinates to the shape file without re-projecting the datasets?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Samuel Rajasekhar&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;import arcpy
import os
from arcpy import env
arcpy.env.overwriteOutput = False

arcpy.env.workspace = r'\\GISARL01\AerialStaging\BPSDelivery_080813\BPS8-Delivery\WO_80_Early_1980s_CIR_NHAP_WI_IL_IN_OH_GA_2nd\Index'

# Set the input feature (Shape file, geo-databse polygon feature, etc of Index)

inputFeature = "Foot_Prints_WGS84_NoCollar.dbf"


arcpy.AddField_management(inputFeature, "MinLat", "DOUBLE", "", "", "", "", "NULLABLE", "NON_REQUIRED", "")
print"MinLat Field added"

arcpy.AddField_management(inputFeature, "MinLon", "DOUBLE", "", "", "", "", "NULLABLE", "NON_REQUIRED", "")
print"MinLon Field added"

arcpy.AddField_management(inputFeature, "MaxLat", "DOUBLE", "", "", "", "", "NULLABLE", "NON_REQUIRED", "")
print"MaxLat Field added"

arcpy.AddField_management(inputFeature, "MaxLon", "DOUBLE", "", "", "", "", "NULLABLE", "NON_REQUIRED", "")
print"MaxLon Field added"

arcpy.AddField_management(inputFeature, "CenterLat", "DOUBLE", "", "", "", "", "NULLABLE", "NON_REQUIRED", "")
print"CenterLat Field added"

arcpy.AddField_management(inputFeature, "CenterLon", "DOUBLE", "", "", "", "", "NULLABLE", "NON_REQUIRED", "")
print"CenterLon filed added"

arcpy.CalculateField_management(inputFeature, "MinLat", "!SHAPE.EXTENT.YMIN!", "PYTHON_9.3", "")
print"MinLat Field calculated"

arcpy.CalculateField_management(inputFeature, "MinLon", "!SHAPE.EXTENT.XMIN!", "PYTHON_9.3", "")
print"MinLon Field calculated"

arcpy.CalculateField_management(inputFeature, "MaxLat", "!SHAPE.EXTENT.YMAX!", "PYTHON_9.3", "")
print"MaxLat Field calculated"

arcpy.CalculateField_management(inputFeature, "MaxLon", "!SHAPE.EXTENT.XMAX!", "PYTHON_9.3", "")&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
print"MaxLon Field calculated"

arcpy.CalculateField_management(inputFeature, "CenterLat", "!SHAPE.CENTROID.Y!", "PYTHON_9.3", "")
print"CenterLat Field calculated"

arcpy.CalculateField_management(inputFeature, "CenterLon", "!SHAPE.CENTROID.X!", "PYTHON_9.3", "")
print"CenterLon Field calculated"&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2013 15:56:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/add-lat-long-coordinates-to-an-utm-shape-file/m-p/300199#M10403</guid>
      <dc:creator>D__SamuelRajasekhar</dc:creator>
      <dc:date>2013-09-13T15:56:22Z</dc:date>
    </item>
    <item>
      <title>Add Lat/Long coordinates to an UTM shape file</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/add-lat-long-coordinates-to-an-utm-shape-file/m-p/300200#M10404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am not able to find a tool (or function) that would add geographic coordinates say DD or DMS to a shape file that is in UTM (or other projected systems). When I add a field and calculate using the !shape.extent!&amp;nbsp; in the window, I get only the UTM coordinates. When I use the ADDXY tool, the same. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I add additional geographic coordinates to the shape file without re-projecting the datasets?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Samuel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2013 15:57:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/add-lat-long-coordinates-to-an-utm-shape-file/m-p/300200#M10404</guid>
      <dc:creator>D__SamuelRajasekhar</dc:creator>
      <dc:date>2013-09-13T15:57:30Z</dc:date>
    </item>
    <item>
      <title>Re: Add Lat/Long coordinates to an UTM shape file</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/add-lat-long-coordinates-to-an-utm-shape-file/m-p/300201#M10405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Samuel,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Add a Lat and Long field to your feature (data type double). Right click the heading of your field and click "Calculate Geometry...". Property choose X or Y Coordinate of your point (depending if you calculate your Lat or your Long field) and as "Units:" choose "Decimal Degrees". This will calculate it for all your features.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2013 16:14:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/add-lat-long-coordinates-to-an-utm-shape-file/m-p/300201#M10405</guid>
      <dc:creator>TimWitt</dc:creator>
      <dc:date>2013-09-13T16:14:03Z</dc:date>
    </item>
  </channel>
</rss>

