Ticket #309 (closed enhancement: fixed)

Opened 2 years ago

Last modified 22 months ago

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

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

Change History

  Changed 23 months ago by jef

  • status changed from new to closed
  • resolution set to fixed

fixed in 1.9.2-1

Changed 22 months ago by saultdon

image of error in osge4m terminal (windows 7)

follow-up: ↓ 3   Changed 22 months ago by saultdon

  • status changed from closed to reopened
  • resolution fixed deleted

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 ; follow-up: ↓ 4   Changed 22 months ago by saultdon

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 ; follow-up: ↓ 5   Changed 22 months ago by 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?

in reply to: ↑ 4   Changed 22 months ago by saultdon

  • status changed from reopened to closed
  • resolution set to fixed

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 =)

follow-up: ↓ 7   Changed 22 months ago by jpalmer

  • status changed from closed to reopened
  • resolution fixed deleted

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   Changed 22 months ago by jef

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)

  Changed 22 months ago by jpalmer

  • status changed from reopened to closed
  • resolution set to fixed

Thanks that works

Note: See TracTickets for help on using tickets.