[GRASS GIS] #370: nviz_cmd produces images with 1 pixel size

8 messages Options
Embed this post
Permalink
GRASS GIS

[GRASS GIS] #370: nviz_cmd produces images with 1 pixel size

Reply Threaded More More options
Print post
Permalink
#370: nviz_cmd produces images with 1 pixel size
-----------------------------------+----------------------------------------
 Reporter:  jachym                 |       Owner:  [hidden email]
     Type:  defect                 |      Status:  new                      
 Priority:  minor                  |   Milestone:                          
Component:  NVIZ                   |     Version:  svn-trunk                
 Keywords:  commandline, nviz_cmd  |    Platform:  Linux                    
      Cpu:  x86-32                 |  
-----------------------------------+----------------------------------------
 Testing new nviz_cmd, it produces only image of 1x1 size:

 {{{
 GRASS 7.0.svn (spearfish60):~ > nviz_cmd color_map=elevation.dem
 elevation_map=elevation.dem output=image

 Loading raster map <elevation.dem@PERMANENT>...
 Loading raster map <elevation.dem@PERMANENT>...
 Translating colors from raster map <elevation.dem@PERMANENT>...
 Vertical exaggeration not given, using calculated value 1
 Viewpoint height not given, using calculated value 10561
 nviz_cmd complete. File <image.ppm> created.


 GRASS 7.0.svn (spearfish60):~ > identify image.ppm
 image.ppm PNM 1x1 1x1+0+0 DirectClass 8-bit 14b
 }}}

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

_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
GRASS GIS

Re: [GRASS GIS] #370: nviz_cmd produces images with 1 pixel size

Reply Threaded More More options
Print post
Permalink
#370: nviz_cmd produces images with 1 pixel size
---------------------+------------------------------------------------------
  Reporter:  jachym  |       Owner:  [hidden email]
      Type:  defect  |      Status:  new                      
  Priority:  minor   |   Milestone:  6.4.0                    
 Component:  NVIZ    |     Version:  svn-trunk                
Resolution:          |    Keywords:  commandline, nviz_cmd    
  Platform:  Linux   |         Cpu:  x86-32                  
---------------------+------------------------------------------------------
Changes (by hamish):

  * milestone:  => 6.4.0

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/370#comment:1>
GRASS GIS <http://grass.osgeo.org>

_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
GRASS GIS

Re: [GRASS GIS] #370: nviz_cmd produces images with 1 pixel size

Reply Threaded More More options
Print post
Permalink
In reply to this post by GRASS GIS
#370: nviz_cmd produces images with 1 pixel size
---------------------+------------------------------------------------------
  Reporter:  jachym  |       Owner:  [hidden email]
      Type:  defect  |      Status:  new                      
  Priority:  minor   |   Milestone:  7.0.0                    
 Component:  NVIZ    |     Version:  svn-trunk                
Resolution:          |    Keywords:  commandline, nviz_cmd    
  Platform:  Linux   |         Cpu:  x86-32                  
---------------------+------------------------------------------------------
Changes (by martinl):

  * milestone:  6.4.0 => 7.0.0

Comment:

 nviz_cmd seems to work on my machine (grass6/grass7).

 {{{
 g.region rast=elevation.dem
 nviz_cmd color_map=elevation.dem elevation_map=elevation.dem output=image
 identify image.ppm
 image.ppm PNM 640x480 640x480+0+0 DirectClass 8-bit 900.014kb 0.070u 0:02
 }}}

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/370#comment:2>
GRASS GIS <http://grass.osgeo.org>

_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
GRASS GIS

Re: [GRASS GIS] #370: nviz_cmd produces images with 1 pixel size

Reply Threaded More More options
Print post
Permalink
In reply to this post by GRASS GIS
#370: nviz_cmd produces images with 1 pixel size
---------------------+------------------------------------------------------
  Reporter:  jachym  |       Owner:  [hidden email]
      Type:  defect  |      Status:  new                      
  Priority:  minor   |   Milestone:  7.0.0                    
 Component:  NVIZ    |     Version:  svn-trunk                
Resolution:          |    Keywords:  commandline, nviz_cmd    
  Platform:  Linux   |         Cpu:  x86-32                  
---------------------+------------------------------------------------------
Comment (by hamish):

 {{{
 G64> g.region rast=elevation.dem
 G64> nviz_cmd color_map=elevation.dem elevation_map=elevation.dem
 output=image
 X Error of failed request:  GLXBadContext
   Major opcode of failed request:  143 (GLX)
   Minor opcode of failed request:  5 (X_GLXMakeCurrent)
   Serial number of failed request:  24
   Current serial number in output stream:  24
 }}}


 ?
 H

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/370#comment:3>
GRASS GIS <http://grass.osgeo.org>

_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
GRASS GIS

Re: [GRASS GIS] #370: nviz_cmd produces images with 1 pixel size

Reply Threaded More More options
Print post
Permalink
In reply to this post by GRASS GIS
#370: nviz_cmd produces images with 1 pixel size
---------------------+------------------------------------------------------
  Reporter:  jachym  |       Owner:  [hidden email]
      Type:  defect  |      Status:  new                      
  Priority:  minor   |   Milestone:  6.4.0                    
 Component:  NVIZ    |     Version:  svn-trunk                
Resolution:          |    Keywords:  commandline, nviz_cmd    
  Platform:  Linux   |         Cpu:  x86-32                  
---------------------+------------------------------------------------------
Changes (by martinl):

  * milestone:  7.0.0 => 6.4.0

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

_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
GRASS GIS

Re: [GRASS GIS] #370: nviz_cmd produces images with 1 pixel size

Reply Threaded More More options
Print post
Permalink
In reply to this post by GRASS GIS
#370: nviz_cmd produces images with 1 pixel size
---------------------+------------------------------------------------------
  Reporter:  jachym  |       Owner:  [hidden email]
      Type:  defect  |      Status:  new                      
  Priority:  minor   |   Milestone:  6.4.0                    
 Component:  wxGUI   |     Version:  svn-trunk                
Resolution:          |    Keywords:  commandline, nviz_cmd    
  Platform:  Linux   |         Cpu:  x86-32                  
---------------------+------------------------------------------------------
Changes (by cmbarton):

  * component:  NVIZ => wxGUI

Comment:

 Probably better looked at with other wxPython issues rather than old NVIZ
 (TclTk and C++) issues.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/370#comment:5>
GRASS GIS <http://grass.osgeo.org>

_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
GRASS GIS

Re: [GRASS GIS] #370: nviz_cmd produces images with 1 pixel size

Reply Threaded More More options
Print post
Permalink
In reply to this post by GRASS GIS
#370: nviz_cmd produces images with 1 pixel size
---------------------+------------------------------------------------------
  Reporter:  jachym  |       Owner:  [hidden email]
      Type:  defect  |      Status:  new                      
  Priority:  minor   |   Milestone:  6.4.0                    
 Component:  NVIZ    |     Version:  svn-trunk                
Resolution:          |    Keywords:  commandline, nviz_cmd    
  Platform:  Linux   |         Cpu:  x86-32                  
---------------------+------------------------------------------------------
Changes (by martinl):

  * component:  wxGUI => NVIZ

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/370#comment:6>
GRASS GIS <http://grass.osgeo.org>

_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
GRASS GIS

Re: [GRASS GIS] #370: nviz_cmd produces images with 1 pixel size

Reply Threaded More More options
Print post
Permalink
In reply to this post by GRASS GIS
#370: nviz_cmd produces images with 1 pixel size
---------------------+------------------------------------------------------
  Reporter:  jachym  |       Owner:  [hidden email]
      Type:  defect  |      Status:  new                      
  Priority:  minor   |   Milestone:  6.4.0                    
 Component:  NVIZ    |     Version:  svn-trunk                
Resolution:          |    Keywords:  commandline, nviz_cmd    
  Platform:  Linux   |         Cpu:  x86-32                  
---------------------+------------------------------------------------------
Comment (by helena):

 is this still valid ? It works for me in grass65, mybe it applies only to
 grass7 and milestone should be changed then?

 nviz_cmd JRxytz9908_4mt60_00006 mode=fine resolution_fine=1
 output=jr3d_nvizcmdtest format=tif size=300,300

 GRASS 6.5.svn > gdalinfo jr3d_nvizcmdtest.tif

 Driver: GTiff/GeoTIFF
 Files: jr3d_nvizcmdtest.tif
 Size is 300, 300

 the result is the same with ppm format

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/370#comment:7>
GRASS GIS <http://grass.osgeo.org>

_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev