[GRASS-dev] [GRASS GIS] #3156: Cannot export GRASS raster map using r.out.png (crashes on windows)

GRASS GIS trac at osgeo.org
Sun Nov 13 13:15:30 PST 2016


#3156: Cannot export GRASS raster map using r.out.png (crashes on windows)
----------------------+---------------------------------
  Reporter:  spawley  |      Owner:  grass-dev@…
      Type:  defect   |     Status:  new
  Priority:  normal   |  Milestone:  7.0.6
 Component:  Raster   |    Version:  7.0.4
Resolution:           |   Keywords:  r.out.png, wingrass
       CPU:  x86-64   |   Platform:  MSWindows 7
----------------------+---------------------------------

Comment (by hellik):

 Replying to [comment:3 hellik]:
 > Replying to [comment:2 neteler]:
 >
 > tested by
 >
 > {{{
 > System Info
 > GRASS version: 7.2.svn
 > GRASS SVN revision: r69794
 > Build date: 2016-11-13
 > Build platform: x86_64-w64-mingw32
 > GDAL: 2.1.2
 > PROJ.4: 4.9.3
 > GEOS: 3.5.0
 > SQLite: 3.14.1
 > Python: 2.7.5
 > wxPython: 2.8.12.1
 > Platform: Windows-8-6.2.9200
 > }}}
 >

 DEBUG=3 on

 {{{
 r.out.png --verbose input=elevation at PERMANENT output=D:\dl\lz_10m\test.png
 D1/3: G_set_program_name(): r.out.png
 D2/3: G_file_name(): path =
 D:\grassdata\nc_spm_08_grass7\user1
 D3/3: G_str_to_color(): str = 'white'
 D2/3: G_file_name(): path =
 D:\grassdata\nc_spm_08_grass7\user1\WIND
 D2/3: G_file_name(): path =
 D:\grassdata\nc_spm_08_grass7\user1\WIND
 D2/3:   file open: read (mode = r)
 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.000000000000000
 D3/3: region item: bottom:     0.000000000000000
 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: rows = 1350, cols = 1500
 D1/3: G_find_raster2(): name=elevation mapset=PERMANENT
 D2/3: G_file_name(): path =
 D:\grassdata\nc_spm_08_grass7\PERMANENT\cell\elevation
 D2/3: G_file_name(): path =
 D:\grassdata\nc_spm_08_grass7\PERMANENT\cellhd\elevation
 D2/3: G_file_name(): path =
 D:\grassdata\nc_spm_08_grass7\PERMANENT\cellhd\elevation
 D2/3:   file open: read (mode = r)
 D2/3: G_file_name(): path =
 D:\grassdata\nc_spm_08_grass7\PERMANENT\cellhd\elevation
 D2/3: G_file_name(): path =
 D:\grassdata\nc_spm_08_grass7\PERMANENT\cellhd\elevation
 D2/3:   file open: read (mode = r)
 D2/3: G_file_name(): path =
 D:\grassdata\nc_spm_08_grass7\PERMANENT\cellhd\elevation
 D2/3: G_file_name(): path =
 D:\grassdata\nc_spm_08_grass7\PERMANENT\cellhd\elevation
 D2/3:   file open: read (mode = r)
 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: format:     -1
 D3/3: region item: compressed: 1
 D1/3: G_find_raster2(): name=elevation mapset=PERMANENT
 D2/3: G_file_name(): path =
 D:\grassdata\nc_spm_08_grass7\PERMANENT\cell\elevation
 D2/3: G_file_name(): path =
 D:\grassdata\nc_spm_08_grass7\PERMANENT\fcell\elevation
 D1/3: G_find_raster2(): name=elevation mapset=PERMANENT
 D2/3: G_file_name(): path =
 D:\grassdata\nc_spm_08_grass7\PERMANENT\cell\elevation
 D2/3: G_file_name(): path = D:\grassdata\nc_spm_08_grass7\PE
 RMANENT\cell_misc\elevation\f_format
 D1/3: G_find_raster2(): name=elevation mapset=PERMANENT
 D2/3: G_file_name(): path =
 D:\grassdata\nc_spm_08_grass7\PERMANENT\cell\elevation
 D1/3: G_find_raster2(): name=elevation mapset=PERMANENT
 D2/3: G_file_name(): path =
 D:\grassdata\nc_spm_08_grass7\PERMANENT\cell\elevation
 D2/3: G_file_name(): path =
 D:\grassdata\nc_spm_08_grass7\PERMANENT\fcell\elevation
 D1/3: G_find_raster2(): name=elevation mapset=PERMANENT
 D2/3: G_file_name(): path =
 D:\grassdata\nc_spm_08_grass7\PERMANENT\cell\elevation
 D2/3: G_file_name(): path = D:\grassdata\nc_spm_08_grass7\PE
 RMANENT\cell_misc\elevation\f_format
 D2/3: G_file_name(): path = D:\grassdata\nc_spm_08_grass7\PE
 RMANENT\cell_misc\elevation\gdal
 D2/3: G_file_name(): path =
 D:\grassdata\nc_spm_08_grass7\PERMANENT\fcell\elevation
 D2/3: G_file_name(): path =
 D:\grassdata\nc_spm_08_grass7\PERMANENT\fcell\elevation
 D3/3: create window mapping (1500 columns)
 D1/3: G_find_raster2(): name=elevation mapset=PERMANENT
 D2/3: G_file_name(): path =
 D:\grassdata\nc_spm_08_grass7\PERMANENT\cell\elevation
 D2/3: G_file_name(): path =
 D:\grassdata\nc_spm_08_grass7\PERMANENT\fcell\elevation
 D1/3: G_find_raster2(): name=elevation mapset=PERMANENT
 D2/3: G_file_name(): path =
 D:\grassdata\nc_spm_08_grass7\PERMANENT\cell\elevation
 D2/3: G_file_name(): path = D:\grassdata\nc_spm_08_grass7\PE
 RMANENT\cell_misc\elevation\f_format
 D2/3: G_file_name(): path = D:\grassdata\nc_spm_08_grass7\us
 er1\quant2/PERMANENT\elevation
 D2/3: G_file_name(): path = D:\grassdata\nc_spm_08_grass7\PE
 RMANENT\cell_misc\elevation\f_quant
 D2/3: G_file_name(): path = D:\grassdata\nc_spm_08_grass7\PE
 RMANENT\cell_misc\elevation\f_quant
 D2/3: G_file_name(): path = D:\grassdata\nc_spm_08_grass7\PE
 RMANENT\cell_misc\elevation\null
 D2/3: G_file_name(): path = D:\grassdata\nc_spm_08_grass7\PE
 RMANENT\cell_misc\elevation\null
 D1/3: G_find_raster(): name=MASK mapset=user1
 D2/3: G_file_name(): path =
 D:\grassdata\nc_spm_08_grass7\user1\cell\MASK
 Converting <elevation at PERMANENT>...
 D1/3: G_find_raster2(): name=elevation at PERMANENT mapset=
 D2/3: G_file_name(): path =
 D:\grassdata\nc_spm_08_grass7\PERMANENT\cell\elevation
 D2/3: G_file_name(): path =
 D:\grassdata\nc_spm_08_grass7\PERMANENT\fcell\elevation
 D1/3: G_find_raster(): name=elevation at PERMANENT mapset=
 D2/3: G_file_name(): path =
 D:\grassdata\nc_spm_08_grass7\PERMANENT\cell\elevation
 D2/3: G_file_name(): path = D:\grassdata\nc_spm_08_grass7\us
 er1\colr2/PERMANENT\elevation
 D2/3: G_file_name(): path =
 D:\grassdata\nc_spm_08_grass7\PERMANENT\colr\elevation
 D2/3: G_file_name(): path =
 D:\grassdata\nc_spm_08_grass7\PERMANENT\colr\elevation
 D2/3:   file open: read (mode = r)
 D3/3: adding rule 55=55.58 0 191 191  75=75.73 0 255 0
 D3/3: adding rule 75=75.73 0 255 0  95=95.88 255 255 0
 D3/3: adding rule 95=95.88 255 255 0  116=116.03 255 127 0
 D3/3: adding rule 116=116.03 255 127 0  136=136.18 191 127
 63
 D3/3: adding rule 136=136.18 191 127 63  156=156.33 20 20 20
 }}}

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3156#comment:4>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list