Bug report #1343

dxf2shp plugin does not distinguish between polygon and polyline correctly

Added by brian - over 11 years ago. Updated over 8 years ago.

Status:Closed
Priority:Low
Assignee:-
Category:C++ Plugins
Affected QGIS version: Regression?:No
Operating System:Debian Easy fix?:No
Pull Request or Patch supplied:No Resolution:wontfix
Crashes QGIS or corrupts data: Copied to github as #:11403

Description

dxf2shp plugin does not distinguish between polygon and polyline correctly.
In the attached example, polyline and polygons are both converted to lines and polygons.
Also this applies to the text as well.
Have tested dxf2shp with dxf files as r12 and 2000 dxf format.

Attached is the r12 file.

Cheers
Brian

History

#1 Updated by brian - over 11 years ago

Sorry, test file to large to upload.

#2 Updated by Paolo Cavallini about 10 years ago

Could you please attach a simplified version of the same file? Without it, it is difficult to test

#3 Updated by Paolo Cavallini over 9 years ago

Please note that DXF support is being incorporated in GDAL >=1.7, so the plugin will be probably dropped as soon as it works smoothly

#4 Updated by Paolo Cavallini over 9 years ago

Downgrading it, as GDAL should handle these cases better than the plugin now

#5 Updated by Anne Ghisla about 9 years ago

brian, can you reproduce the bug, loading the DXF via Add vector layer dialog?

If you don't have GDAL >=1.7, can you provide the smallest example possible, e.g. a DXF with one polyline converted as polygon?

Thanks!

#6 Updated by Paolo Cavallini over 8 years ago

  • Pull Request or Patch supplied set to No
  • Status changed from Open to Closed
  • Assignee deleted (nobody -)
  • Resolution set to wontfix

IMHO this plugin will not be maintained, as DXF can be loaded through GDAL. No work should go into fixing this.

Also available in: Atom PDF