[GRASS-dev] v.kernel Vect_check_input_output_name

Hamish hamish_nospam at yahoo.com
Mon Oct 9 21:21:17 EDT 2006


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");


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