[GRASS-user] r.in.onearth

lanczos at t-zones.sk lanczos at t-zones.sk
Wed Aug 30 18:46:47 EDT 2006


Trying to use the r.in.onearth on the way like below:

r.in.onearth -l output=landsat_tm_7 file=/tmp/test tmband=visual 'wgetopt=-t 0' 

I got the error message like below (see the output in the P.S.) The Grass is 6.3.CVS from 20.8.2006, compiled on Ubuntu 6.06.

What's wrong - something with Gdal, the wget or is it a bug of the r.in.onearth?

Thanks

Tomas

p.s. the output:

=======================================================
Will download and import LandsatTM Data with band visual
=======================================================
 
 
************** DOWNLOAD DATA ****************
Requesting Data from http://wms.jpl.nasa.gov/wms.cgi
--00:41:52--  http://wms.jpl.nasa.gov/wms.cgi
           => `/home/tomas/grassdata/srtm40_03/tomas/.tmp/tomas/10568.0/Image_global_mosaic_base_visual_6019_12020'
Resolving wms.jpl.nasa.gov... 137.78.11.25
Connecting to wms.jpl.nasa.gov|137.78.11.25|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/vnd.ogc.se_xml]

    0K                                                           7.21 MB/s

00:41:54 (7.21 MB/s) - `/home/tomas/grassdata/srtm40_03/tomas/.tmp/tomas/10568.0/Image_global_mosaic_base_visual_6019_12020' saved [325]

Downloaded file is not a GeoTiff file, but will try to import
************** CHECK DATA *****************
ERROR 4: `/home/tomas/grassdata/srtm40_03/tomas/.tmp/tomas/10568.0/Image_global_mosaic_base_visual_6019_12020' not recognised as a supported file format.

GDALOpen failed - 4
`/home/tomas/grassdata/srtm40_03/tomas/.tmp/tomas/10568.0/Image_global_mosaic_base_visual_6019_12020' not recognised as a supported file format.

ERROR 4: `/home/tomas/grassdata/srtm40_03/tomas/.tmp/tomas/10568.0/Image_global_mosaic_base_visual_6019_12020' not recognised as a supported file format.

GDALOpen failed - 4
`/home/tomas/grassdata/srtm40_03/tomas/.tmp/tomas/10568.0/Image_global_mosaic_base_visual_6019_12020' not recognised as a supported file format.

!-------------------BREAK---------------------!
Downloaded file is not supported by gdal, or cannot be imported
File of Type:  XML document text
 
Message from Server http://wms.jpl.nasa.gov/wms.cgi
 
!------------BEGIN-ERROR-MESSGAE--------------!
<?xml version='1.0' encoding="UTF-8" standalone="no" ?>
<!DOCTYPE ServiceExceptionReport SYSTEM "http://www.digitalearth.gov/wmt/xml/exception_1_1_0.dtd ">
<ServiceExceptionReport version="1.1.0">
  <ServiceException>
    Requested image is too wide, max allowed width is 4096
  </ServiceException>
</ServiceExceptionReport>
!-------------END-ERROR-MESSGAE---------------!
 
 
========
Finished
========




More information about the grass-user mailing list