[GRASSLIST:1002] help needed with importing dxf files and d.labels

Ambili Sudhi ambilisudhi at yahoo.co.in
Fri Aug 22 22:04:59 EDT 2003


hi everyone,

Plz help me out with this problem:

I have an dxf file created in autocad which has 3
layers of drawings and 1 layer of text. Now when I
import this dxf file into GRASS all the layers get
imported however the when I try to display the text
layer it does not show the text instead it shows plain
boxes around where the text is supposed to be.


The command used to import is as follows: 
>v.in.dxf dxf=/home/gis/Test.dxf lines=0,1,2 labels=3
prefix=Test

After importing when I run v.support for the text
layer file I get the following error in the output:

    Reading Vector file 100%
    Building areas 100%
    Building islands (no islands present)
    Attaching labels

Bad line 'L  15.945373 7.213136 ELLIPLSE
'
Bad line 'L  8.352338 13.325963 CIRCLE
'
Bad line 'L  4.482340 7.653259 RECT
'
 Number of lines:   3
 Number of nodes:   3
 Number of areas:   0
 Number of isles:   0
 Number of atts :   0
 Number of unattached atts :   0
 Snapped lines  :   0


Also is there any means of labeling a raster or vector
map in GRASS and saving it for later display? I have
tried d.labels but 
it gives me errors.The errors are as follows:

when i first run d.labels it allows me to specify the
location and the text however after that the entire
GRASS monitor becomes blank and
colored with the bkground color of text also though it
now gives options of specifying another label if i
click anywere on the GRASS moniter it gives me an
error as follows:

Label point NOT in current active window
 Label point 755 is greater than east 600

so is there any means of labelling maps and saving it?

thanks and regards,
Ambili.


________________________________________________________________________
Yahoo! India Promos: Win TVs, Bikes, DVD players & more!
Go to http://in.promos.yahoo.com




More information about the grass-user mailing list