[GRASS-dev] v.kernel Vect_check_input_output_name

Radim Blazek radim.blazek at gmail.com
Tue Oct 10 04:50:19 EDT 2006


On 10/10/06, Hamish <hamish_nospam at yahoo.com> wrote:
> Radim Blazek wrote:
> > v.kernel should not use Vect_check_input_output_name for output
> > because output is raster.
>
> output is both raster and vector,
>
>
>   out_opt->description = _("output raster/vector map");

Yes, you are right, it should only be checked if net is used.

Radim

> and then there's this:
>
>       if( !flag_q->answer ) {
>           Vect_open_new (&Out, out_opt->answer, 0);
>           Vect_hist_command ( &Out );
>       }
>
> ..
>                   Vect_write_line ( &Out, GV_LINE, SPoints, SCats );
> ..
>       Vect_build (&Out, stderr);
>       Vect_close (&Out);
>
>
>
> Hamish
>




More information about the grass-dev mailing list