[GRASSLIST:8456] Re: New GRASS Module: v.drape

Hamish hamish_nospam at yahoo.com
Thu Sep 29 19:41:07 EDT 2005


> > Also note that the syntax is
> > v.drape [ -B | -C ] in=trails output=trails3d rast=elev_meters
> >
> > where the -B or -C refere to bilinear or cubic interpolation,
> > default is nearest neighbor.
> 
> OK, it is better to use -b,-c (lower case) flags, it is standard in
> GRASS. But probably the best would be an option
>     method=[nearest|bilinear|cubic]
> it is better  to use an option to select from 3 values.


I think the -B and -C comes from v.sample. Change to an option there
too? (but leave in flags for now with a G_warning() so old scripts don't
break?)



Hamish




More information about the grass-user mailing list