Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Esri Personal GeoDatabase (*.mdb file) #26125

Closed
qgib opened this issue Feb 26, 2018 · 4 comments
Closed

Esri Personal GeoDatabase (*.mdb file) #26125

qgib opened this issue Feb 26, 2018 · 4 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Regression Something which used to work, but doesn't anymore Vectors Related to general vector layer handling (not specific data formats)

Comments

@qgib
Copy link
Contributor

qgib commented Feb 26, 2018

Author Name: Almerio Moreira (@jorgealmerio)
Original Redmine Issue: 18234
Affected QGIS version: 3.0.0
Redmine category:vectors


I can not load a Esri personal Geodatabase file into Qgis 3 anymore.

I has already added the following lines to qgis.bat:
set OGR_SKIP=ODBC
set PGEO_DRIVER_TEMPLATE=DRIVER=Microsoft Access Driver (*.mdb, *.accdb);DBQ=%%s

I also have QGIS 2.18.17 (LTR) installed on same machine and It still working there.
I installed both from OSGeo


Related issue(s): #20256 (relates)
Redmine related issue(s): 12054


@qgib
Copy link
Contributor Author

qgib commented May 10, 2018

Author Name: Andrea Giudiceandrea (@agiudiceandrea)


It seems that QGIS 3 is now launched directly, not through qgis.bat as was for QGIS 2.18.
Now you need to set the two variables in QGIS Settings panel -> Options | System | Environment.

The names and the values of the variables are:

variable name: OGR_SKIP
value: ODBC

variable name: PGEO_DRIVER_TEMPLATE
value: DRIVER=Microsoft Access Driver (*.mdb, *.accdb);DBQ=%s

note that there is only one percent sign in the value of PGEO_DRIVER_TEMPLATE variable.

@qgib
Copy link
Contributor Author

qgib commented May 10, 2018

Author Name: Nyall Dawson (@nyalldawson)


  • resolution was changed from to fixed/implemented
  • status_id was changed from Open to Closed

@qgib qgib closed this as completed May 10, 2018
@qgib
Copy link
Contributor Author

qgib commented May 10, 2018

Author Name: Jürgen Fischer (@jef-n)


@qgib
Copy link
Contributor Author

qgib commented Jun 18, 2018

Author Name: Mario Reyes (@ernesto561)


Almerio Moreira wrote:

I can not load a Esri personal Geodatabase file into Qgis 3 anymore.

I has already added the following lines to qgis.bat:
set OGR_SKIP=ODBC
set PGEO_DRIVER_TEMPLATE=DRIVER=Microsoft Access Driver (*.mdb, *.accdb);DBQ=%%s

I also have QGIS 2.18.17 (LTR) installed on same machine and It still working there.
I installed both from OSGeo

I am trying to load a ESRI personal Geodatabase in QGIS 3.03 (Windows 10) and it's not working. The personal geodatabase file can be downloaded from this link: https://pubs.usgs.gov/of/1997/ofr-97-470/OF97-470K/graphic/data.html

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Vectors Related to general vector layer handling (not specific data formats) Regression Something which used to work, but doesn't anymore labels May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Regression Something which used to work, but doesn't anymore Vectors Related to general vector layer handling (not specific data formats)
Projects
None yet
Development

No branches or pull requests

1 participant