[GRASS-dev] v.distance in lat/lon?

Hi,

anyone know if "v.distance upload=dist" is safe for lat/lon locations?

[v.distance/main.c line 470]
tseg = Vect_line_distance ( TPoints, FPoints->x[0], FPoints->y[0], 0, 0,
  &tmp_tx, &tmp_ty, NULL, &tmp_dist, NULL, &tmp_talong);

From looking at

  lib/vector/Vlib/line.c Vect_line_distance()
and
  lib/vector/diglib/line_dist.c dig_distance2_point_to_line()

I take it is assuming euclidian space and the results are measured in
(bogus) degrees. (??)

maybe if(LL){Vect_line_geodesic_length();} else {V_l_d();} helps?

thanks,
Hamish