Steven Rose writesL

> 
> I've been reading about v.in.arc, but ungenerating all those maps and 
> rebuilding the topology and then rasterizing on the GRASS side seems 
> a bit much (perhaps those that have done it could assure me that it 
> is not too bad, or warn me of watch-out-for's).

No, it's not that bad; you've got the whole weekend, so why don't you 
use a shell-script like this that does the importing for you (and make an 
AML in ARC of course that does the export bit), that runs 126 sequences 
like this (try a test run first, and then let the computer do the 
night-shift)

i=1
while [ $i -gt 126 ]
do
	v.in.arc type=polygon lin=forest${i}.lin poi=forest${i}.pnt 
text=forest${i}.txt v=forest${i}
 	v.support -r forest${i}
	g.region vect=forest${i}
	v.to.rast forest${i} forest${i}
	i=`expr $i + 1`
done

As long as you keep the names of the files sequential, it should work 
easily, so the only hard bit will be renaming your ARC files if you 
haven't done so.

>
> The other alternative is to use arc/info's POLYGRID command and
> output and ASCII file and then use r.in.ascii.  Unfortunately, the 
> file formats aren't quite the same, but I could write code if 
> required to do the transfer (I'm hoping that somebody has already 
> done that -- or there is an easier way).

Seems like more programming to me, but you could be right about someone 
having hacked his/her way alrady

> Thanks for any help you could provide. 
> 
> (P.S. the computer lab is airconditioned, so I'll have a fun weekend 
> anyway)

Lucky you, mine isn't....

> Professor Steven Rose, R.P.F.       Phone: (705) 324-9144
> Sir Sandford Fleming College        FAX:   (705) 878-9312
> PO Box 8000, Lindsay,               Internet: srose@flemingc.on.ca
> Ontario, CANADA K9V 5E6
> 
> 

Philip Verhagen
-- 


			S t i c h t i n g  R A A P


		Regionaal Archeologisch Archiverings Projekt

adress: 	Plantage Muidergracht 14
	        1018 TV Amsterdam
	       	THE NETHERLANDS
phone:          (31) 20 525 5835
fax:		(31) 20 525 5834
e-mail:		motte@xs4all.nl

