[R-sig-Geo] spgrass6 "r.in.wms"
Roger.Bivand at nhh.no
Wed Jul 20 13:54:40 CEST 2011
On Tue, 19 Jul 2011, dman wrote:
> I'm trying to get some .wms info to plug into a process I have developed in
> Has anyone tried to implement "r.in.wms" via R opened within GRASS? Here is
> my swing at it.
> the error is around the maxrow, and maxcol not being integers. Is this a
> issue of using "list"? or possibly something else?
maxrows=5, maxcols=5, method="nearest")
is not correct. When GRASS wants an integer, it has to be an integer. The
command works with:
maxrows=as.integer(5), maxcols=as.integer(5), method="nearest")
maxrows=5L, maxcols=5L, method="nearest")
where 5L defines an integer constant.
a numeric constant, and
If you need WMS access directly from R, and if your GDAL is build with WMS
support, you may also be able to use readGDAL() or similar rgdal functions
Hope this helps,
> As per, your august help and guidance is much appreciated.
> View this message in context: http://r-sig-geo.2731867.n2.nabble.com/spgrass6-r-in-wms-tp6600318p6600318.html
> Sent from the R-sig-geo mailing list archive at Nabble.com.
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
Department of Economics, NHH Norwegian School of Economics,
Helleveien 30, N-5045 Bergen, Norway.
voice: +47 55 95 93 55; fax +47 55 95 95 43
e-mail: Roger.Bivand at nhh.no
More information about the R-sig-Geo