<?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 arcgis python toolbox, how do i get the geom from a GPFeatureRecordSetLayer after a polygon has been created in Roads and Highways Questions</title>
    <link>https://community.esri.com/t5/roads-and-highways-questions/arcgis-python-toolbox-how-do-i-get-the-geom-from-a/m-p/111463#M321</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all.&lt;/P&gt;&lt;P&gt;I have a custom python toolbox created in ArcMap 10.5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using&amp;nbsp;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff; font-weight: bold;"&gt;GPFeatureRecordSetLayer &lt;/SPAN&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;to draw a polygon onto a in_memory layer.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;I can see a in_memory layer created when I run the tool, there are no errors.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;How do I access that layer or in particular, how do I go about accessing the geom in that layer to send to a REST endpoint please?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;The parameter looks like:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;paramPoly = arcpy.Parameter(&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;displayName = "aoi",&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;name = "aoi",&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;dataType = "&lt;SPAN style="font-weight: bold;"&gt;GPFeatureRecordSetLayer",&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;parameterType = "Required",&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;direction = "Input")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;paramPoly.value = r"local address to a polygon layer"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;thank you very much for any help)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Mar 2020 08:00:46 GMT</pubDate>
    <dc:creator>AlanBloor1</dc:creator>
    <dc:date>2020-03-03T08:00:46Z</dc:date>
    <item>
      <title>arcgis python toolbox, how do i get the geom from a GPFeatureRecordSetLayer after a polygon has been created</title>
      <link>https://community.esri.com/t5/roads-and-highways-questions/arcgis-python-toolbox-how-do-i-get-the-geom-from-a/m-p/111463#M321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all.&lt;/P&gt;&lt;P&gt;I have a custom python toolbox created in ArcMap 10.5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using&amp;nbsp;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff; font-weight: bold;"&gt;GPFeatureRecordSetLayer &lt;/SPAN&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;to draw a polygon onto a in_memory layer.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;I can see a in_memory layer created when I run the tool, there are no errors.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;How do I access that layer or in particular, how do I go about accessing the geom in that layer to send to a REST endpoint please?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;The parameter looks like:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;paramPoly = arcpy.Parameter(&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;displayName = "aoi",&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;name = "aoi",&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;dataType = "&lt;SPAN style="font-weight: bold;"&gt;GPFeatureRecordSetLayer",&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;parameterType = "Required",&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;direction = "Input")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;paramPoly.value = r"local address to a polygon layer"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;thank you very much for any help)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Mar 2020 08:00:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/roads-and-highways-questions/arcgis-python-toolbox-how-do-i-get-the-geom-from-a/m-p/111463#M321</guid>
      <dc:creator>AlanBloor1</dc:creator>
      <dc:date>2020-03-03T08:00:46Z</dc:date>
    </item>
  </channel>
</rss>

