qgis / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
https://qgis.org
GNU General Public License v2.0
10.09k stars 2.93k forks source link

File GDB source type ignored when adding a file geodatabase #38958

Open jorgealmerio opened 3 years ago

jorgealmerio commented 3 years ago

File GDB source type ignored when adding a file geodatabase

How to Reproduce

  1. Open a new qgis project
  2. Click on Open Data source manager button
  3. Choose Vector tab
  4. Choose Directory in Source Type Group
  5. Choose ESRI FileGDB (must be installed) or OpenFileGDB
  6. Choose a Vector Dataset and Add to the project
  7. Check the Storage info in the added layer information dialog

No matter what you choose on step 5. It will be always FileGDB in step 7.

Pictures: fileGDB fileGDB2

QGIS version 3.14.16-Pi QGIS code revision df27394552
Compiled against Qt 5.11.2 Running against Qt 5.11.2
Compiled against GDAL/OGR 3.0.4 Running against GDAL/OGR 3.0.4
Compiled against GEOS 3.8.1-CAPI-1.13.3 Running against GEOS 3.8.1-CAPI-1.13.3
Compiled against SQLite 3.29.0 Running against SQLite 3.29.0
PostgreSQL Client Version 11.5 SpatiaLite Version 4.3.0
QWT Version 6.1.3 QScintilla2 Version 2.10.8
Compiled against PROJ 6.3.2 Running against PROJ Rel. 6.3.2, May 1st, 2020
OS Version Windows 7 SP 1 (6.1)
Active python plugins CalculateGeometry; changeDataSource; GroupStats; ImportPhotos; MemoryLayerSaver; pluginbuilder3; PluginLoadTimes; plugin_reloader; QEsg; qhecras; quick_map_services; splitmultipart; SpreadsheetLayers; uteis; valuetool; VectorBender; db_manager; processing
rouault commented 3 years ago

This is more a UI issue . We should probably have one single entry when both drivers are present and let GDAL pick up the driver it wants (FileGDB will be used when present because it has editing capabilities)

jorgealmerio commented 3 years ago

But, It will be good if we can choose OpenFileGDB even when File GDB driver is installed. I have read somewhere that OpenFileGDB is many time faster then File GDB. I am having some slow issues when using File GDB on network.

agiudiceandrea commented 2 years ago

Still valid for QGIS 3.22.x and 3.24.x.