[Gdal-dev] Re: DXF to raster conversion

Maciej Sieczka tutey at o2.pl
Sat Jan 13 05:00:46 EST 2007


Grzegorz Wiktorowski wrote:
>>> I received DXF file and I need to convert to TIFF format. From
>>> description
>>> of gdal_rasterize it seems to me it does not read DXF file.

>> You can convert to eg. PS with 'pstoedit', then rasterize this in GIMP
>> or with ImageMagick's 'convert'.

> As far as I found on pstoedit's web site it converts PS to DXF. My
> source is DXF do I don't think pstoedit helps here.

You are correct. My bad.

>>> I didn't find any tool to convert from DXF to OGR vector formats also.

>> GRASS GIS has v.in.dxf module for DXF import and it can output to any
>> OGR supported vector with v.out.ogr.
>>
>> If you go for GRASS, note there it has it's own tool for rasterising -
>> v.to.rast. Next use r.out.gdal to export into any GDAL supported format.

> OK. But GRASS does not runs on Windows OS, I'm affraid.

Please try the QGIS+GRASS package http://download.qgis.org/qgis/win32/

There are also updated builds available at
http://qgis.org/uploadfiles/testbuilds

It contains the vast majority of GRASS modules. QGIS is used for the GUI.

Maciek



More information about the Gdal-dev mailing list