<?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: Use within Python in File Geodatabase API Questions</title>
    <link>https://community.esri.com/t5/file-geodatabase-api-questions/use-within-python/m-p/606009#M984</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;...Even if you only consider file geodatabase access, ArcPy supports significantly more functionality.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Not true by a long shot.&amp;nbsp; The FGDB API has far more functionality than you know.&amp;nbsp; It does a ton of things and it does it at a lower level which is exactly what I need.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The FGDB API is just a C++ library...&amp;nbsp; You could do it, but it isn't likely to be a trivial exercise.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yep, I'm aware of that.&amp;nbsp; But what I was looking for was a resource like the OGR library, which is a Python wrapper for the FGDB API.&amp;nbsp; And it works for ArcSDE and a host of other spatial data formats.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://trac.osgeo.org/gdal/wiki/GdalOgrInPython"&gt;http://trac.osgeo.org/gdal/wiki/GdalOgrInPython&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Jul 2013 16:38:28 GMT</pubDate>
    <dc:creator>CharlesTilly</dc:creator>
    <dc:date>2013-07-11T16:38:28Z</dc:date>
    <item>
      <title>Use within Python</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/use-within-python/m-p/606007#M982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Does anyone have experience or know if it is possible to use the fgdb api within Python?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please don't respond with information about arcpy.da; I want to use the fgdb api.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Chuck&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jul 2013 17:46:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/use-within-python/m-p/606007#M982</guid>
      <dc:creator>CharlesTilly</dc:creator>
      <dc:date>2013-07-10T17:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: Use within Python</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/use-within-python/m-p/606008#M983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;ArcPy is a Python extension module.&amp;nbsp; It includes several orders of magnitude &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;more functionality than the FGDB API. Even if you only consider file geodatabase&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;access, ArcPy supports significantly more functionality.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The FGDB API is just a C++ library.&amp;nbsp; You can't just use a C++ API in Python,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; you'd need to come up with a design and &lt;/SPAN&gt;&lt;A href="http://www.python.org/doc//current/extending/extending.html"&gt;write an extension&lt;/A&gt;&lt;SPAN&gt; to implement that&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;design before you could use it from Python.&amp;nbsp; You could do it, but it isn't likely&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to be a trivial exercise.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jul 2013 10:49:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/use-within-python/m-p/606008#M983</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2013-07-11T10:49:05Z</dc:date>
    </item>
    <item>
      <title>Re: Use within Python</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/use-within-python/m-p/606009#M984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;...Even if you only consider file geodatabase access, ArcPy supports significantly more functionality.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Not true by a long shot.&amp;nbsp; The FGDB API has far more functionality than you know.&amp;nbsp; It does a ton of things and it does it at a lower level which is exactly what I need.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The FGDB API is just a C++ library...&amp;nbsp; You could do it, but it isn't likely to be a trivial exercise.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yep, I'm aware of that.&amp;nbsp; But what I was looking for was a resource like the OGR library, which is a Python wrapper for the FGDB API.&amp;nbsp; And it works for ArcSDE and a host of other spatial data formats.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://trac.osgeo.org/gdal/wiki/GdalOgrInPython"&gt;http://trac.osgeo.org/gdal/wiki/GdalOgrInPython&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jul 2013 16:38:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/use-within-python/m-p/606009#M984</guid>
      <dc:creator>CharlesTilly</dc:creator>
      <dc:date>2013-07-11T16:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: Use within Python</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/use-within-python/m-p/606010#M985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Chuck,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;OGR will work fine with the File GDB, just &lt;/SPAN&gt;&lt;A href="http://www.gdal.org/ogr/drv_filegdb.html"&gt;build against the API&lt;/A&gt;&lt;SPAN&gt; and you'll have a FGDB driver from within GDAL/OGR and its SWIG Python bindings.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you're working with features, you can also use Sean Gilles' Pythonic wrapper for OGR, &lt;/SPAN&gt;&lt;A href="http://toblerity.github.io/fiona/"&gt;Fiona&lt;/A&gt;&lt;SPAN&gt;. And as Vince mentioned, you can use SWIG to create a wrapper to the API as it's just C++, there's also &lt;/SPAN&gt;&lt;A href="http://ideas.arcgis.com/ideaView?id=08730000000brPj&amp;amp;returnUrl=%2Fapex%2FideaList%3Fc%3D09a300000004xET%26category%3DGeodatabase%26p%3D3%26sort%3Dcomments"&gt;an idea&lt;/A&gt;&lt;SPAN&gt; for this if you think it should be something that Esri supports. That said, for many use-cases GDAL/OGR works well directly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Shaun&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jul 2013 02:16:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/use-within-python/m-p/606010#M985</guid>
      <dc:creator>ShaunWalbridge</dc:creator>
      <dc:date>2013-07-12T02:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: Use within Python</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/use-within-python/m-p/606011#M986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can definitely use the File Geodatabase API with Python, read my blog post here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://libjoe.blogspot.com/2014/02/python-wrapper-for-esri-file.html"&gt;http://libjoe.blogspot.com/2014/02/python-wrapper-for-esri-file.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I only have this working on OSX at the moment but getting this working on linux and windows is trivial.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://code.google.com/p/file-geodatabase-api-python-wrapper/"&gt;https://code.google.com/p/file-geodatabase-api-python-wrapper/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Joseph Armbruster&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Feb 2014 04:25:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/use-within-python/m-p/606011#M986</guid>
      <dc:creator>JosephArmbruster</dc:creator>
      <dc:date>2014-02-02T04:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: Use within Python</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/use-within-python/m-p/606012#M987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Joseph,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Great article.&amp;nbsp; Thanks for sharing.&amp;nbsp; I ultimately used the C# api because I was able to wrap it as a gp tool.&amp;nbsp; But this topic is one I always wanted to come back to.&amp;nbsp; You've given me a good reason to do so.&amp;nbsp; How is performance with bulk loads; do you happen to know?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Chuck&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2014 19:59:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/use-within-python/m-p/606012#M987</guid>
      <dc:creator>CharlesTilly</dc:creator>
      <dc:date>2014-02-06T19:59:37Z</dc:date>
    </item>
  </channel>
</rss>

