Oh, and sorry that I didn;t answer your question about the error. I get the generic:<br><br>FAILURE:<br>Unable to open datasource `./' with the following drivers.<br> -> ESRI Shapefile<br> -> MapInfo File<br> -> UK .NTF
<br> -> SDTS<br> -> TIGER<br> -> S57<br> -> DGN<br> -> VRT<br> -> AVCBin<br> -> REC<br> -> Memory<br> -> CSV<br> -> GML<br> -> KML<br> -> PostgreSQL<br><br><br><br><div class="gmail_quote">
On Dec 13, 2007 2:28 PM, Roger André <<a href="mailto:randre@gmail.com">randre@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Ahhh soooo...<br><br>Yepp, these are definitely version 8 files. I don't think I can give you one of the files I'm getting the error with, but I'll see if I can get a dummy one made with the same tools for you to test with.
<br><br>Thanks,<br><br>Roger<br><font color="#888888">--</font><div><div></div><div class="Wj3C7c"><br><br><div class="gmail_quote">On Dec 13, 2007 11:08 AM, Frank Warmerdam <<a href="mailto:warmerdam@pobox.com" target="_blank">
warmerdam@pobox.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div>Roger André wrote:<br>> I'm having trouble reading .dgn files using the ogr utilities and can't<br>> figure out what I'm doing wrong. I've tried to read the data a number
<br>> of different ways:<br>><br>> ogrinfo ./ D3460_PFA_RDNew.dgn<br>> ogrinfo ./ D3460_PFA_RDNew<br>> ogrinfo -all ./ D3460_PFA_RDNew.dgn<br>> ogrinfo -all ./ D3460_PFA_RDNew.dgn elements<br>> ogrinfo ./ D3460_PFA_RDNew.dgn elements
<br>> ogrinfo -summary ./D3460_PFA_RDNew.dgn elements<br>> ogr2ogr -f "ESRI Shapefile" test.shp ./D3460_PFA_RDNew.dgn<br>> ogr2ogr -f "ESRI Shapefile" test.shp ./D3460_PFA_RDNew.dgn elements<br>
><br>> The .dgn format is new to me, so if anyone could give me advice on how<br>> best to work with it using the GDAL libs, I'd very much appreciate it.<br><br></div></div>Roger,<br><br>My first guess would be that these are v8 or newer dgn files. OGR only
<br>supports the older v7 and earlier format. What error message are you<br>getting? Can you make one of the dgn files available for review?<br><br>I'd like to have OGR report a meaningful error for new files if that
<br>is the problem.<br><br>Best regards,<br><font color="#888888">--<br>---------------------------------------+--------------------------------------<br>I set the clouds in motion - turn up | Frank Warmerdam, <a href="mailto:warmerdam@pobox.com" target="_blank">
warmerdam@pobox.com</a><br>light and sound - activate the windows | <a href="http://pobox.com/%7Ewarmerdam" target="_blank">http://pobox.com/~warmerdam</a><br>and watch the world go round - Rush | President OSGeo, <a href="http://osgeo.org" target="_blank">
http://osgeo.org</a><br><br></font></blockquote></div><br>
</div></div></blockquote></div><br>