[gdal-dev] Feature styles units in dxf export

Marco Hugentobler marco at sourcepole.ch
Fri Dec 21 00:16:13 PST 2012


Hi

Exporting vector symbology from QGIS, I encountered problems with (line 
width) units in the dxf export.
Setting a style string in mm (e.g.  'PEN(c:#0000ff,w:5mm'), the dxf 
driver converts the 5 mm to 0.005 ground units, then multiplies that by 
100 (most likely because in dxf, one width unit is 1/100 mm). This seems 
strange to me, shouldn't the driver treat mm as paper units (instead as 
ground units) and just multiply the mm by 100?

Thanks,
Marco


More information about the gdal-dev mailing list