Opened 12 years ago
Closed 12 years ago
#4618 closed defect (fixed)
ogr2ogr creates ill-formatted DXF files
Reported by: | zirneklitis | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | 1.9.1 |
Component: | OGR_SF | Version: | 1.9.0 |
Severity: | normal | Keywords: | CAD |
Cc: |
Description
The ogr2ogr 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 a problem to import such an ill-formatted file in drawing programs, as OOo.Draw, Incscape or CorelDRAW.
Tested with GDAL.OGR 1.7.3 and GDAL/OGR 1.9.0
Attachments (1)
Change History (2)
by , 12 years ago
Attachment: | example.7z added |
---|
comment:1 by , 12 years ago
Milestone: | → 1.9.1 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
r24359 /trunk/gdal/ogr/ogrsf_frmts/dxf/ (ogr_dxf.h ogrdxfwriterds.cpp ogrdxfwriterlayer.cpp): DXF Writer: set values in and with geometry extent (#4618)
r24360 /branches/1.9/gdal/ogr/ogrsf_frmts/dxf/ (ogr_dxf.h ogrdxfwriterds.cpp ogrdxfwriterlayer.cpp): DXF Writer: set values in and with geometry extent (#4618)