<?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: How do I get AOI coordinates from Extract Data? in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/how-do-i-get-aoi-coordinates-from-extract-data/m-p/301850#M10496</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well you could, but it wont be the same.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Odds are the extent of the input featureset will be bigger than the feature which was given.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I guess it all depends on what you want....the true coordinates of the feature which was given, or if the extent will do.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want the extent, you just describe each coordinate:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
d = arcpy.Describe(aoi).extent
xMin = d.XMin
xMax = d.XMax
#etc&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 14:28:52 GMT</pubDate>
    <dc:creator>KevinHibma</dc:creator>
    <dc:date>2021-12-11T14:28:52Z</dc:date>
    <item>
      <title>How do I get AOI coordinates from Extract Data?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-do-i-get-aoi-coordinates-from-extract-data/m-p/301847#M10493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm trying to extend the Extract Data sample by passing the Area of Interest (AOI) coordinates to another program. Because the model is interactive and the AOI data temporary, I can't see the values while it is running.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone tell me how to obtain the coordinates of the variable "aoi" in ExtractData.py?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jim&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Nov 2013 18:29:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-do-i-get-aoi-coordinates-from-extract-data/m-p/301847#M10493</guid>
      <dc:creator>JimDickerson</dc:creator>
      <dc:date>2013-11-04T18:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get AOI coordinates from Extract Data?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-do-i-get-aoi-coordinates-from-extract-data/m-p/301848#M10494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The AOI from extractdata is a featureset input.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There isn't really a 1 step you can do to get the coordinates of the polygon.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you just want the features returned as they were submitted, you could add an output parameter of type featureclass and copy the input into the output.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you really need the coordinates (which will be at least 3 X/Y pairs, if not more), you'll have to either do a cursor to get X/Y at each vertex, or maybe do something like features to points then do an Add XY and return the table values.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Nov 2013 18:41:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-do-i-get-aoi-coordinates-from-extract-data/m-p/301848#M10494</guid>
      <dc:creator>KevinHibma</dc:creator>
      <dc:date>2013-11-04T18:41:15Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get AOI coordinates from Extract Data?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-do-i-get-aoi-coordinates-from-extract-data/m-p/301849#M10495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In the script ExtractData.py, the variable aoi representing the feature set is passed around. I thought there would be some method or function that would break down the coordinates of the feature set into xmin, ymin, xmax, ymax.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I was going to use that as a bounding box to a WMS server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can I do a describe or something on aoi?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Nov 2013 19:53:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-do-i-get-aoi-coordinates-from-extract-data/m-p/301849#M10495</guid>
      <dc:creator>JimDickerson</dc:creator>
      <dc:date>2013-11-04T19:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get AOI coordinates from Extract Data?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-do-i-get-aoi-coordinates-from-extract-data/m-p/301850#M10496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well you could, but it wont be the same.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Odds are the extent of the input featureset will be bigger than the feature which was given.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I guess it all depends on what you want....the true coordinates of the feature which was given, or if the extent will do.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want the extent, you just describe each coordinate:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
d = arcpy.Describe(aoi).extent
xMin = d.XMin
xMax = d.XMax
#etc&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 14:28:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-do-i-get-aoi-coordinates-from-extract-data/m-p/301850#M10496</guid>
      <dc:creator>KevinHibma</dc:creator>
      <dc:date>2021-12-11T14:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get AOI coordinates from Extract Data?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-do-i-get-aoi-coordinates-from-extract-data/m-p/301851#M10497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In this particular case, the extent will do.&amp;nbsp; So I will try this approach.&amp;nbsp; Thanks for the help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jim&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Nov 2013 20:05:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-do-i-get-aoi-coordinates-from-extract-data/m-p/301851#M10497</guid>
      <dc:creator>JimDickerson</dc:creator>
      <dc:date>2013-11-04T20:05:00Z</dc:date>
    </item>
  </channel>
</rss>

