I have looked at other Q&As on the subject and none have solved my problem.
- Reading Esri File Geodatabase (FileGDB) with OGR?
- How to Import ESRI Geodatabase format .gdb into PostGIS
My problem is similar to the first referenced Q&A where my error says 'unable to open datasource'. I downloaded the test dataset in the solution and still did not work. My set up of ogr2ogr looks like this:
ogr2ogr -f "PostgreSQL" PG:"host=pg.rambck.local dbname=projects user=david password=xxxxxx" \\source\gdbname.gdb\datasetname -nln v1_dataset
When I run ogrinfo on the test dataset I get error: Unable to open datasource 'C:\david\trecks.gdb'
When I run ogr2ogr on my set up I get error: Unable to open datasource 'host=pg.rambck.local dbname=projects.......'
OpenFileGDB is listed in the list of drivers. What am I doing wrong?
ogrinfo --version? Do you get any more information by trying to read Trecks.gdb with ogrinfo including option--debug on? – user30184 Mar 01 '17 at 17:58OGR: OGROpen(C:\david\trecks.gdb) failed. OGR: OGROpen(C:\david\trecks.gdb) failed. Failure to open datasource 'C:\david\trecks.gdb' with the following dirvers......
– D_C Mar 01 '17 at 18:40