66
66
Vect_check_input_output_name(opt.input->answer, opt.output->answer,
69
69
/* open input vector, topology not needed */
71
if (Vect_open_old2(&In, opt.input->answer, "", opt.field->answer) < 1)
72
72
G_fatal_error(_("Unable to open vector map <%s>"), opt.input->answer);
74
75
if (opt.reverse->answer && !Vect_is_3d(&In)) {
76
76
G_fatal_error(_("Vector map <%s> is 2D"), opt.input->answer);
79
79
if (!opt.reverse->answer && Vect_is_3d(&In)) {
81
80
G_fatal_error(_("Vector map <%s> is 3D"), opt.input->answer);