<div>Frank,</div>
<div> </div>
<div>Thanks for your responsive answers.</div>
<div> </div>
<div>> I assume you are suggesting direct calls into the MDB tools API instead<br>> of going through ODBC? This would be possible but difficult and result<br> </div>
<div>Yes, actually, I thought to dependend even on no (external) lib at all...</div>
<div><br>Regarding my issue importing an mdb I'm still unable to get an working example of a PGeo statement:</div>
<div> </div>
<div>>ogrinfo bahnhoefe.mdb<br>FAILURE:<br>Unable to open datasource `bahnhoefe.mdb' with the following drivers.</div>
<div>...</div>
<div>PGeo</div>
<div>...</div>
<div> </div>
<div>So I still hope to get a success since under Windows PGeo is in the list supported formats.</div>
<div>What do I need to do in order to get PGeo and the following command work (under Windows)?</div>
<div>Do I really have to register every single new database file with ODBC administrative tools?</div>
<div>> ogrinfo PGeo:bahnhoefe</div>
<div> </div>
<div>Stefan<br> </div>
<div><span class="gmail_quote">2007/12/13, Frank Warmerdam <<a href="mailto:warmerdam@pobox.com">warmerdam@pobox.com</a>>:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Stefan Keller wrote:<br>> Hi all,<br>><br>> I'm trying to convert an ESRI Personal GeoDatabase (.mdb) file.
<br>><br>> 1.) The documentation (<a href="http://www.gdal.org/ogr/drv_pgeo.html">http://www.gdal.org/ogr/drv_pgeo.html</a>) says that<br>> "On Windows, no ODBC DSN is required." But given bahnhoefe.shp
(.dbf/.shx)<br>> on Windows: When I issue<br>><br>> ogrinfo PGeo:bahnhoefe bahnhoefe<br>><br>> following error is produced (yes, 2 times):<br>><br>> ERROR 1: Unable to initialize ODBC connection to DSN for bahnhoefe,
<br>> [Microsoft][ODBC Driver Manager] Data source name not found and no<br>> default<br>> driver specified<br>> ERROR 1: Unable to initialize ODBC connection to DSN for bahnhoefe,<br>> [Microsoft][ODBC Driver Manager] Data source name not found and no
<br>> default<br>> driver specified<br><br>Stefan,<br><br>When not using the DSN you should actually specify the name of the .mdb<br>file.<br><br>eg.<br> ogrinfo bahnhoefe.mdb<br><br>> 2.) Is it difficult to adapt the MDB reader and make it standalone,
i.e.<br>> not depend on<br>> ODBC but with a binary parser? This would also help linux users who now<br>> are obliged<br>> to install unixODBC and MDB Tools.<br><br>I assume you are suggesting direct calls into the MDB tools API instead
<br>of going through ODBC? This would be possible but difficult and result<br>in a lot of duplication between an MDB Tools based version and an<br>ODBC based version. I'm not willing to depend on the MDB Tools based
<br>version as the only version since MDBTools is big and in my opinion<br>not very stable.<br><br>Best regards,<br>--<br>---------------------------------------+--------------------------------------<br>I set the clouds in motion - turn up | Frank Warmerdam,
<a href="mailto:warmerdam@pobox.com">warmerdam@pobox.com</a><br>light and sound - activate the windows | <a href="http://pobox.com/~warmerdam">http://pobox.com/~warmerdam</a><br>and watch the world go round - Rush | President OSGeo,
<a href="http://osgeo.org">http://osgeo.org</a><br><br></blockquote></div><br>