[GRASS-dev] limits of r.patch

Helmut Kudrnovsky hellik at web.de
Tue Jul 17 07:29:54 PDT 2012


hi,

>r.external input=/home/leomarg/Desktop/aster/mosaic.vrt output=mosaic
>
>Projection of input dataset and current location appear to match
>Importing band 1 of 1...
>ERROR 4: `ASTGTM_N33E000_dem_lzw.tif' does not exist in the file system,
>and is not recognised as a supported dataset name.



tested here with srtm-tiles for whole europe:

the tiles are in subfolders

C:\data\gisdata\srtm412011\srtm_35_03
C:\data\gisdata\srtm412011\srtm_36_04
[...]

the virtual dataset file is in 

C:\data\gisdata\srtm412011

the link to the tiles within the vrt-file

[...]
<ComplexSource>
      <SourceFilename
relativeToVRT="1">srtm_35_03\srtm_35_03.tif</SourceFilename>
      <SourceBand>1</SourceBand>
      <SourceProperties RasterXSize="6000" RasterYSize="6000"
DataType="Int16" BlockXSize="6000" BlockYSize="1"/>
      <SrcRect xOff="0" yOff="0" xSize="6000" ySize="6000"/>
      <DstRect xOff="0" yOff="12000" xSize="6000" ySize="6000"/>
      <NODATA>-32768</NODATA>
    </ComplexSource>
[...]

link with r.external is ok:

 r.external --verbose input=C:\data\gisdata\srtm412011\srtm41.vrt
output=linkedsrtm2
 Die Projektionsinformationen des Eingabedatensatzes und der aktuellen
Location scheinen   übereinzustimmen.
 Fahre mit dem Import fort...
 Importing band 1 of 1...
 Erstelle Graustufen Farbtabelle für <linkedsrtm2> (Datenspanne).
 Erstelle Support-Dateien für <linkedsrtm2>.
 Link zur Rasterkarte <linkedsrtm2> erzeugt

r.info map=linkedsrtm2 at srtm                                                     

+----------------------------------------------------------------------------+
 | Layer:    linkedsrtm2 at srtm               Date: Tue Jul 17 16:22:03 2012   
|
 | Mapset:   srtm                           Login of Creator: myricaria      
|
 | Location: uwdwgs84                                                        
|
 | DataBase: \grassdata                                                      
|
 | Title:     ( linkedsrtm2 )                                                
|
 | Timestamp: none                                                           
|

|----------------------------------------------------------------------------|
 |                                                                           
|
 |   Type of Map:  raster               Number of Categories: 0              
|
 |   Data Type:    CELL                                                      
|
 |   Rows:         24000                                                     
|
 |   Columns:      48000                                                     
|
 |   Total Cells:  1152000000                                                
|
 |        Projection: Längen- und Breitengrad                                
|
 |            N:        60N    S:        40N   Res: 0:00:03                  
|
 |            E:        30E    W:        10W   Res: 0:00:03                  
|
 |   Range of data:    min = -444  max = 4783                                
|
 |                                                                           
|
 |   Data Description:                                                       
|
 |    generated by r.external                                                
|
 |                                                                           
|
 |   Comments:                                                               
|
 |    r.external input="C:\data\gisdata\srtm412011\srtm41.vrt" output="lin\  
|
 |    kedsrtm2"                                                              
|
 |                                                                           
|

+----------------------------------------------------------------------------+


could it be a path issue on your side?


> gdalbuildvrt -input_file_list
> /home/leomarg/Desktop/aster/elenco_aster_europa \
> /home/leomarg/Desktop/aster/mosaic.vrt 



-----
best regards
Helmut
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/limits-of-r-patch-tp4988265p4988827.html
Sent from the Grass - Dev mailing list archive at Nabble.com.


More information about the grass-dev mailing list