<?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: Finding out if layer exsists in file geodatabase in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/finding-out-if-layer-exsists-in-file-geodatabase/m-p/668548#M51884</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;arcpy.Exists("layer")&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//000v00000021000000"&gt;http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//000v00000021000000&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Oct 2011 18:04:12 GMT</pubDate>
    <dc:creator>MathewCoyle</dc:creator>
    <dc:date>2011-10-17T18:04:12Z</dc:date>
    <item>
      <title>Finding out if layer exsists in file geodatabase</title>
      <link>https://community.esri.com/t5/python-questions/finding-out-if-layer-exsists-in-file-geodatabase/m-p/668547#M51883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is there an easy way to check if a layer exsist in a file geodatabase with python?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to run multiple processes on a series of layers and as some point the layer may not exsists (i.e. no file created) but need to check before running the next process.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Example:&amp;nbsp; First step is geocoding but if table contains no data I skip the geocode. However, the next step is to add fields to the layer but if it does not exsist I need to skip this step.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I know how to find a file on the system &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if os.path.exists(filepath\name):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but not sure about stuff within geodatabase&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2011 17:57:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/finding-out-if-layer-exsists-in-file-geodatabase/m-p/668547#M51883</guid>
      <dc:creator>ScottBlankenbeckler</dc:creator>
      <dc:date>2011-10-17T17:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: Finding out if layer exsists in file geodatabase</title>
      <link>https://community.esri.com/t5/python-questions/finding-out-if-layer-exsists-in-file-geodatabase/m-p/668548#M51884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;arcpy.Exists("layer")&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//000v00000021000000"&gt;http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//000v00000021000000&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2011 18:04:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/finding-out-if-layer-exsists-in-file-geodatabase/m-p/668548#M51884</guid>
      <dc:creator>MathewCoyle</dc:creator>
      <dc:date>2011-10-17T18:04:12Z</dc:date>
    </item>
  </channel>
</rss>

