v.in.ascii,v.out.ascii

Alejandro Hinojosa Corona alhinc at cicese.mx
Wed Jan 17 07:00:00 EST 1996


> Is it possible that v.in.ascii and v.out.ascii use
> (y,x) coordinates instead of (x,y) ?
> 
> Agus

Agustin,

You could use a awk script on the input or otput ascii file
to interchange de columns. Something you could start from
looks like:

gawk '{if ($1 !~ "[0-9]") print $0; else print $2,$1 }' ascii_file


Hope this helps

Alejandro Hinojosa

Research Associate
Earth Sciences Division
CICESE (Centro de Investigacion Cientifica y Educacion Superior de Ensenada)
Ensenada, Baja California, Mexico.

Mailing address: P.O. Box 434843
                 San Diego Ca. 92143-4843
voice; (01152)6174-4501 to 08 fax:(01152)6174-4933
email: alhinc at cicese.mx  (158.97.1.33)





More information about the grass-dev mailing list