<?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: how can I read a gdb file using python in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-can-i-read-a-gdb-file-using-python/m-p/1075607#M6322</link>
    <description>&lt;P&gt;Hi, I am trying to install FileGDB API to read/write file geodatabases using gdal. I have successfully installed FileGDB in Linux and am able to run the samples. (eg: LD_LIBRARY_PATH is set correctly)&lt;/P&gt;&lt;P&gt;I then installed miniconda and installed gdal using&lt;/P&gt;&lt;P&gt;conda install -c conda-forge gdal&lt;/P&gt;&lt;P&gt;I am unable to find driver for "FileGDB" but other drivers like "OpenFileGDB" seem to work fine. Please suggest what I might be doing wrong.&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Python code:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;from&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;osgeo&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;import&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;ogr&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;driver&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;=&amp;nbsp;ogr.GetDriverByName(&lt;/SPAN&gt;&lt;SPAN&gt;"FileGDB"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;print&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;driver&lt;/SPAN&gt;&lt;SPAN&gt;.GetName())&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 05 Jul 2021 11:16:18 GMT</pubDate>
    <dc:creator>AbhayDuvvuri2</dc:creator>
    <dc:date>2021-07-05T11:16:18Z</dc:date>
    <item>
      <title>how can I read a gdb file using python</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-can-i-read-a-gdb-file-using-python/m-p/861773#M4221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have browsed the web searching for way to install the FileGDB API in order to be able to use the driver to read gdb files from python. I have downloaded the file&amp;nbsp;filegdb_api_vs2012_1_4.zip and within I found the FileGDBAPI.dll which I've placed on&amp;nbsp;C:\ProgramData\Anaconda3\envs\gis2\Lib\site-packages\osgeo. When I do this test below, the driver doesn't come up. COuld you please provide some assistance on this? Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from gdal import ogr&lt;/P&gt;&lt;P&gt;driver = ogr.GetDriverByName("FileGDB")&lt;/P&gt;&lt;P&gt;print(driver.GetName())&lt;/P&gt;&lt;P&gt;and I get this error:&lt;/P&gt;&lt;P&gt;AttributeError: 'NoneType' object has no attribute 'GetName'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2020 15:26:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-can-i-read-a-gdb-file-using-python/m-p/861773#M4221</guid>
      <dc:creator>Romero_Dario</dc:creator>
      <dc:date>2020-08-12T15:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: how can I read a gdb file using python</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-can-i-read-a-gdb-file-using-python/m-p/1012352#M5359</link>
      <description>&lt;P&gt;When you run this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;from osgeo import ogr

driver_name_list = [ogr.GetDriver(id).GetName() for id in range(ogr.GetDriverCount())]
for driver_name in sorted(driver_name_list):
    ds = ogr.GetDriverByName(driver_name)
    if ds is not None:
        print(driver_name)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What does it output?&lt;/P&gt;</description>
      <pubDate>Sat, 26 Dec 2020 12:23:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-can-i-read-a-gdb-file-using-python/m-p/1012352#M5359</guid>
      <dc:creator>dbabbitt</dc:creator>
      <dc:date>2020-12-26T12:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: how can I read a gdb file using python</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-can-i-read-a-gdb-file-using-python/m-p/1073552#M6283</link>
      <description>&lt;P&gt;FileGDB isnt part of the drivers list.&lt;/P&gt;&lt;P&gt;I am using&amp;nbsp;&lt;/P&gt;&lt;P&gt;ARCGEN&lt;BR /&gt;AVCBin&lt;BR /&gt;AVCE00&lt;BR /&gt;AeronavFAA&lt;BR /&gt;AmigoCloud&lt;BR /&gt;BNA&lt;BR /&gt;CAD&lt;BR /&gt;CSV&lt;BR /&gt;CSW&lt;BR /&gt;Carto&lt;BR /&gt;Cloudant&lt;BR /&gt;CouchDB&lt;BR /&gt;DB2ODBC&lt;BR /&gt;DGN&lt;BR /&gt;DXF&lt;BR /&gt;EDIGEO&lt;BR /&gt;EEDA&lt;BR /&gt;ESRI Shapefile&lt;BR /&gt;ESRIJSON&lt;BR /&gt;ElasticSearch&lt;BR /&gt;GFT&lt;BR /&gt;GML&lt;BR /&gt;GPKG&lt;BR /&gt;GPSBabel&lt;BR /&gt;GPSTrackMaker&lt;BR /&gt;GPX&lt;BR /&gt;GeoJSON&lt;BR /&gt;GeoJSONSeq&lt;BR /&gt;GeoRSS&lt;BR /&gt;Geoconcept&lt;BR /&gt;Geomedia&lt;BR /&gt;HTF&lt;BR /&gt;HTTP&lt;BR /&gt;Idrisi&lt;BR /&gt;JML&lt;BR /&gt;JP2OpenJPEG&lt;BR /&gt;JPEG2000&lt;BR /&gt;KML&lt;BR /&gt;LIBKML&lt;BR /&gt;MBTiles&lt;BR /&gt;MSSQLSpatial&lt;BR /&gt;MVT&lt;BR /&gt;MapInfo File&lt;BR /&gt;Memory&lt;BR /&gt;NGW&lt;BR /&gt;ODBC&lt;BR /&gt;ODS&lt;BR /&gt;OGR_GMT&lt;BR /&gt;OGR_PDS&lt;BR /&gt;OGR_SDTS&lt;BR /&gt;OGR_VRT&lt;BR /&gt;OSM&lt;BR /&gt;OpenAir&lt;BR /&gt;OpenFileGDB&lt;BR /&gt;PCIDSK&lt;BR /&gt;PDF&lt;BR /&gt;PDS4&lt;BR /&gt;PGDUMP&lt;BR /&gt;PGeo&lt;BR /&gt;PLSCENES&lt;BR /&gt;PostgreSQL&lt;BR /&gt;REC&lt;BR /&gt;S57&lt;BR /&gt;SEGUKOOA&lt;BR /&gt;SEGY&lt;BR /&gt;SQLite&lt;BR /&gt;SUA&lt;BR /&gt;SVG&lt;BR /&gt;SXF&lt;BR /&gt;Selafin&lt;BR /&gt;TIGER&lt;BR /&gt;TopoJSON&lt;BR /&gt;UK .NTF&lt;BR /&gt;VDV&lt;BR /&gt;VFK&lt;BR /&gt;WAsP&lt;BR /&gt;WFS&lt;BR /&gt;WFS3&lt;BR /&gt;Walk&lt;BR /&gt;XLS&lt;BR /&gt;XLSX&lt;BR /&gt;XPlane&lt;BR /&gt;netCDF&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jun 2021 03:50:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-can-i-read-a-gdb-file-using-python/m-p/1073552#M6283</guid>
      <dc:creator>AbhayDuvvuri2</dc:creator>
      <dc:date>2021-06-29T03:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: how can I read a gdb file using python</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-can-i-read-a-gdb-file-using-python/m-p/1073802#M6287</link>
      <description>&lt;P&gt;If you only need to read file geodatabases, I recommend using &lt;A href="https://gdal.org/drivers/vector/openfilegdb.html" target="_blank"&gt;https://gdal.org/drivers/vector/openfilegdb.html&lt;/A&gt; , it is built into GDAL.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jun 2021 17:25:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-can-i-read-a-gdb-file-using-python/m-p/1073802#M6287</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2021-06-29T17:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: how can I read a gdb file using python</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-can-i-read-a-gdb-file-using-python/m-p/1075607#M6322</link>
      <description>&lt;P&gt;Hi, I am trying to install FileGDB API to read/write file geodatabases using gdal. I have successfully installed FileGDB in Linux and am able to run the samples. (eg: LD_LIBRARY_PATH is set correctly)&lt;/P&gt;&lt;P&gt;I then installed miniconda and installed gdal using&lt;/P&gt;&lt;P&gt;conda install -c conda-forge gdal&lt;/P&gt;&lt;P&gt;I am unable to find driver for "FileGDB" but other drivers like "OpenFileGDB" seem to work fine. Please suggest what I might be doing wrong.&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Python code:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;from&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;osgeo&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;import&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;ogr&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;driver&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;=&amp;nbsp;ogr.GetDriverByName(&lt;/SPAN&gt;&lt;SPAN&gt;"FileGDB"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;print&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;driver&lt;/SPAN&gt;&lt;SPAN&gt;.GetName())&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 05 Jul 2021 11:16:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-can-i-read-a-gdb-file-using-python/m-p/1075607#M6322</guid>
      <dc:creator>AbhayDuvvuri2</dc:creator>
      <dc:date>2021-07-05T11:16:18Z</dc:date>
    </item>
  </channel>
</rss>

