[GRASS-dev] Re: [GRASS GIS] #1006: r.terraflow fails to create temp file on Windows when launched from wxgui

GRASS GIS trac at osgeo.org
Sun Mar 28 14:22:33 EDT 2010


#1006: r.terraflow fails to create temp file on Windows when launched from wxgui
------------------------------+---------------------------------------------
  Reporter:  marisn           |       Owner:  grass-dev at lists.osgeo.org 
      Type:  defect           |      Status:  new                       
  Priority:  major            |   Milestone:  6.4.0                     
 Component:  Raster           |     Version:  svn-releasebranch64       
Resolution:                   |    Keywords:  wxgui, wingrass, terraflow
  Platform:  MSWindows Vista  |         Cpu:  x86-32                    
------------------------------+---------------------------------------------
Comment (by hellik):

 Replying to [comment:17 hamish]:
 > could you try r.in.bin? it also uses stat()'s .st_size.

 I'm not at my laptop at the moment, so I've tried WinGRASS-6.5.SVN-
 r41581-1-Setup.exe on a WinVista32-box with the nc-dataset:

 {{{
 r.out.bin -h --verbose input=elevation at PERMANENT
 output=J:\wd\grassoutbin\elevroutbin3.bin
 }}}

 {{{
 r.in.bin -h input=J:\wd\grassoutbin\elevroutbin3.bin output=elevrinbin
 bytes=4
 D2/3: G__read_Cell_head
 D2/3: G__read_Cell_head_array
 D3/3: region item: proj:       99
 D3/3: region item: zone:       0
 D3/3: region item: north:      228500
 D3/3: region item: south:      215000
 D3/3: region item: east:       645000
 D3/3: region item: west:       630000
 D3/3: region item: cols:       1500
 D3/3: region item: rows:       1350
 D3/3: region item: e-w resol:  10
 D3/3: region item: n-s resol:  10
 D3/3: region item: top:        1
 D3/3: region item: bottom:     0
 D3/3: region item: cols3:      1500
 D3/3: region item: rows3:      1350
 D3/3: region item: depths:     1
 D3/3: region item: e-w resol3: 10
 D3/3: region item: n-s resol3: 10
 D3/3: region item: t-b resol:  1
 D1/3: Creating support files for elevrinbin
 D1/3: close elevrinbin compressed
 D3/3: G_recreate_command()
 }}}

 import with r.in.bin is working

 {{{
 +----------------------------------------------------------------------------+
  | Layer:    elevrinbin at user1               Date: Sun Mar 28 20:14:13 2010
 |
  | Mapset:   user1                          Login of Creator: normal
 |
  | Location: nc_spm_07
 |
  | DataBase: J:\gisdata
 |
  | Title:     ( elevrinbin )
 |
  | Timestamp: none
 |
 |----------------------------------------------------------------------------|
  |
 |
  |   Type of Map:  raster               Number of Categories: 1125930098
 |
  |   Data Type:    CELL
 |
  |   Rows:         1350
 |
  |   Columns:      1500
 |
  |   Total Cells:  2025000
 |
  |        Projection: Lambert Conformal Conic
 |
  |            N:     228500    S:     215000   Res:    10
 |
  |            E:     645000    W:     630000   Res:    10
 |
  |   Range of data:    min = 1113477295  max = 1125930098
 |
  |
 |
  |   Data Description:
 |
  |    generated by r.in.bin
 |
  |
 |
  |   Comments:
 |
  |    r.in.bin -h input="J:\wd\grassoutbin\elevroutbin3.bin"
 output="elevr\   |
  |    inbin" bytes=4
 |
  |
 |
 +----------------------------------------------------------------------------+
 }}}

 Helmut

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/1006#comment:18>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list