[GRASS-user] Re: r.in.wms bug (rchirgwin@ozemail.com.au)

Richard Chirgwin rchirgwin at ozemail.com.au
Tue Feb 26 23:16:34 EST 2008


Some progress on this, but I suspect there's something "under the 
covers" that somebody needs to know about.

The r.in.wms documentation says:
*r.in.wms* [-*ldockp*] [*output*=/string/] *mapserver*=/string/ 
[*layers*=/string/[,/string/,...]] [*styles*=/string/[,/string/,...]] 
[*srs*=/string/] *format*=/string/ [*wmsquery*=/string/] 
*maxcols*=/integer/ *maxrows*=/integer/ [*tileoptions*=/string/] 
[*region*=/string/] [*folder*=/string/] [*wgetoptions*=/string/] 
[*curloptions*=/string/] *method*=/string/ [*v*=/integer/] 
[--*overwrite*] [--*verbose*] [--*quiet*]


Note that "mapserver" appears before layers. If I use this syntax, I get:
ERROR: Required parameter <layers> not set:
    (Layers to request from map server).

However, if I reverse the order of the mapserver and the layers:
r.in.wms output=Background layers=psma:all mapserver=<URL>

- then things work okay. So is it an error in the documentation, or has 
a more recent release changed the r.in.wms script?

Richard


More information about the grass-user mailing list