[gdal-dev] Files without .dxf extension result invalid

Even Rouault even.rouault at spatialys.com
Fri Jun 12 01:02:57 PDT 2015


Hi Paolo,

> See details at: http://hub.qgis.org/issues/9547
> with sample data.

Yes, the DXF driver currently uses the .dxf extension as the only criterion to
determine if a file is DXF or not.

> Should I open a ticket?

Yes, the driver could possibily be improved to also look at the first lines and
guess if they look like valid DXF. Although it must be extremely uncommon to
have dxf files without .dxf extension.

Even


-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the gdal-dev mailing list