Displaying 2 results from an estimated 2 matches for "mvflag".
Did you mean:
vflag
2012 Feb 24
1
Producing KML files
...to_GE
The lines that I can run are:
data(meuse.grid)
coordinates(meuse.grid) <- ~x+y
gridded(meuse.grid) <- TRUE
proj4string(meuse.grid) = CRS("+init=epsg:28992")
# raster to polygon conversion;
writeGDAL(meuse.grid["soil"], "meuse_soil.sdat", "SAGA", mvFlag=-99999)
rsaga.geoprocessor(lib="shapes_grid", module=6,
param=list(GRID="meuse_soil.sgrd", POLYGONS="meuse_soil.shp", CLASS_ALL=1))
and it crashes there with the following error message:
Error in setwd(env$workspace) : character argument expect...
2012 May 08
2
PPM to BMP converter
Dear all,
Several days ago, I posted How to write a bmp file pixel by pixel. Instead of bmp, I succeeded in writing a PPM file by using the pixmap package. Thanks for the hint generously provided by Uwe Ligges.
Now I have a new question. How to convert a PPM file to BMP file in R? I know I can do this in photoshop or by some other softwares, but I think if I Can do this in R, that