v.in.arc

Richard O. Flamm r6f at mtqgrass.esd.ornl.gov
Mon May 18 16:11:46 EDT 1992


I am trying to import an ungenerated ARC-INFO coverage into GRASS.

  I exported from ARC (on a VAX) to GRASS on a SUN SPARC II)
a LINES file, a LABEL-POINTS file and a LABEL-TEXT file.  
 I typed v.in.arc.  GRASS asked me for:
 Vector filename: samabsoils
 Coverage type: polygon
 Neatline?: no
 Lines filename: lsoil
 Points filename: psoil
 Label filename: asoil

GRASS returned:
The LABEL-TEXT file has been scanned. There are 144
lines in the file and 6 columns in the file

Column headers of the LABEL-TEXT file:
        no column header available

Here are the first three lines :
 $RECNO           AREA    PERIMETER MABSOIL# MABSOIL-ID GSL-NAME
      1   -1.13958E+11  1786085.000     1        0
      2   2.861446E+09  413,939.875     2      298      NC092

Then I entered:
 Line ID col: 5
 GRASS cat val: 4
 GRASS att. text: 6

After I hit return, the following occurs:

Working...
ERROR: Premature Text-Label EOF. ID #1005 not found.

Mapset <arc> in Location <mab>
GRASS 4.0 > 

ID#1005 is in the LABEL-TEXT file and the points file.
Part of the points file  is shown below:

       996  805020.625000  506413.187500
      1005  410506.875000  499552.875000
       999  541679.125000  494253.250000
      1000  657901.937500  503865.750000
Any ideas?




More information about the grass-user mailing list