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

DXF is offered as a "Save as" option, but doesn't work #13064

Closed
qgib opened this issue Sep 14, 2010 · 6 comments
Closed

DXF is offered as a "Save as" option, but doesn't work #13064

qgib opened this issue Sep 14, 2010 · 6 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
Milestone

Comments

@qgib
Copy link
Contributor

qgib commented Sep 14, 2010

Author Name: Alister Hood (@AlisterH)
Original Redmine Issue: 3004

Redmine category:data_provider


I thought I'd test the new ability to export to any OGR supported format. This is the resulting error message:

Export to vector file failed.
Error: creation of field Id failed (OGR error: DXF layer does not support arbitrary field creation.)

Maybe there's a way to actually produce a working dxf by automatically deleting and/or renaming attribute fields or something?

@qgib
Copy link
Contributor Author

qgib commented Nov 14, 2010

Author Name: Stephan66 - (Stephan66 -)


Save as DXF doesn't work here either.

Using Qgis 1.5.0, (libgdal1 version 1.7.1) from the Build Service on openSuSE 11.2 (64-bit).

When trying to save a vector layer (shape) as dxf, I get the following error:

Error: creation of data source failed (OGR error:Failed to find template header file header.dxf for reading, is GDAL_DATA set properly?)

Checked: There is no environment setting GDAL_DATA on my system.

@qgib
Copy link
Contributor Author

qgib commented Dec 11, 2010

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


fixed in .


  • resolution was configured as fixed
  • status_id was changed from Open to Closed

@qgib
Copy link
Contributor Author

qgib commented Jun 16, 2011

Author Name: Stephan66 - (Stephan66 -)


This problem is not fixed at all.

Tested on openSuSE 11.4, with:
gpsbabel 1.4.2-16.1
grass 6.4.1-1.14
grass-docs 6.4.1-1.14
libgdal-grass 1.4.3-15.17
libgdal1 1.8.0-1.8
libgeoclue0 0.12.0-6.1
libgeos0 3.2.2-1.pm.1.3
libgeotiff2 1.3.0-1.pm.1.1
libnetcdf4 4.0.1-17.1
libopenjpeg2_0 2.0.0-1.pm.1.1
libproj0 4.7.0-1.pm.1.3
libqwt5 5.2.1-3.3
netcdf 4.0.1-17.1
proj4 4.7.0-1.pm.1.3
python-gdal 1.8.0-1.8
python-numpy 1.5.1-17.2
qgis 1.7.0-2.1
qgis-plugin-grass 1.7.0-2.1

Checked for openSuSE 11.4: No environment setting GDAL_DATA on my system.

This issue needs to be reopened.

@qgib
Copy link
Contributor Author

qgib commented Jun 16, 2011

Author Name: Giovanni Manghi (@gioman)


Saving as DXF works fine under Ubuntu Natty and qgis 1.7

I tested to "save as..." dxf a shapefile and also a dxf file and worked.

The problem I see is that if the user forgets to add the extension to the oupfile, the file is saved as .d and not as .dxf


  • assigned_to_id removed nobody
  • resolution was changed from fixed to

@qgib
Copy link
Contributor Author

qgib commented Jun 16, 2011

Author Name: Giovanni Manghi (@gioman)


It works also under Windows. I'll close again, please give it another try as it is probably a local installation problem.


  • resolution was changed from to fixed

@qgib
Copy link
Contributor Author

qgib commented Jun 19, 2011

Author Name: Stephan66 - (Stephan66 -)


You where right, Giovanni!

The message

Error: creation of data source failed (OGR error:Failed to find template header file header.dxf for reading, is GDAL_DATA set properly?)

was indeed caused a local installation problem.

The Build Service package gdal needs to be installed to prevent it.

@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 24, 2019
@qgib qgib added this to the Version 1.6.0 milestone May 24, 2019
@qgib qgib closed this as completed May 24, 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