[GRASS-user] r.in.wms2: should this work on GRASS 6.4.3RC3?

Hamish hamish_b at yahoo.com
Tue Jul 2 01:37:39 PDT 2013


> I installed xml2 and can now partially run r.in.wms from
> the Command console,
> but it appears to get stuck calculating tiles:
> r.in.wms output=MOD_LSTD_CLIM_E
> mapserver=http://neowms.sci.gsfc.nasa.gov/wms/wms? layers=MOD_LSTD_CLIM_E
> format=geotiff maxcols=1024 maxrows=1024 method=nearest
> Calculating tiles
> I can see a  0 byte file in the LOCATION's .tmp directory.

also look in &/or clear out files in ~/grassdata/wms_download/.
For me the instead of a PNG image the file actually contains
WMS XML capabilities with little indication of what was wrong
that I could see. for debug you get a .wget file in the
wms_download/ cache directory with the tile's raw download

it's quite frustrating to support WMS, every WMS server likes
to respond to query failures in its own different and unique

> In GRASS7 I can download the capabilities document, but not
> any layer, running from GRASS' Command console in the Layer
> Manager.

fwiw in qgis 1.8.0 I could get that server to return data, but
something wasn't quite right with the positioning.

I believe the grass 7 version lets you try a number of different
methods? maybe more luck with something other than the default.


More information about the grass-user mailing list