ARC to GRASS
Pacheco, Percy
ppacheco at seamail.nos.noaa.gov
Tue Nov 7 07:00:00 EST 1995
11/7/95
Hi Jocelyn:
Enclosed is a step by step procedure using an
example to convert ArcInfo .E00 format files to
GRASS vector files. I hope it is useful to you.
Procedure to convert ArcInfo (.E00) format files
to GRASS Vector files
--------------------------------------------------
--------------------------------------------------
----
Prepared by: Percy A. Pacheco
Example: "sub_east.e00" ArcInfo file in
subdirectory /grass/data/sead/gom/ma
1) cd /grass/data/sead/gom/ma
2) grass4.1
3) arc
4) import cover sub_east.e00 sub_east_arc
5) build sub_east_arc
6) ungenerate poly sub_east_arc sub_east_poly
7) ungenerate line sub_east_arc sub_east_line
8) ungenerate point sub_east_arc sub_east_point
9) tables
select sub_east_arc.pat
items
unload sub_east_unload sub_east_arc-id sub-id
sub-name area perimeter sub_east_arc#
orw mdc wsp area-sq-mi my-bas
position
stop
10) quit
11) cd /grass/data/sead/gom/workspace
12) mkdir arc
13) cd arc
14) cd /grass/data/sead/gom/ma
15) cp sub_east_poly
/grass/data/sead/gom/workspace/arc
cp sub_east_line
/grass/data/sead/gom/workspace/arc
cp sub_east_point
/grass/data/sead/gom/workspace/arc
cp sub_east_unload
/grass/data/sead/gom/workspace/arc
16) cd /grass/data/sead/gom/workspce/arc
17) vi sub_east_unload
:1,$s/,/ /g
:wq
18) v.in.arc
sub_east.vec
coverage type
polygon
neatline
no
lines filename
sub_east_line
label_points filename
sub_east_point
label_text filename
sub_east_unload
number of column to be used
2
number of column for category value
10
number of column for attribute text
<CR> for none
19) v.support
sub_east.vec
1
snap nodes to other nodes within a threshold?
n
<CR> to quit
20) v.digit
3
sub_east.vec
your organization: SEAD
map's date: Aug 24 95
map's scale: 1:24K
<escape>
shall we continue? y
Q
21) g.rename vect=sub_east_vec, ma_sub_east.vec
Percy A. Pacheco
Environmental Engineer
Strategic Environmental Assessments Division
ORCA/NOS/NOAA
1305 East West Highway, SSMC4, 9th Floor
Silver Spring, MD 20910
U.S.A.
Tel: (301)713-3000 x 155
Fax: (301)713-4384
ppacheco at seamail.nos.noaa.gov
More information about the grass-user
mailing list