<?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: Coordinate Conversion in ArcPy? in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/coordinate-conversion-in-arcpy/m-p/748997#M24557</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;check out the SpatialReference parameter in the search cursor. Unfortunately you cannot directly convert coordinates using gp.describe, so you would either have to:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Using the SpatialReference parameter in the search cursor, loop through all the features keeping track of the xMin, yMin, xMax, and yMax extents of each feature, and then compute the xMin, yMin, xMax, and yMax for the entire layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Using gp.describe, get the layers extent, construct a polygon feature for it, project it (using the project tool), and then reread the coordinates.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Jul 2010 16:28:30 GMT</pubDate>
    <dc:creator>ChrisSnyder</dc:creator>
    <dc:date>2010-07-06T16:28:30Z</dc:date>
    <item>
      <title>Coordinate Conversion in ArcPy?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/coordinate-conversion-in-arcpy/m-p/748996#M24556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is there an easy way to take a set of coords in one projection and re-project them to another projection?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;example&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;desc = arcpy.Describe(fc)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ENVXLOW = desc.extent.XMin&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LNG_LOW = #convert ENVXLOW to 4326 coord?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I know this has to be able to be done, but I cant figure out how.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jul 2010 14:50:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/coordinate-conversion-in-arcpy/m-p/748996#M24556</guid>
      <dc:creator>KeithFraley</dc:creator>
      <dc:date>2010-07-06T14:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: Coordinate Conversion in ArcPy?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/coordinate-conversion-in-arcpy/m-p/748997#M24557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;check out the SpatialReference parameter in the search cursor. Unfortunately you cannot directly convert coordinates using gp.describe, so you would either have to:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Using the SpatialReference parameter in the search cursor, loop through all the features keeping track of the xMin, yMin, xMax, and yMax extents of each feature, and then compute the xMin, yMin, xMax, and yMax for the entire layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Using gp.describe, get the layers extent, construct a polygon feature for it, project it (using the project tool), and then reread the coordinates.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jul 2010 16:28:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/coordinate-conversion-in-arcpy/m-p/748997#M24557</guid>
      <dc:creator>ChrisSnyder</dc:creator>
      <dc:date>2010-07-06T16:28:30Z</dc:date>
    </item>
  </channel>
</rss>

