At a guess the Byte type might be causing problems, please provide (at a
minimum) the actual error text you see, and (preferably) exact steps to
reproduce the problem - is it specific to your dataset or does it fail
with other datasets? Is there any difference if you change the output
type or driver?  

Cheers, Mike.

==============Original message text===============
On Sat, 20 Sep 2008 7:01:10 +1000 "milton ruser" wrote:

Dear all,
I am reading a set of maps from ArcGRID format using rgdal and I need to
export to ASC format.

But when I try the commands below, I get an error.

require(rgdal)

mes01jan<-readGDAL("jan_00")
image(mes01jan, col=topo.colors(50))  #looks find
writeGDAL(mes01jan, "mes01jan.asc", drivername = "AAIGrid", type="Byte")

Any idea?

miltinho, brazil

	[[alternative HTML version deleted]]

_______________________________________________
R-sig-Geo mailing list
R-sig-Geo@stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-geo

===========End of original message text===========



If it wasn't backed-up, then it wasn't important. ~ Anon sysadmin

Mike Sumner (Phd. Candidate)
http://www.antcrc.utas.edu.au/~mdsumner/ http://www.zoo.utas.edu.au/awru/  IASOS/AWRU
University of Tasmania
Private Bag 80
Hobart Tasmania 7001
AUSTRALIA
Email: mdsumner@utas.edu.au 
Phone: 03 6226 1752 (W)
       0408599921   (M)
Fax:   03 6226 2745


