<?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: Arcpy to extract the YMax coordinate and its X pair from polygon in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/arcpy-to-extract-the-ymax-coordinate-and-its-x/m-p/1305663#M70804</link>
    <description>&lt;P&gt;Yeah, getting YMax is easy. Would also be a one-liner with Arcade/Python. But Calculate Geometry Attributes won't give you the X coordinate of the northern-most vertex.&lt;/P&gt;</description>
    <pubDate>Wed, 05 Jul 2023 07:57:24 GMT</pubDate>
    <dc:creator>JohannesLindner</dc:creator>
    <dc:date>2023-07-05T07:57:24Z</dc:date>
    <item>
      <title>Arcpy to extract the YMax coordinate and its X pair from polygon</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcpy-to-extract-the-ymax-coordinate-and-its-x/m-p/1305521#M70787</link>
      <description>&lt;P&gt;Hello! I need a little bit of help!&lt;/P&gt;&lt;P&gt;I have to extract from a polygon feature class the YMax coordinate value and its corresponding X value ( which is not necessary equal to XMax). I need them in two fields in attribute table "YMax" and "X".&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried with field calculator for YMax, it worked, but i have problems with its pair, X coordinate.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2023 09:04:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcpy-to-extract-the-ymax-coordinate-and-its-x/m-p/1305521#M70787</guid>
      <dc:creator>EmiliaB</dc:creator>
      <dc:date>2023-07-04T09:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: Arcpy to extract the YMax coordinate and its X pair from polygon</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcpy-to-extract-the-ymax-coordinate-and-its-x/m-p/1305548#M70793</link>
      <description>&lt;P&gt;Field Calculator, switch to Arcade. Edit the last line to return the X or Y coordinate.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;function sort_by_y (p1, p2) {
    return p1.Y &amp;lt; p2.Y
}

var vertices = Geometry($feature).rings[0]
var v_YMax = First(Sort(vertices, sort_by_y))
return v_YMax.X&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 04 Jul 2023 11:22:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcpy-to-extract-the-ymax-coordinate-and-its-x/m-p/1305548#M70793</guid>
      <dc:creator>JohannesLindner</dc:creator>
      <dc:date>2023-07-04T11:22:36Z</dc:date>
    </item>
    <item>
      <title>Re: Arcpy to extract the YMax coordinate and its X pair from polygon</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcpy-to-extract-the-ymax-coordinate-and-its-x/m-p/1305621#M70799</link>
      <description>&lt;P&gt;You can get many geometry attributes directly for a whole featureclass using this tool&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/calculate-geometry-attributes.htm" target="_blank"&gt;Calculate Geometry Attributes (Data Management)—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;these include extent parameters amongst other things&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2023 22:37:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcpy-to-extract-the-ymax-coordinate-and-its-x/m-p/1305621#M70799</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2023-07-04T22:37:26Z</dc:date>
    </item>
    <item>
      <title>Re: Arcpy to extract the YMax coordinate and its X pair from polygon</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcpy-to-extract-the-ymax-coordinate-and-its-x/m-p/1305663#M70804</link>
      <description>&lt;P&gt;Yeah, getting YMax is easy. Would also be a one-liner with Arcade/Python. But Calculate Geometry Attributes won't give you the X coordinate of the northern-most vertex.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2023 07:57:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcpy-to-extract-the-ymax-coordinate-and-its-x/m-p/1305663#M70804</guid>
      <dc:creator>JohannesLindner</dc:creator>
      <dc:date>2023-07-05T07:57:24Z</dc:date>
    </item>
  </channel>
</rss>

