<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Hi,</p>
<p>A Swiss QGIS user asked me if/how FGDB for export/Save as can be supported in QGIS - question specifically about the Windows distribution of QGIS 3.x. Sometimes, QGIS users have to deliver results in fgdb format, because their clients require it.</p>
<p>A quick e-mail exchange with Even Roualt revealed the following:</p>
<p>1. it is already supported if the proper "gdal-filegdb" packages are installed.</p>
<p>2. Currently, it can only be enabled in the OSGeo4W version by selecting the "gdal-filegdb" package. The standalone installer does not include this package.</p>
<p>3. There are issues when wanting to "Save As" an additional layer into an already existing FGDB. The problem is that fgdb files are actually directories. And the current "Save As" dialog does not support selecting "directories" to save into, only files. As a workaround, it works if one copy/pastes the full path from the Windows file explorer into the "Save As" dialog, but not when selecting a directory interactively.</p>
<p>Here is some info on the third issue from Even:</p>
<p>"I don't have the solution on top of my mind. According to<br />http://doc.qt.io/qt-5/qfiledialog.html#FileMode-enum it seems that you can<br />setup the selector to select file or directories, but not both.<br />We actually use the QFileDialog::getSaveFileName() API that probably<br />internally resolves to QFileDialog::AnyFile<br />Perhaps a more experience QT dev than me would have an idea.<br />Or an hack (but not sure we can really do better) would be to allow the user<br />to select any file in the .gdb directory, and then automatically strips out<br />the filename to just keep the directory name when we see this a file in in a<br />.gdb directory"</p>
<p>---------------</p>
<p>So here are my two questions:</p>
<p>About issue 2:</p>
<p>@Jürgen: can you include the necessary gdal-filegdb package also in the standalone installer - or are there license problems?</p>
<p>About issue 3:</p>
<p>Does some dev have an idea or solution on how to more easily select a folder instead of a file, for the case of writing an additional layer into an already existing .fgdb folder?</p>
<p>Thank you all for your ideas and the discussion,</p>
<p>Andreas</p>

</body></html>