[GRASSLIST:3618] Re: dxf importing

Andrej Ivanovic andriy at volja.net
Wed May 1 13:17:03 EDT 2002


>TIFF and DXF formats are handled through completely different import
>tools and result in completely different types of files; TIFF files
>import to raster files and DXF files import to vector files.  You would
>not run v.support on an imported TIFF file.

I understand that and I tried to run v.support on imported DXF file, not on 
imported TIFF file.

>Use v.in.dxf to import the DXF file.  v.in.dxf is fairly robust, but it
>does not handle all types of dxf objects.  Keep in mind that DXF files
>are often not in geographic coordinates.  If that is true in your case
>then you may be able to use v.transform to supply the necessary
>coordinates.  You should be able to view the imported file in a GRASS
>monitor without first running v.support, but that is about all you can
>do with the file.

The DXF I imported contained only lines and no other vector objects. 
Neverthless, when importing was finished, I ran v.support and g.region on 
it. After doing that it displayed correctly, but when I wanted to measure 
distance of lines with v.report the result of all measurements was only one 
category - NO DATA, and the distance was 0.

Thanks for your help,

Andrej Ivanovic



More information about the grass-user mailing list