This issue have been discussed on the dev-list without solution as far as I can say. see an example: ************************************** > same command I got a somewhat different error
# skipped region setting r.in.wms output=terraserver-drg mapserver=http://terraserver.microsoft.com/ogcmap6.ashx layers=DRG format=tiff > All tiles downloaded successfully > ################################# > r.in.gdalwarp -c 'input=/Users/Shared/grassdata/wms_download/ . > ERROR 1: TIFFFetchDirectory:/Users/Shared/grassdata/wms_download/ > terraserver-drg_rural_1m_0.tiff: Can not read TIFF directory count > ERROR 1: TIFFReadDirectory:/Users/Shared/grassdata/wms_download/ > terraserver-drg_rural_1m_0.tiff: Failed to read directory at offset 0 > ERROR 4: `/Users/Shared/grassdata/nc_spm_05/user1/.tmp/ > regadiuet.prearq.uv.es/16540.0warped.geotiff' does not exist in the > file system, > and is not recognised as a supported dataset name. same here, downloaded TIFF contains junk: (903K binary file) $ tiffinfo wms_download/terraserver-drg__0.tiff TIFFReadDirectory: wms_download/terraserver-drg__0.tiff: Can not read TIFF directory count. $ gdalinfo wms_download/terraserver-drg__0.tiff ERROR 1: TIFFReadDirectory:wms_download/terraserver-drg__0.tiff: Can not read TIFF directory count GDALOpen failed - 1 TIFFReadDirectory:wms_download/terraserver-drg__0.tiff: Can not read TIFF directory count ********* So the problem is not new. I'm wondering if somebody can use r.in.wms in consistent basis. I've only been able to reproduce some of the manual entries, when trying with other wms servers working in,for instance, Qqis I got different errors, see above. > I cannot get r.in.wms into getting me a wms layer imported. The projection settings match, the layer is avaible for the region. Am I doing something wrong? > > Input: > r.in.wms -kp mapserver=http://wms.jpl.nasa.gov/wms.cgi output=bmng.wms.jul layers=BMNG styles=Jul > > output: > wms.request -p 'folder=/home/mate/wms_download' 'prefix=wms.bmng.jul'\ > 'mapserver=http://wms.jpl.nasa.gov/wms.cgi' 'layers=BMNG' 'styles=Jul' \ > 'srs=EPSG:4326' 'format=geotiff' 'wmsquery=version=1.1.1' 'maxcols=1024'\ > 'maxrows=1024' > ############################### > Calculating tiles > ############################### > /usr/lib/grass/etc/r.in.wms//wms.request: 326: SIZE_ARRAY[0]=: not found > /usr/lib/grass/scripts/r.tileset: 193: declare: not found > /usr/lib/grass/scripts/r.tileset: 258: Syntax error: Bad for loop variable > ################################### > Requesting 0 tiles! > ################################### > wms.download 'requestfile=/home/mate/wms_download/wms.bmng.jul_.wget' 'wgetoptions=-c -t 5 --user-agent=MSIE5.5' > ############################### > Downloading tiles > ############################### > ################################# > All tiles downloaded successfully > ################################# > r.in.gdalwarp -c -k -p 'output=wms.bmng.jul' 'method=nearest' 's_srs=EPSG:4326' > > ERROR: Required parameter <input> not set: > (Raster file or files to be imported. If multiple files are specified they will be patched together.). > > -- > Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! > Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer > > _______________________________________________ > grassuser mailing list > [email protected] > http://grass.itc.it/mailman/listinfo/grassuser > > _______________________________________________ grassuser mailing list [email protected] http://grass.itc.it/mailman/listinfo/grassuser

