I have a Perl program that loops through the r.lake module, and captures
output. In the program, there are a few instances where I would like to
test if a given raster already exists. In perl, its something like this to
test if a file exists ... if (-e "filename") { do stuff }.
is there a way to use this feature against a raster? Otherwise, I was going
to do something like r.info and pipe the output to a file. then search that
the file for some keyword indicating it exists or doesnt exist.
any other ideas or approaches?
thanks,
Mark
_______________________________________________
grassuser mailing list
[email protected]
http://grass.itc.it/mailman/listinfo/grassuser