Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exporting as DGN with QgsVectorFileWriter.writeAsVectorFormat gives an error with code 3 #27548

Closed
qgib opened this issue Aug 28, 2018 · 4 comments
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

Comments

@qgib
Copy link
Contributor

qgib commented Aug 28, 2018

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


@qgib
Copy link
Contributor Author

qgib commented Aug 29, 2018

Author Name: Giovanni Manghi (@gioman)


Related to #27547 ?


  • version was changed from 2.18.22 to 3.3(master)
  • subject was changed from Exporting as DGN with QgsVectorFileWriter.writeAsVectorFormat gives an error with code 3. to Exporting as DGN with QgsVectorFileWriter.writeAsVectorFormat gives an error with code 3
  • category_id was changed from Unknown to Data Provider/OGR

@qgib
Copy link
Contributor Author

qgib commented Aug 29, 2018

Author Name: Jürgen Fischer (@jef-n)


@qgib
Copy link
Contributor Author

qgib commented Sep 21, 2018

Author Name: Even Rouault (@rouault)


  • assigned_to_id was configured as Even Rouault

@qgib
Copy link
Contributor Author

qgib commented Sep 21, 2018

Author Name: Even Rouault (@rouault)


Applied in changeset 6b62019.


  • done_ratio was changed from 0 to 100
  • status_id was changed from Open to Closed

@qgib qgib closed this as completed Sep 21, 2018
@qgib qgib added 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 labels May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

1 participant