Bug report #19722

Exporting as DGN with "Save As..." gives an error.

Added by Kadir S over 5 years ago. Updated over 5 years ago.

Status:Closed
Priority:Normal
Assignee:Even Rouault
Category:Data Provider/OGR
Affected QGIS version:3.3(master) Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:27547

Description

Exporting a layer as DGN, QGIS gives the following error:

Export to vector file failed.
Error: creation of layer failed (OGR error:creation option '' is not formatted with the key=value format)

It's the same in QGIS 3.2.1 (Export > Save Features As...)


Related issues

Related to QGIS Application - Bug report #19723: Exporting as DGN with QgsVectorFileWriter.writeAsVectorFo... Closed 2018-08-28

Associated revisions

Revision 6b620193
Added by Even Rouault over 5 years ago

QgsVectorFileWriter: fix DGN creation (fixes #19722, fixes #19723)

Revision 9dd14065
Added by Even Rouault over 5 years ago

Merge pull request #7979 from rouault/fix_19722

QgsVectorFileWriter: fix DGN creation (fixes #19722, fixes #19723)

History

#1 Updated by Giovanni Manghi over 5 years ago

  • Category changed from Unknown to Data Provider/OGR
  • Easy fix? changed from Yes to No
  • Operating System deleted (Windows 10 x64)
  • Affected QGIS version changed from 2.18.22 to 3.3(master)

Confirmed on master/linux, it seems that one of the ogr(2ogr) creation option parameters is not well formatted.

#2 Updated by Jürgen Fischer over 5 years ago

  • Related to Bug report #19723: Exporting as DGN with QgsVectorFileWriter.writeAsVectorFormat gives an error with code 3 added

#3 Updated by Even Rouault over 5 years ago

  • Assignee set to Even Rouault

#4 Updated by Even Rouault over 5 years ago

  • % Done changed from 0 to 100
  • Status changed from Open to Closed

Also available in: Atom PDF