<?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 From modelbuilder featureset to python in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/from-modelbuilder-featureset-to-python/m-p/205275#M15800</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm looking for some advice - I'm collecting polygon data via a featureset in model builder. This works. Next, I'd like to use the collected polygon geometry in &lt;A href="http://desktop.arcgis.com/en/arcmap/latest/analyze/python/reading-geometries.htm"&gt;python to query SQL&lt;/A&gt;. In order to work with the featureset I've found I typically have to run a featureclass to featureclass with the result being in_memory\input_poly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;How can I&amp;nbsp;take an in_memory feature class from model builder and use it in python without writing it to a file?&lt;/STRONG&gt;&amp;nbsp;Is it even possible? I'm trying to eliminate file writes where I can to keep the speed of the process up as it will eventually be attached to a feature service (which requires a model builder wrapper) that users will be waiting on.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As an alternative, if I could make SQL requests to an SDE database from within a modelbuilder tool I'd try that too - but from experience, I'm far better off feeding a carefully constructed query out of python.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Jul 2019 11:32:22 GMT</pubDate>
    <dc:creator>SimonWebster</dc:creator>
    <dc:date>2019-07-02T11:32:22Z</dc:date>
    <item>
      <title>From modelbuilder featureset to python</title>
      <link>https://community.esri.com/t5/python-questions/from-modelbuilder-featureset-to-python/m-p/205275#M15800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm looking for some advice - I'm collecting polygon data via a featureset in model builder. This works. Next, I'd like to use the collected polygon geometry in &lt;A href="http://desktop.arcgis.com/en/arcmap/latest/analyze/python/reading-geometries.htm"&gt;python to query SQL&lt;/A&gt;. In order to work with the featureset I've found I typically have to run a featureclass to featureclass with the result being in_memory\input_poly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;How can I&amp;nbsp;take an in_memory feature class from model builder and use it in python without writing it to a file?&lt;/STRONG&gt;&amp;nbsp;Is it even possible? I'm trying to eliminate file writes where I can to keep the speed of the process up as it will eventually be attached to a feature service (which requires a model builder wrapper) that users will be waiting on.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As an alternative, if I could make SQL requests to an SDE database from within a modelbuilder tool I'd try that too - but from experience, I'm far better off feeding a carefully constructed query out of python.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jul 2019 11:32:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/from-modelbuilder-featureset-to-python/m-p/205275#M15800</guid>
      <dc:creator>SimonWebster</dc:creator>
      <dc:date>2019-07-02T11:32:22Z</dc:date>
    </item>
  </channel>
</rss>

