Opened 12 years ago

Closed 12 years ago

#309 closed enhancement (fixed)

Upgrade FileGDB GDAL plugin to 1.9.2

Reported by: jpalmer Owned by: warmerdam
Priority: major Component: Package
Version: Keywords: GDAL OGR FileGDB
Cc: crook@…

Description

Could this please be updated to 1.9.2 and also include the newer Esri FileGDB API 1.2 library. Both of these updates make the OGR fileGDB driver much more usable.

Attachments (1)

filegdb_1.9.2_error_win64.png (40.3 KB ) - added by saultdon 12 years ago.
image of error in osge4m terminal (windows 7)

Download all attachments as: .zip

Change History (9)

comment:1 by jef, 12 years ago

Resolution: fixed
Status: newclosed

fixed in 1.9.2-1

by saultdon, 12 years ago

image of error in osge4m terminal (windows 7)

comment:2 by saultdon, 12 years ago

Resolution: fixed
Status: closedreopened

I've attached an image to show the error that ogr2ogr --formats throws about the latest update to the FileGDB driver to 1.9.2

ERROR 1: Can't load requested DLL: C:\GIS\Programs\OSGe04W
bin\gdalplugins\1.9\ogr_FileGDB.dll 193: %1 is not a valid Win32 application.

in reply to:  2 ; comment:3 by saultdon, 12 years ago

Replying to saultdon:

I've attached an image to show the error that ogr2ogr --formats throws about the latest update to the FileGDB driver to 1.9.2

ERROR 1: Can't load requested DLL: C:\GIS\Programs\OSGe04W
bin\gdalplugins\1.9\ogr_FileGDB.dll 193: %1 is not a valid Win32 application.

I've also uninstalled and re-installed the gdal-filegdb component in the installer and still get the same error.

in reply to:  3 ; comment:4 by jef, 12 years ago

Replying to saultdon:

I've also uninstalled and re-installed the gdal-filegdb component in the installer and still get the same error.

Did you add the DLL FileGDBAPI.dll from the ESRI SDK?

in reply to:  4 comment:5 by saultdon, 12 years ago

Resolution: fixed
Status: reopenedclosed

Replying to jef:

Replying to saultdon:

I've also uninstalled and re-installed the gdal-filegdb component in the installer and still get the same error.

Did you add the DLL FileGDBAPI.dll from the ESRI SDK?

The ogr_FileGDB.dll file that it's complaining about is in the ...\bin\gdalplugins\1.9 folder already.

I placed the FileGDB API DLLs into C:\GIS\Programs\FileGDB\bin64 which I then added to my PATH.

In the osgeo4w shell, the PATH that I've setup is seen in the output of echo %PATH%.

The DLLs I grabbed are from the VS2010 version, so I switched them with the VS2008 version, still get the invalid win32 application error?

I guess the hint here, was the "invalid win32" application error. This FileGDB as it's compiled requires the 32-bit FileGDB SDK DLLs, not the 64bit ones!

Once I replaced the bin64 folder in my C drive with the regular 32bit bin folder, and updated the PATH for the FileGDB, it works.

Thanks for working on this, and having patience with me =)

comment:6 by jpalmer, 12 years ago

Resolution: fixed
Status: closedreopened

I have tested this plugin using the FileGDB_API_VS2008_1_2 binary and it crashes in QGIS-1.8, QGIS-Dev and ogrinfo 1.9.2. I've tested the same File GDB on ogr LINUX 64bit and in ArcGIS 10 it opens fine.

in reply to:  6 comment:7 by jef, 12 years ago

Replying to jpalmer:

I have tested this plugin using the FileGDB_API_VS2008_1_2 binary

Try again with the 2010 binary (see pkg-gdal-filegdb)

comment:8 by jpalmer, 12 years ago

Resolution: fixed
Status: reopenedclosed

Thanks that works

Note: See TracTickets for help on using tickets.