Exporting as DGN with QgsVectorFileWriter.writeAsVectorFormat gives an error with code 3 #27548
Labels
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
Data Provider
Related to specific vector, raster or mesh data providers
Author Name: Kadir S (Kadir S)
Original Redmine Issue: 19723
Affected QGIS version: 3.3(master)
Redmine category:data_provider/ogr
Assignee: Even Rouault
@QgsVectorFileWriter.writeAsVectorFormat(layer, target_dgn, 'utf8', None, 'DGN', skipAttributeCreation = True)@
@writeAsVectorFormat@ gives code 3 error (ErrCreateLayer) with 'DGN' parameter and exports nothing. When changed into 'dgn', it works.
It's the same in QGIS 3.2.1.
QGIS 3.2.1 gives @(3, 'Creation of layer failed (OGR error: )')@ error.
Related issue(s): #27547 (relates)
Redmine related issue(s): 19722
The text was updated successfully, but these errors were encountered: