Example ASCII vector file:
ORGANIZATION: DIGIT DATE: Apr 24 2001 DIGIT NAME: nds_gem MAP NAME: nds_gem MAP DATE: MAP SCALE: 500000 OTHER INFO: /home/neteler/grassdata5/langeoog/PERMANENT/dig_cats ZONE: 0 WEST EDGE: 3326228.1 EAST EDGE: 3690891.8 SOUTH EDGE: 5670297.1 NORTH EDGE: 5987928.8 MAP THRESH: 381 VERTI: A 1 5819822.9 3343726.42 5819801.5 3343947.43 5820154.9 3344395.23 5817559.7 3346542.47 A 2 5819822.83 3343726.42 5827223.34 3348523.95 5827298.34 3348556.25 5827351.35 3348584.35 L 3 5821947.6 3344082.3 5822086.8 3344101.9 5822306.2 3344138.2 5822883.7 3344227.3The associated dig_cats file needs following format:
# 3 categories 0.00 0.00 0.00 0.00 1:Stade 2:Cuxhaven 3:BAB
To (re-)set map metadata like ORGANIZATION etc., v.digit can be used.
The GRASS program v.out.ascii performs the function of v.in.ascii in reverse; i.e., it converts vector files in binary format to ASCII format. These two companion programs are useful both for importing and exporting vector files between GRASS and other software, and for transferring data between machines.
The input from v.in.ascii has to be placed into $LOCATION/dig_ascii (this directory must be created if not existing).