[Gdal-dev] Ogrinfo with ESRI personal database
Schmoll,Martin [Edm]
Martin.Schmoll at EC.gc.ca
Fri May 5 12:54:27 EDT 2006
I'm having the same problem as Todd (i.e. can't use ESRI personal
geodatabases with ogrinfo). I have the most recent builds I think: GDAL
1.3.1.0, FWTools 1.0.0b2.
How do I get the PGeo driver?
Martin
C:\Program Files\FWTools1.0.0b2>gdalinfo --version
GDAL 1.3.1.0, FWTools 1.0.0b2, released 2006/03/30
C:\Program Files\FWTools1.0.0b2>ogrinfo
Z:\GIS_DATA_REPOSITORY_EDM\GIS_DATA\FedLands\FedLands.mdb
FAILURE:
Unable to open datasource
`Z:\GIS_DATA_REPOSITORY_EDM\GIS_DATA\FedLands\FedLands
.mdb' with the following drivers.
-> ESRI Shapefile
-> MapInfo File
-> UK .NTF
-> SDTS
-> TIGER
-> S57
-> DGN
-> VRT
-> AVCBin
-> REC
-> Memory
-> CSV
-> GML
-> Interlis 1
-> Interlis 2
-> SQLite
-> ODBC
-> OGDI
-> PostgreSQL
-> MySQL
Frank Warmerdam warmerdam at pobox.com
<mailto:gdal-dev%40lists.maptools.org?Subject=%5BGdal-dev%5D%20Ogrinfo%2
0with%20ESRI%20personal%20database&In-Reply-To=EE8C2D034A022444B87B1332B
3978105041A54B5%40extonpo1.bentley.com>
Fri Dec 9 12:35:29 EST 2005
Todd,
It would appear you do not have a recent enough build of
GDAL/OGR. If it were, it would include a PGeo driver in
the driver list.
The Personal Geodatabase driver does use ODBC, but is
distinct from the "plain" ODBC driver. If you download
a very recent FWTools for win32 it should include the personal
geodatabase support (ie. 1.0.0a7):
http://fwtools.maptools.org/
Best regards,
On 12/9/05, Todd.Southen at bentley.com
<http://lists.maptools.org/mailman/listinfo/gdal-dev> <Todd.Southen at
bentley.com <http://lists.maptools.org/mailman/listinfo/gdal-dev> >
wrote:
> I'm trying to use ogrinfo on an ESRI personal database mdb file but it
> just fails:
>
> ogrinfo -summary c:\temp\MnDOT\P-069_Database.mdb
> FAILURE:
> Unable to open datasource `c:\temp\MnDOT\P-069_Database.mdb' with the
> following drivers.
> -> ESRI Shapefile
> -> UK .NTF
> -> SDTS
> -> TIGER
> -> S57
> -> MapInfo File
> -> DGN
> -> VRT
> -> AVCBin
> -> REC
> -> Memory
> -> CSV
> -> GML
> -> ODBC
> -> OCI
>
> I'm running this on Windows. Which driver does it use? The docs say
it
> uses the ODBC driver, but when I look at the ogrodbcdriver.cpp it
> requires that the datasource name start with "ODBC:":
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20060505/5f14eb82/attachment.html
More information about the Gdal-dev
mailing list