Displaying 1 result from an estimated 1 matches for "shapes_grid".
2012 Feb 24
1
Producing KML files
...euse.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 expected
In addition: Warning message:
In rsaga.env() :...