Bug report #9547
DXF does not load if file extension is missing
Status: | Closed | ||
---|---|---|---|
Priority: | Low | ||
Assignee: | - | ||
Category: | Data Provider | ||
Affected QGIS version: | master | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | invalid |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 18134 |
Description
See the attached file
Related issues
History
#1 Updated by Jürgen Fischer almost 11 years ago
No file attached.
#2 Updated by Jürgen Fischer almost 11 years ago
- Status changed from Open to Feedback
#4 Updated by Giovanni Manghi over 10 years ago
- Affected QGIS version changed from 2.0.1 to master
- Target version set to Future Release - Lower Priority
- Status changed from Feedback to Open
- Subject changed from DXF created with QGIS is not loaded back to DXF does not loads if file extension is missing
If the file has the extension it load correctly, if it does not then
Invalid Data Source: /home/giovanni/Desktop/test is not a valid or recognized data source
#5 Updated by Paolo Cavallini over 9 years ago
- Subject changed from DXF does not loads if file extension is missing to DXF does not load if file extension is missing
#6 Updated by Jürgen Fischer over 9 years ago
- Target version changed from Future Release - Lower Priority to Future Release - Nice to have
- Resolution set to up/downstream
- Priority changed from Normal to Low
$ ogrinfo test Unable to open datasource `test' with the following drivers. -> ESRI Shapefile [...] -> SXF $ ogrinfo test.dxf INFO: Open of `test.dxf' using driver `DXF' successful. 1: entities
Apparently a "problem" of the OGR driver.
#7 Updated by Paolo Cavallini over 9 years ago
- Status changed from Open to Closed
- Resolution changed from up/downstream to invalid
Renaming the file solves the issue:
ogrinfo test.dxf INFO: Open of `/home/paolo/Scrivania/butta/qgis_test/test.dxf' using driver `DXF' successful. 1: entities
Forwarding it upstream.
Thanks.