Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

`LasAnimas.dgn' not recognized as a supported file format. #9004

Closed
jidanni opened this issue Dec 30, 2023 · 3 comments · Fixed by #9005
Closed

`LasAnimas.dgn' not recognized as a supported file format. #9004

jidanni opened this issue Dec 30, 2023 · 3 comments · Fixed by #9005

Comments

@jidanni
Copy link
Contributor

jidanni commented Dec 30, 2023

$ wget https://www.codot.gov/business/designsupport/cadd/ms/microstation-inroads-configuration/county-maps/lasanimas.dgn
$ ogrinfo --format dgn|grep Exte
  Extension: dgn
$ file LasAnimas.dgn 
LasAnimas.dgn: Composite Document File V2 Document, Little Endian, Os: Windows, Version 5.1, Code page: 1200, Locale ID: 1033, Author: hawki, Total Editing Time: 00:00, Create Time/Date: Mon Feb  6 03:24:40 2006, Last Saved By: hawki, Last Saved Time/Date: Fri Sep 15 20:32:04 2006, Revision Number: 13, Name of Creating Application: MicroStation
$ ogrinfo LasAnimas.dgn 
ERROR 4: `LasAnimas.dgn' not recognized as a supported file format.
ogrinfo failed - unable to open 'LasAnimas.dgn'.

P.S., I would say "not recognized as being in a supported file format".

Also, able to open, but not able to read... correctly.

But odd that it can't deal with the file.

@rouault
Copy link
Member

rouault commented Dec 30, 2023

This is a DGNv8 file that requires GDAL to be built with the Open Design Alliance Teigha proprietary SDK: https://gdal.org/drivers/vector/dgnv8.html

@rouault rouault closed this as completed Dec 30, 2023
@jidanni
Copy link
Contributor Author

jidanni commented Dec 30, 2023

(Well OK, but I wish the error message would say something like that, else the next guy who encounters this will just post the exact same bug report.)

rouault added a commit to rouault/gdal that referenced this issue Dec 30, 2023
…file and the DGNv8 driver is not available (fixes OSGeo#9004)
@rouault
Copy link
Member

rouault commented Dec 30, 2023

fair enough. Cf #9005

rouault added a commit to rouault/gdal that referenced this issue Dec 30, 2023
…file and the DGNv8 driver is not available (fixes OSGeo#9004)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants