[gdal-dev] Feature styles units in dxf export

2012-12-21 Thread Marco Hugentobler
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:#ff,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

Re: [gdal-dev] Feature styles units in dxf export

2012-12-21 Thread Jürgen E . Fischer
Hi Marco, On Fri, 21. Dec 2012 at 09:16:13 +0100, Marco Hugentobler wrote: Setting a style string in mm (e.g. 'PEN(c:#ff,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

Re: [gdal-dev] Feature styles units in dxf export

2012-12-21 Thread Marco Hugentobler
Hi Jürgen It might assume running with the DXF header shipped with GDAL (assuming there is one) and you are using another one? I'm using the header that comes with OGR. Don't know if there is a possibility to change the header via OGR (but my dxf knowledge is very limited, so I'd prefer to