PROBLEM: importing DLG file

David Viebrock viebrock at gis.cwu.edu
Thu Apr 11 08:00:00 EDT 1996





On Thu, 11 Apr 1996, Pierpaolo Saccon wrote:

> Hi Users,
> I have exported a vector file in DLG format from ARCINFO. I'd like to import
> it in GRASS using v.in.dlg but I don't know in which directory I must copy
> the file!!!
> I have tried to copy it in all the existing directories but v.in.dlg doesn't
> work.
> Someone knows the right way???
> 
> thank you very much
> 
> saccon at pbox.joanneum.ac.at
> 
> 
Hi Pierpaolo!

In order to import a dlg file into GRASS you must place the file
in your $LOCATION directory which is usually something like
/u/grass/data/<database_name>/<user_name>/dlg or similar.  If
a dlg directory doesn't exist under your $LOCATION then just
1) enter GRASS, 2) type 'cd $LOCATION', 3) type 'mkdir dlg' and,
4) copy the new dlg file into this new '$LOCATION/dlg' directory and 
reissue 'v.in.dlg'.  To my knowledge, GRASS always expects to find dlg files
in this directory and also puts dlg files from 'v.out.dlg' in this same
directory.  I think the same holds true for all the other 'v.in' and 'v.out'
commands; each has its respective directory under $LOCATION (e.g. arc, ascii,
dxf, etc.).

-Dave





More information about the grass-user mailing list