|
Hi Lars On 09/30/2012 12:32 AM, Lars Dalby wrote: Micha Silver wrote It seems that the GRASS parser doesn't "understand" the comma separated list of values. Here's a bug report of the problem: http://trac.osgeo.org/grass/ticket/739 I tried the suggestion in that link, but it still doesn't work: > pcoor<-paste(as.integer(1), as.integer(2), sep=",") > pbox<-paste(as.integer(2), as.integer(2), sep=",") > pgrid<-paste(as.integer(2), as.integer(2), sep=",") > pars<-list(map="testgrid", grid=pgrid, coor=pcoor, box=pbox) > pars $map [1] "testgrid" $grid [1] "2,2" $coor [1] "1,2" $box [1] "2,2" But then I still get: > doGRASS("v.mkgrid",flags="overwrite", parameters=pars) Error in doGRASS("v.mkgrid", flags = "overwrite", parameters = pars) : Parameter <grid> does not have integer value Can I suggest you take this issue to the r-spatial list? Regards, Micha -Lars -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Rasterize-polygons-multiple-polygons-per-grid-cell-tp5005264p5005361.html Sent from the Grass - Users mailing list archive at Nabble.com. _______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user This mail was received via Mail-SeCure System. |
_______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
