Hello List!

Thanks for all your replies, especially to Frank Warmerdam.
The problem really was the missing PGeo driver. The version 1.5.3. of ms4w includes PGeo, so now it works fine!

With best regards
Hedwig

Frank Warmerdam schrieb:
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,


--
Mag. Hedwig Matl . Forschungsassistentin

Universitätszentrum Rottenmann (UZR)
Technologiepark 2, A-8786 Rottenmann
www.uni-z-rottenmann.at . www.uzr.at

T: +43 (3614) 21021-19
E: [EMAIL PROTECTED]

Reply via email to