importing dxf-files

Malcolm Williamson malcolm at cast.uark.edu
Wed May 14 10:33:33 EDT 1997


Hi, Jan
>From the v.in.dxf manual page:
"    Attributes:
     The v.in.dxf program attaches attributes only to DXF text
     data that are converted to GRASS vector data (such as
     contour line labels).  Attributes are not attached to
     converted DXF line data.  For each layer of text data in the
     DXF design file, v.in.dxf generates a vector file consisting
     of rectangular boxes (lines) that are drawn around the DXF
     text data, and uses the text values to create a GRASS
     attribute file for the boxes.  The vector and attribute
     files can then be used to label contour lines with the
     v.cadlabel program."

What does this mean? The dxf format _cannot_ be used to import attributed 
lines or polygons into GRASS. Youiwill need to use an alternate format, 
such as DLG, SDTS, or ASCII (the SDTS programs are found on the GRASS ftp 
site). I hope that helps, though I'm sure it doesn't make in any easier!
--
Malcolm D. Williamson - GIS Specialist           E-mail: malcolm at cast.uark.edu
Center for Advanced Spatial Technologies      Telephone: (501) 575-6159
Ozark Rm. 12                                        Fax: (501) 575-5218 
University of Arkansas              
Fayetteville, AR 72701


On Tue, 13 May 1997, jan.bogaert wrote:

> 
> Hello GRASS-users,
> 
> I hope someone can help me.
> 
> I'm trying to import a dxf-file (name=kaart), containing 12 different
> groups of polygons, i.e. 12 different labels are present on the map (pine
> forest, deciduous forest, ...).
> 
> Using "v.in.dxf", 12 files (kaart.1, kaart.2, kaart.3, ..., kaart.12) are
> made and stored in the directory "/dig", as explained in the manual. So
> the 12 different classes are recognized. 
> 
> However, the next step is not going on, i.e. the step of using
> "v.cadlabel". The message is that I first have to run "v.support" on the
> files, but, after that, I get the message that for every polygon no text
> label is attached to it ("Textfile line ... NOT labelled"). 
> 
> Furthermore, using "v.info" it is clear that no information is present in
> the file/map.
> 
> Has someone experience with importing dxf-files from other GIS ??
> 
> Many thanks in advance.
>  
> 
> P.S. The files are generated by the GIS GENAMAP.
> 
> -jan
> 
>   ---------------------------------------------------------
>   ir. lic. Jan Bogaert
>   Universitaire Instelling Antwerpen - Departement Biologie
>   Laboratorium voor Plantecologie - Universiteitsplein 1
>   B-2610 Antwerpen (Wilrijk) - Belgium
>   fax. +32 3 820 22 71 - tel. +32 3 820 22 82
>   E-mail jbogaert at uia.ua.ac.be - jbo at bogy.uia.ac.be	
>   ---------------------------------------------------------
> 
> 
> 



More information about the grass-user mailing list