<?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 Select Feature Classes from a Geodatabase, based on values within a field in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/select-feature-classes-from-a-geodatabase-based-on/m-p/708847#M23479</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I need some assistance in getting started with the following python script, that I would like to insert into a model (&lt;/SPAN&gt;&lt;STRONG&gt;ModelBuilder&lt;/STRONG&gt;&lt;SPAN&gt;) that I'm currently buidling.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I???ve got a table that I???ve generated from summary statistics and within the table I???ve got a field called &lt;/SPAN&gt;&lt;STRONG&gt;MAPSHEET&lt;/STRONG&gt;&lt;SPAN&gt;, the values within the field &lt;/SPAN&gt;&lt;STRONG&gt;MAPSHEET&lt;/STRONG&gt;&lt;SPAN&gt; represent the names of the indexes that I need to use to select features classes from a geodatabase (contours (polyline feature classes) and spot height (point feature classes)). The contours feature classes have a prefix &lt;/SPAN&gt;&lt;STRONG&gt;RE&lt;/STRONG&gt;&lt;SPAN&gt; and the spot heights feature classes have a prefix &lt;/SPAN&gt;&lt;STRONG&gt;PNT&lt;/STRONG&gt;&lt;SPAN&gt;. I need to use the value within the field &lt;/SPAN&gt;&lt;STRONG&gt;MAPSHEET&lt;/STRONG&gt;&lt;SPAN&gt; and select the feature classes from the geodatabase that match the same index for the contours and spot height and pass them to &lt;/SPAN&gt;&lt;STRONG&gt;Topo To Raster&lt;/STRONG&gt;&lt;SPAN&gt; as input feature classes. Also I need to iterate through all the values within the &lt;/SPAN&gt;&lt;STRONG&gt;MAPSHEET&lt;/STRONG&gt;&lt;SPAN&gt; field and select all the feature classes from the geodatabase and add all the contours and spot heights representing the list of indexes to &lt;/SPAN&gt;&lt;STRONG&gt;Topo To Raster&lt;/STRONG&gt;&lt;SPAN&gt;, before its run.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any assistance would be appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Jan 2014 03:29:56 GMT</pubDate>
    <dc:creator>PeterWilson</dc:creator>
    <dc:date>2014-01-31T03:29:56Z</dc:date>
    <item>
      <title>Select Feature Classes from a Geodatabase, based on values within a field</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/select-feature-classes-from-a-geodatabase-based-on/m-p/708847#M23479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I need some assistance in getting started with the following python script, that I would like to insert into a model (&lt;/SPAN&gt;&lt;STRONG&gt;ModelBuilder&lt;/STRONG&gt;&lt;SPAN&gt;) that I'm currently buidling.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I???ve got a table that I???ve generated from summary statistics and within the table I???ve got a field called &lt;/SPAN&gt;&lt;STRONG&gt;MAPSHEET&lt;/STRONG&gt;&lt;SPAN&gt;, the values within the field &lt;/SPAN&gt;&lt;STRONG&gt;MAPSHEET&lt;/STRONG&gt;&lt;SPAN&gt; represent the names of the indexes that I need to use to select features classes from a geodatabase (contours (polyline feature classes) and spot height (point feature classes)). The contours feature classes have a prefix &lt;/SPAN&gt;&lt;STRONG&gt;RE&lt;/STRONG&gt;&lt;SPAN&gt; and the spot heights feature classes have a prefix &lt;/SPAN&gt;&lt;STRONG&gt;PNT&lt;/STRONG&gt;&lt;SPAN&gt;. I need to use the value within the field &lt;/SPAN&gt;&lt;STRONG&gt;MAPSHEET&lt;/STRONG&gt;&lt;SPAN&gt; and select the feature classes from the geodatabase that match the same index for the contours and spot height and pass them to &lt;/SPAN&gt;&lt;STRONG&gt;Topo To Raster&lt;/STRONG&gt;&lt;SPAN&gt; as input feature classes. Also I need to iterate through all the values within the &lt;/SPAN&gt;&lt;STRONG&gt;MAPSHEET&lt;/STRONG&gt;&lt;SPAN&gt; field and select all the feature classes from the geodatabase and add all the contours and spot heights representing the list of indexes to &lt;/SPAN&gt;&lt;STRONG&gt;Topo To Raster&lt;/STRONG&gt;&lt;SPAN&gt;, before its run.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any assistance would be appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jan 2014 03:29:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/select-feature-classes-from-a-geodatabase-based-on/m-p/708847#M23479</guid>
      <dc:creator>PeterWilson</dc:creator>
      <dc:date>2014-01-31T03:29:56Z</dc:date>
    </item>
  </channel>
</rss>

