Opened 10 years ago

Closed 4 years ago

#1063 closed defect (fixed)

v.surf.rst does not properly detect presence of z column AND smoothness column

Reported by: dylan Owned by: grass-dev@…
Priority: normal Milestone: 6.5.0
Component: Vector Version: svn-develbranch6
Keywords: Cc:
CPU: x86-32 Platform: Linux

Description

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.

Change History (2)

comment:1 Changed 9 years ago by mmetz

Hopefully fixed in r43599.

Markus M

comment:2 Changed 4 years ago by dylan

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.