Re: [gdal-dev] dxf linewidth

2013-01-31 Thread Marco Hugentobler
such that a driver might convert between pixel / mm? Regards, Marco On 29.01.2013 23:41, Even Rouault wrote: Le mardi 29 janvier 2013 10:48:11, Marco Hugentobler a écrit : Hi I have a question regarding writing the linewith from ogr feature style in the dxf driver. In ogrdxfwriterlayer.cpp

[gdal-dev] dxf linewidth

2013-01-29 Thread Marco Hugentobler
engine, I see that it uses code 43. Now I'm not a dxf expert at all, so I don't know if it has to do with different dxf versions or if we should simply change the 370 for 43 in the dxf writer? Shall I provide a patch? Regards, Marco -- Dr. Marco Hugentobler Sourcepole - Linux Open Source

[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 Marco Hugentobler
to go with the default). Regards, Marco On 21.12.2012 09:55, Jürgen E. Fischer wrote: 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

[gdal-dev] Multiple pens in OGR feature style

2012-12-10 Thread Marco Hugentobler
or if it is not supported by the feature style mechanism. Thanks for any hints, Marco -- Dr. Marco Hugentobler Sourcepole - Linux Open Source Solutions Weberstrasse 5, CH-8004 Zürich, Switzerland marco.hugentob...@sourcepole.ch http://www.sourcepole.ch Technical Advisor QGIS Project Steering Committee

Re: [gdal-dev] Multiple pens in OGR feature style

2012-12-10 Thread Marco Hugentobler
pens / brushes. So probably I'll write everything into the style string and let the driver do what's best for the concrete format. Thanks, Marco On 10.12.2012 15:29, Even Rouault wrote: Selon Marco Hugentobler ma...@sourcepole.ch: Hi I'm currently implementing support for OGR feature styles