<?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 how to calculate latitude and longitude of points using python in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/how-to-calculate-latitude-and-longitude-of-points/m-p/546848#M42663</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;System ArcGIS 9.3&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Python 2.5&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have about 100 point shapefiles in a folder. (projection WGS 1984)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to get the point latitudes and longitudes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I used to use XTool Pro but it did not go well for version 9.1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please kindly advise any python code to calculate the latitudes and longitudes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 23 Dec 2012 22:05:10 GMT</pubDate>
    <dc:creator>ElaineKuo</dc:creator>
    <dc:date>2012-12-23T22:05:10Z</dc:date>
    <item>
      <title>how to calculate latitude and longitude of points using python</title>
      <link>https://community.esri.com/t5/python-questions/how-to-calculate-latitude-and-longitude-of-points/m-p/546848#M42663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;System ArcGIS 9.3&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Python 2.5&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have about 100 point shapefiles in a folder. (projection WGS 1984)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to get the point latitudes and longitudes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I used to use XTool Pro but it did not go well for version 9.1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please kindly advise any python code to calculate the latitudes and longitudes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Dec 2012 22:05:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-calculate-latitude-and-longitude-of-points/m-p/546848#M42663</guid>
      <dc:creator>ElaineKuo</dc:creator>
      <dc:date>2012-12-23T22:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: how to calculate latitude and longitude of points using python</title>
      <link>https://community.esri.com/t5/python-questions/how-to-calculate-latitude-and-longitude-of-points/m-p/546849#M42664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Not sure I understand, do you want the XY coordinates added to the attribute tables of point shapefiles for which you already have in WGS84?&amp;nbsp; I think the Add XY coordinates tool should do this, probably in decimal degrees, automatically adding PointX and PointY fields.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Also if you want to run that in batch, I think this tool will allow it...if you right-click on it in the toolbox and select Batch.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Optionally, you could set up an iterator in a Model or if you prefer, feed a list (or list a directory) into a loop in a python script.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Dec 2012 22:32:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-calculate-latitude-and-longitude-of-points/m-p/546849#M42664</guid>
      <dc:creator>T__WayneWhitley</dc:creator>
      <dc:date>2012-12-23T22:32:56Z</dc:date>
    </item>
  </channel>
</rss>

