[gdal-dev] Trouble reading .dgn files
Roger André
randre at gmail.com
Thu Dec 13 17:30:11 EST 2007
Oh, and sorry that I didn;t answer your question about the error. I get the
generic:
FAILURE:
Unable to open datasource `./' with the following drivers.
-> ESRI Shapefile
-> MapInfo File
-> UK .NTF
-> SDTS
-> TIGER
-> S57
-> DGN
-> VRT
-> AVCBin
-> REC
-> Memory
-> CSV
-> GML
-> KML
-> PostgreSQL
On Dec 13, 2007 2:28 PM, Roger André <randre at gmail.com> wrote:
> Ahhh soooo...
>
> 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.
>
> Thanks,
>
> Roger
> --
>
>
> On Dec 13, 2007 11:08 AM, Frank Warmerdam <warmerdam at pobox.com> wrote:
>
> > Roger André wrote:
> > > I'm having trouble reading .dgn files using the ogr utilities and
> > can't
> > > figure out what I'm doing wrong. I've tried to read the data a number
> >
> > > of different ways:
> > >
> > > ogrinfo ./ D3460_PFA_RDNew.dgn
> > > ogrinfo ./ D3460_PFA_RDNew
> > > ogrinfo -all ./ D3460_PFA_RDNew.dgn
> > > ogrinfo -all ./ D3460_PFA_RDNew.dgn elements
> > > ogrinfo ./ D3460_PFA_RDNew.dgn elements
> > > ogrinfo -summary ./D3460_PFA_RDNew.dgn elements
> > > ogr2ogr -f "ESRI Shapefile" test.shp ./D3460_PFA_RDNew.dgn
> > > ogr2ogr -f "ESRI Shapefile" test.shp ./D3460_PFA_RDNew.dgn elements
> > >
> > > The .dgn format is new to me, so if anyone could give me advice on how
> > > best to work with it using the GDAL libs, I'd very much appreciate it.
> >
> > Roger,
> >
> > My first guess would be that these are v8 or newer dgn files. OGR only
> > supports the older v7 and earlier format. What error message are you
> > getting? Can you make one of the dgn files available for review?
> >
> > I'd like to have OGR report a meaningful error for new files if that
> > is the problem.
> >
> > 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<http://pobox.com/%7Ewarmerdam>
> > and watch the world go round - Rush | President OSGeo,
> > http://osgeo.org
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20071213/83a03db5/attachment.html
More information about the gdal-dev
mailing list