[GRASS-dev] [GRASS GIS] #2350: G7: r.texture large file support problem

GRASS GIS trac at osgeo.org
Wed Jun 25 06:37:45 PDT 2014


#2350: G7: r.texture large file support problem
----------------------------+-----------------------------------------------
 Reporter:  neteler         |       Owner:  grass-dev@…              
     Type:  defect          |      Status:  new                      
 Priority:  normal          |   Milestone:  7.0.0                    
Component:  Raster          |     Version:  unspecified              
 Keywords:  LFS, r.texture  |    Platform:  Linux                    
      Cpu:  x86-64          |  
----------------------------+-----------------------------------------------
 There seems to be a large file support issue under certain (?)
 circumstances:

 {{{
 # Scientific Linux, 64bit:

 # region size: 156044800 cells
 r.texture input=pca_43140.1 prefix=pca_43140.1 \
   size=9 distance=1 method=asm,se,var
 ...
 Reading raster map...
 Calculating 3 texture measures

 WARNING: Unable to rename null file
          '/grassdata/patUTM32/alba_classification/.tmp/blade21/2161.1' to
 '/grassdata/patUTM32/alba_classification/cell_misc/x43140_2006_pca.1_ASM/null'
 WARNING: Unable to rename cell file
          '/grassdata/patUTM32/alba_classification/.tmp/blade21/2161.0' to
 '/grassdata/patUTM32/alba_classification/fcell/x43140_2006_pca.1_ASM'
 WARNING: Unable to write quant rules: raster map <x43140_2006_pca.1_ASM>
 is
          integer
 WARNING: Unable to rename null file
          '/grassdata/patUTM32/alba_classification/.tmp/blade21/2161.3' to
 '/grassdata/patUTM32/alba_classification/cell_misc/x43140_2006_pca.1_Var/null'
 WARNING: Unable to rename cell file
          '/grassdata/patUTM32/alba_classification/.tmp/blade21/2161.2' to
 '/grassdata/patUTM32/alba_classification/fcell/x43140_2006_pca.1_Var'
 WARNING: Unable to write quant rules: raster map <x43140_2006_pca.1_Var>
 is
          integer
 WARNING: Unable to rename null file
          '/grassdata/patUTM32/alba_classification/.tmp/blade21/2161.5' to
 '/grassdata/patUTM32/alba_classification/cell_misc/x43140_2006_pca.1_SE/null'
 WARNING: Unable to rename cell file
          '/grassdata/patUTM32/alba_classification/.tmp/blade21/2161.4' to
 '/grassdata/patUTM32/alba_classification/fcell/x43140_2006_pca.1_SE'
 WARNING: Unable to write quant rules: raster map <x43140_2006_pca.1_SE> is
          integer
 }}}

 Result (failure):

 {{{
 r.info x43140_2006_pca.1_ASM
  +----------------------------------------------------------------
  | Layer:    x43140_2006_pca.1_ASM          Date: Tue Jun 24 17:17:35 2014
  | Mapset:   alba_classification            Login of Creator: lucadelu
  | Location: patUTM32
 ...
  |
  |   Type of Map:  raster               Number of Categories: 0
  |   Data Type:    CELL
  |   Rows:         11680
  |   Columns:      13360
  |   Total Cells:  156044800
  |        Projection: UTM (zone 32)
  |            N: 5124056.897747    S: 5118216.897747 Res:   0.5
  |            E: 667131.354793    W: 660451.354793   Res:   0.5
  |   Range of data:    min = -2147483648  max = -2147483648
 ...
 }}}

 Using a different machine, it worked fine:

 {{{
 # Ubuntu 14 64 bit machine:

 GRASS 7.0.0svn (Trento-landchange):~ > r.info pca_43140.1_ASM
  +--------------------------------------------------------------
  | Layer:    pca_43140.1_ASM                Date: Wed Jun 25 15:04:01 2014
  ...
   | Title:     ( pca_43140.1_ASM )
  ...
  |   Type of Map:  raster               Number of Categories: 0
  |   Data Type:    FCELL
  |   Rows:         11680
  |   Columns:      13360
  |   Total Cells:  156044800
  |        Projection: UTM (zone 32)
  |            N: 5124056.897747    S: 5118216.897747 Res:   0.5
  |            E: 667131.354793    W: 660451.354793   Res:   0.5
  |   Range of data:    min = 0.00737847  max = 1
 ...
 }}}

 I am not sure what to look for now, suggestions?

 Is r.texture supporting LFS?

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/2350>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list