Malcolm,
Whenever I have had to do large sets of maps I use a syntax in my shell
such as:
r.patch input=All.Prehistoric.Sites,395-573.p.poly,400-568.p.poly,408-607.p.poly
,409-597.p.poly,410-606.p.poly,412-601.p.poly,414-583.p.poly,414-601.p.poly,414-
609.p.poly output=patch1
etc... and then patch the maps together. Is this the style you are
suggesting or would you suggest that they have an actually variable such as
r.patch input=$
R. Joe
On Thu, 22 Apr 1999, Malcolm Williamson wrote:
On Thu, 22 Apr 1999, Utente Grass wrote:
>
> Thank you for your message. The real problem was format errors in ascii data.
> We've resolve them and we 're able to import 215 files.
>
> Now we are trying to patch them all together but r.patch allows only 10 files in
> input. It is possible to change the source without create new problems?
>
> Good bye
>
> Valentina & Marco
>
You could modify the code for r.patch, but there is also a limit on how
many files may be open at a time in GRASS, something like 27. Your best
bet is simply to right a basic shell script that loops through r.patch,
creating temporary patched files from 10 layers at a time, and then
patching those together. Not a big deal. If you plan on doing much work
in GRASS, you'll want to learn how to do this anyway.
Regards,
--
Malcolm D. Williamson - GIS Specialist E-mail: malcolm@cast.uark.edu
Center for Advanced Spatial Technologies Phone: (501) 575-6159
Ozark Rm. 12 Fax: (501) 575-5218
University of Arkansas
Fayetteville, AR 72701 Web:
http://www.cast.uark.edu
R. Joe Brandon
---------------------------------------------------------------------
Center for Advanced Spatial Technologies (fax) 501 575-5218
Rm. 12 Ozark Hall 501 575-4277
University of Arkansas rjoe@cast.uark.edu
Fayetteville, AR 72701
Updated! -> http://www.cast.uark.edu/~rjoe
Computers are actually powered by Chaos theory, not electricity...that
is just for the fan. (T. Hesser)
---------------------------------------------------------------------