[GRASS-user] wms trouble

Hello!

I am trying to follow the tutorial on:
http://grass.osgeo.org/wiki/WMS

but when I try : r.in.wms output=akl_srtm mapserver=“http://onearth.jpl.nasa.gov/wms.cgi” -c layers=worldwind_dem format=geotiff style=short_int maxcols=1600 maxrows=1600

I get:
akl_srtm__0.geotiff’ not recognised as a supported file format.

ERROR: r.in.gdalwarp: gdalwarp failure.
ERROR: r.in.gdalwarp failed

It seems this could be related to having different versions installed - so I removed my svn installation (6.4.3) - following: http://grass.osgeo.org/wiki/Compile_and_Install_Ubuntu

reinstalled with apt-get install grass.

Still - same problem. Can someone help?

Martin

I don’t know r.in.wms very well, nor do I know your data, but there’s some kind of a parse problem going on - rather than finding data in GeoTiFF format, GRASS thinks it’s finding data in “akl_srtm__0.geotiff” format, which doesn’t exist. Looks like it’s parsing part of the name into the format

···

Am 25. April 2012 12:58 schrieb Martin Album Ytre-Eide <Martin.Album.Ytre-Eide@nrpa.no>:

Hello!

I am trying to follow the tutorial on:
http://grass.osgeo.org/wiki/WMS

but when I try : r.in.wms output=akl_srtm mapserver=“http://onearth.jpl.nasa.gov/wms.cgi” -c layers=worldwind_dem format=geotiff style=short_int maxcols=1600 maxrows=1600

I get:
akl_srtm__0.geotiff’ not recognised as a supported file format.

ERROR: r.in.gdalwarp: gdalwarp failure.
ERROR: r.in.gdalwarp failed

It seems this could be related to having different versions installed - so I removed my svn installation (6.4.3) - following: http://grass.osgeo.org/wiki/Compile_and_Install_Ubuntu

reinstalled with apt-get install grass.

Still - same problem. Can someone help?

Martin


grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Hi,

2012/4/25 Martin Album Ytre-Eide <Martin.Album.Ytre-Eide@nrpa.no>:

I am trying to follow the tutorial on:
http://grass.osgeo.org/wiki/WMS

but when I try : r.in.wms output=akl_srtm
mapserver="http://onearth.jpl.nasa.gov/wms.cgi&quot; -c layers=worldwind_dem
format=geotiff style=short_int maxcols=1600 maxrows=1600

I get:
akl_srtm__0.geotiff' not recognised as a supported file format.

ERROR: r.in.gdalwarp: gdalwarp failure.
ERROR: r.in.gdalwarp failed

probably you could try `r.in.wms2` from addons (GRASS 7) [1]. Anyway
currently `onearth.jpl.nasa.gov` doesn't support full WMS services
[2]. It would require to implement support for tiled WMS (in
`r.in.wms2` which should replace original `r.in.wms` in G7).

Martin

[1] http://trac.osgeo.org/grass/browser/grass-addons/grass7/raster/r.in.wms2
[2] http://onearth.jpl.nasa.gov/
--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa