[GRASS-dev] [GRASS GIS] #1063: v.surf.rst does not properly detect presence of z column AND smoothness column

GRASS GIS trac at osgeo.org
Mon May 10 14:17:41 EDT 2010


#1063: v.surf.rst does not properly detect presence of z column AND smoothness
column
--------------------+-------------------------------------------------------
 Reporter:  dylan   |       Owner:  grass-dev at lists.osgeo.org
     Type:  defect  |      Status:  new                      
 Priority:  normal  |   Milestone:  6.5.0                    
Component:  Vector  |     Version:  svn-develbranch6         
 Keywords:          |    Platform:  Linux                    
      Cpu:  x86-32  |  
--------------------+-------------------------------------------------------
 When specifying both zcolumn and scolumn to v.surf.rst I get the following
 error:
 "Only smoothing column defined, zcol or -z flag is missing"

 Here is the incantation:
 {{{
 v.surf.rst in=combined_pts scolumn=smooth zcolumn=Elev_Obs
 mcurv=combined_mcurv elev=combined_elev aspect=combined_asp
 slope=combined_slope dmin=0.1 tension=40  devi=combined_elev_devi --o
 }}}

 I know that this command worked in a previous version of GRASS65, and
 commenting out the relevant code block allowed me to get my work done:

 {{{
 // commented these lines
 if ((!zcoord || !zcol) && scol)
    G_fatal_error(_("Only smoothing column defined, zcol or -z flag is
 missing"));
 }}}

 I looked over main.c in the v.surf.rst directory, but couldn't identify
 what is causing this bug.

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


More information about the grass-dev mailing list