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?