[gdal-dev] OGR 1.9.0 won't open DGN file

Zoltan Szecsei zoltans at geograph.co.za
Wed Jun 20 01:53:46 PDT 2012


Hi,
I have some DGN v7 files with contours, and I wish to add up the total 
length of all the contours in the file.

Using:
zls at gs0:~/ngi10k/ngi10k_geo$ ogrinfo --version
GDAL 1.9.0, released 2011/12/29

I get:
zls at gs0:~/ngi10k/ngi10k_geo$ ogrinfo 3117bb_lin_v7.dgn
INFO: Open of `3117bb_lin_v7.dgn'
       using driver `DGN' successful.
1: elements
zls at gs0:~/ngi10k/ngi10k_geo$

If I use parameters -so or -q or -geom=SUMMARY then I get the same 
error, but if I use parameter -al, then the DGN file is opened and all 
24000 contours are dumped to stdout.
QGIS 1.7.3 on Windows does open the same DGN file.

How can I investigate further as to why Linux ogr won't open the file 
using ?

TIA,
Zoltan

-- 

===========================================
Zoltan Szecsei PrGISc [PGP0031]
Geograph (Pty) Ltd.
P.O. Box 7, Muizenberg 7950, South Africa.

65 Main Road, Muizenberg 7945
Western Cape, South Africa.

34° 6'16.35"S 18°28'5.62"E

Tel: +27-21-7884897  Mobile: +27-83-6004028
Fax: +27-86-6115323     www.geograph.co.za
===========================================



More information about the gdal-dev mailing list