Bug report #4973

QGIS creates ill-formatted DXF files

Added by zirneklitis - over 9 years ago. Updated over 9 years ago.

Status:Closed
Priority:High
Assignee:-
Category:Vectors
Affected QGIS version:1.7.3 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:upstream
Crashes QGIS or corrupts data:No Copied to github as #:14761

Description

The QuntumGIS creates DXF files with wrong extent values, e.g.,:

$EXTMIN
10
30.0
20
49.75
30
0.0
9
$EXTMAX
10
130.5
20
163.1318914119703
30
0.0
9

In fact, for given example, the numbers should be as follows:

$EXTMIN
10
290240.0
20
159640.0
30
0.0
9
$EXTMAX
10
785180.0
20
452180.0
30
0.0
9

There is problem to import such an ill-formatted file in drawing programs, as OOo.Draw, Incscape or CorelDRAW.

Tested on QGIS 1.7.1, 1.7.3 and 1.9.90

example.7z (4.37 KB) zirneklitis -, 2012-02-09 02:26 AM

History

#1 Updated by Giovanni Manghi over 9 years ago

  • Resolution set to upstream
  • Status changed from Open to Closed

QGIS uses OGR to write DXf files, if something wrong happens, then is OGR problem.

Also available in: Atom PDF