3

I have installed GDAL using the ArcGIS Pro (2.1.2) Package Manager. This has installed GDAL 2.2.2, which runs fine, except that it didn't install the FileGDB driver which is what I need it for. It is not in the ogr driver list, there is no gdal-plugins folder on my computer and no FileGDB.dll as well. Whenever I open the Python command prompt I get the following error:

The system cannot find the specified path.

(arcgispro-py3) C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\etc\conda\activate.d>set "GDAL_DRIVER_PATH="

(arcgispro-py3) C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3>

Whatever path I specify in the gdal-activate.bat file, it keeps throwing that same error. I have also tried adding GDAL_DRIVER_PATH manually to my environment variables, but keep getting the same error. I have tried this with a clean install of ArcGIS Pro, installing only gdal, and it throws the same error.

How do I get GDAL to find my FileGDB.dll file?

4
  • 1
    ArcPy has a more complete version of file geodatabase support than is available in FileGDB API.
    – Vince
    Apr 17, 2018 at 21:13
  • Is there a way to convert a PostGIS database into a filegeodatabase with Arcpy? Because that is what I want to use the driver for, since writing into a fgdb is not possible with the default gdb driver.
    – veen
    Apr 19, 2018 at 7:57
  • There are only five or six ways to do that with ArcPy.
    – Vince
    Apr 19, 2018 at 10:32
  • Having same issue
    – jakc
    Jan 6, 2019 at 22:25

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.