<?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 .mdb (personal geodatabase) to shapefiles programatically in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/mdb-personal-geodatabase-to-shapefiles/m-p/183226#M10341</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have an mdb file which has a number of shapefiles. I can extract the shapefiles from the mdb file in the ArcMap 10.2 Desktop application. However I am experimenting with an Arcgis plugin and I am looking for a way to load the shapefiles from an mdb file programtaically. I am working in Visual Studio 2010 on C#. Is there a way to do that?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Mar 2014 04:06:51 GMT</pubDate>
    <dc:creator>PrashantTiwari</dc:creator>
    <dc:date>2014-03-27T04:06:51Z</dc:date>
    <item>
      <title>.mdb (personal geodatabase) to shapefiles programatically</title>
      <link>https://community.esri.com/t5/data-management-questions/mdb-personal-geodatabase-to-shapefiles/m-p/183226#M10341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have an mdb file which has a number of shapefiles. I can extract the shapefiles from the mdb file in the ArcMap 10.2 Desktop application. However I am experimenting with an Arcgis plugin and I am looking for a way to load the shapefiles from an mdb file programtaically. I am working in Visual Studio 2010 on C#. Is there a way to do that?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 04:06:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/mdb-personal-geodatabase-to-shapefiles/m-p/183226#M10341</guid>
      <dc:creator>PrashantTiwari</dc:creator>
      <dc:date>2014-03-27T04:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: .mdb (personal geodatabase) to shapefiles programatically</title>
      <link>https://community.esri.com/t5/data-management-questions/mdb-personal-geodatabase-to-shapefiles/m-p/183227#M10342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can use Python script.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;FeatureClassToShapefile example (Python window):&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;import arcpy
from arcpy import env
env.workspace = "C:/data/airport.gdb"
arcpy.FeatureClassToShapefile_conversion(["county", "parcels", "schools"],
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "C:/output")
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;FeatureClassToShapefile example 2 (stand-alone script):&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;# Name: FeatureClassToShapefile_Example2.py
# Description: Use FeatureClassToGeodatabase to copy feature classes
#&amp;nbsp; to shapefiles
 
# Import system modules
import arcpy
from arcpy import env
 
# Set environment settings
env.workspace = "C:/data"
 
# Set local variables
inFeatures = ["climate.shp", "majorrds.shp"]
outLocation = "C:/output"
 
# Execute FeatureClassToGeodatabase
arcpy.FeatureClassToShapefile_conversion(inFeatures, outLocation)
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 09:19:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/mdb-personal-geodatabase-to-shapefiles/m-p/183227#M10342</guid>
      <dc:creator>NidhinKarthikeyan</dc:creator>
      <dc:date>2021-12-11T09:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: .mdb (personal geodatabase) to shapefiles programatically</title>
      <link>https://community.esri.com/t5/data-management-questions/mdb-personal-geodatabase-to-shapefiles/m-p/183228#M10343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the reply. The thing is I am a newbie when it comes to Python. Is there any way to do it via C#? Or if I do have to use the Python script, how do I use it?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 08:15:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/mdb-personal-geodatabase-to-shapefiles/m-p/183228#M10343</guid>
      <dc:creator>PrashantTiwari</dc:creator>
      <dc:date>2014-03-27T08:15:01Z</dc:date>
    </item>
    <item>
      <title>Re: .mdb (personal geodatabase) to shapefiles programatically</title>
      <link>https://community.esri.com/t5/data-management-questions/mdb-personal-geodatabase-to-shapefiles/m-p/183229#M10344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Use Python GUI or Python command line and enter the code mentioned above. Mention the path of Geodatabase under 'env.workspace' and provide the name of the Shapefile(output) in the last line of code. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't have any idea regarding C#. You might get suggestion from other users regarding&amp;nbsp; C#.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You should post this question in &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/forums/228-Developers"&gt;Developers Forum&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 08:51:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/mdb-personal-geodatabase-to-shapefiles/m-p/183229#M10344</guid>
      <dc:creator>NidhinKarthikeyan</dc:creator>
      <dc:date>2014-03-27T08:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: .mdb (personal geodatabase) to shapefiles programatically</title>
      <link>https://community.esri.com/t5/data-management-questions/mdb-personal-geodatabase-to-shapefiles/m-p/183230#M10345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;C# application development would be with ArcObjects, and the proper forum would be &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/forums/20-ArcObjects-SDKs"&gt;ArcObjects SDKs&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 09:43:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/mdb-personal-geodatabase-to-shapefiles/m-p/183230#M10345</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2014-03-27T09:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: .mdb (personal geodatabase) to shapefiles programatically</title>
      <link>https://community.esri.com/t5/data-management-questions/mdb-personal-geodatabase-to-shapefiles/m-p/183231#M10346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Nidhin! So I tried my hands on Python and your script works perfect! The only issue I am facing now is that I have to provide the name of the shape file as parameters..Is there a way to simply extract all the shapefiles from the geodatabase file, like a foreach loop in C# or anything of that sort? Thanks in advance brother &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Mar 2014 12:28:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/mdb-personal-geodatabase-to-shapefiles/m-p/183231#M10346</guid>
      <dc:creator>PrashantTiwari</dc:creator>
      <dc:date>2014-03-28T12:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: .mdb (personal geodatabase) to shapefiles programatically</title>
      <link>https://community.esri.com/t5/data-management-questions/mdb-personal-geodatabase-to-shapefiles/m-p/183232#M10347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey Vince! Thanks for the help man! Although I could not find what I was looking for exactly, I did find some really cool stuff on the forum to learn..much appreciated! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Mar 2014 12:30:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/mdb-personal-geodatabase-to-shapefiles/m-p/183232#M10347</guid>
      <dc:creator>PrashantTiwari</dc:creator>
      <dc:date>2014-03-28T12:30:18Z</dc:date>
    </item>
  </channel>
</rss>

