[GRASS-dev] [GRASS GIS] #3600: m.nviz.image doesn't produce any output

GRASS GIS trac at osgeo.org
Mon Jul 16 13:53:50 PDT 2018


#3600: m.nviz.image doesn't produce any output
--------------------------+-------------------------
  Reporter:  guano        |      Owner:  grass-dev@…
      Type:  defect       |     Status:  new
  Priority:  normal       |  Milestone:
 Component:  Default      |    Version:  7.0.4
Resolution:               |   Keywords:
       CPU:  Unspecified  |   Platform:  MacOSX
--------------------------+-------------------------

Comment (by hellik):

 Replying to [comment:74 hellik]:
 > Replying to [comment:72 hcho]:
 > > Confirmed that wingdi.h compiles fine on my VM. r72987 has wingdi.h
 and OGSFDEPS. Thanks for testing. Could you try to run m.nviz.image with
 your current build (reverted r72986 and added OGSFDEPS)?
 >
 > see winGRASS compilation at r72990
 [https://wingrass.fsv.cvut.cz/grass75/x86_64/logs/log-r72990-193/error.log
 log]
 >
 > {{{
 > GRASS GIS 7.5.svn r72990 compilation log
 > --------------------------------------------------
 > Started compilation: Sun Jul 15 14:58:56     2018
 > --
 > Errors in:
 > No errors detected.
 > --
 > Finished compilation: Sun Jul 15 15:34:00     2018
 > }}}
 >
 > compilation works now; output can be tested now in winGRASS

 now tested with

 {{{
 System Info
 GRASS version: 7.5.svn
 GRASS SVN revision: r72990
 Build date: 2018-07-15
 Build platform: x86_64-w64-mingw32
 GDAL: 2.2.4
 PROJ.4: 4.9.3
 GEOS: 3.5.0
 SQLite: 3.17.0
 Python: 2.7.14
 wxPython: 2.8.12.1
 Platform: Windows-10-10.0.17134 (OSGeo4W)
 }}}

 {{{
 C:\>m.nviz.image elevation_map=elevation output=D:\temp\mnviz\elev
 perspective=15
 Loading raster map <elevation at PERMANENT>...
  100%
 Loading raster map <elevation at PERMANENT>...
  100%
 Translating colors from raster map <elevation at PERMANENT>...
  100%
 WARNING: Unable to get image of current GL screen
 ERROR: Failed to write image
 }}}

 {{{
 C:\>m.nviz.image elevation_map=elevation output=D:\temp\mnviz\elev
 perspective=15 format=tif
 Loading raster map <elevation at PERMANENT>...
  100%
 Loading raster map <elevation at PERMANENT>...
  100%
 Translating colors from raster map <elevation at PERMANENT>...
  100%
 WARNING: Unable to get image of current GL screen
 ERROR: Failed to write image
 }}}

 ''g.gisenv set=DEBUG=3'' log attached

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



More information about the grass-dev mailing list