please help: .mdb access problem

Frank Warmerdam warmerdam at POBOX.COM
Mon May 8 06:37:44 PDT 2006


Hedwig Matl wrote:
> Hello and thanks for your reply!
> 
> I edited the path for my message. I use the absolute path, which looks 
> like this (I also tried relative paths):
> 
> ---
> CONNECTIONTYPE OGR
> CONNECTION "c:\ms4w\apps\test2\mdb\Abtenau.mdb"
> ---
> 
> This is the error I get when I try to open the file with ogrinfo:
> 
> ---
> C:\>ogrinfo c:\ms4w\apps\test2\mdb\Abtenau.mdb
> FAILURE:
> Unable to open datasource `c:\ms4w\apps\test2\mdb\Abtenau.mdb' with the 
> following drivers.
>   -> ESRI Shapefile
>   -> MapInfo File
>   -> UK .NTF
>   -> SDTS
>   -> TIGER
>   -> S57
>   -> DGN
>   -> VRT
>   -> AVCBin
>   -> REC
>   -> Memory
>   -> CSV
>   -> GML
>   -> ODBC
>   -> PostgreSQL
>   -> MySQL
> ---

Hedwig,

Is the .mdb file in question supposed to be an ESRI Personal
Geodatabase?  If so, your OGR is missing the PGeo (personal geodatabase)
driver and so won't be able to read it.  This was due to a flaw in the
build system for a few months.  Hopefully a newer or near future MS4W
will have the correction.

If the .mdb file is not a personal geodatabase, then you will need to
setup an ODBC DSN for it and follow the instructions on the OGR ODBC
driver page.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGF, http://osgeo.org



More information about the MapServer-users mailing list