[GRASS-dev] wms in wxgrass?

Hamish hamish_nospam at yahoo.com
Fri Jun 1 19:39:36 EDT 2007


Agustin Diez Castillo wrote:
> 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


Hamish




More information about the grass-dev mailing list