GDAL
November 19, 2008, 5:25pm
1
#370: nviz_cmd produces images with 1 pixel size
-----------------------------------+----------------------------------------
Reporter: jachym | Owner: grass-dev@lists.osgeo.org
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 >
GDAL
December 15, 2008, 4:10am
2
#370: nviz_cmd produces images with 1 pixel size
---------------------+------------------------------------------------------
Reporter: jachym | Owner: grass-dev@lists.osgeo.org
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 >
GDAL
December 15, 2008, 9:53am
3
#370: nviz_cmd produces images with 1 pixel size
---------------------+------------------------------------------------------
Reporter: jachym | Owner: grass-dev@lists.osgeo.org
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 >
GDAL
December 15, 2008, 9:56am
4
#370: nviz_cmd produces images with 1 pixel size
---------------------+------------------------------------------------------
Reporter: jachym | Owner: grass-dev@lists.osgeo.org
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 >
GDAL
December 15, 2008, 10:06am
5
#370: nviz_cmd produces images with 1 pixel size
---------------------+------------------------------------------------------
Reporter: jachym | Owner: grass-dev@lists.osgeo.org
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 >
GDAL
December 31, 2008, 7:58am
6
#370: nviz_cmd produces images with 1 pixel size
---------------------+------------------------------------------------------
Reporter: jachym | Owner: grass-dev@lists.osgeo.org
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 >
GDAL
February 11, 2009, 6:49pm
7
#370: nviz_cmd produces images with 1 pixel size
---------------------+------------------------------------------------------
Reporter: jachym | Owner: grass-dev@lists.osgeo.org
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 >
GDAL
November 7, 2009, 4:18am
8
#370: nviz_cmd produces images with 1 pixel size
---------------------+------------------------------------------------------
Reporter: jachym | Owner: grass-dev@lists.osgeo.org
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 >
GDAL
August 21, 2012, 10:58am
9
#370: nviz_cmd produces images with 1 pixel size
--------------------------+-------------------------------------------------
Reporter: jachym | Owner: grass-dev@…
Type: defect | Status: closed
Priority: minor | Milestone: 6.4.3
Component: Tcl/Tk NVIZ | Version: svn-trunk
Resolution: fixed | Keywords: commandline, nviz_cmd
Platform: Linux | Cpu: x86-32
--------------------------+-------------------------------------------------
Changes (by neteler):
* status: new => closed
* resolution: => fixed
* milestone: 6.4.0 => 6.4.3
Comment:
Tested in GRASS 6.4.svn:
{{{
GRASS 6.4.3svn (spearfish60):~ > g.region rast=elevation.dem -p
GRASS 6.4.3svn (spearfish60):~ > m.nviz.image color_map=elevation.dem \
elevation_map=elevation.dem output=image
}}}
... output is fine.
The same for GRASS 7.svn. Closing as fixed (recently some fixes have
been applied to m.nviz.image).
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/370#comment:8> ;
GRASS GIS <http://grass.osgeo.org >