[GRASS-SVN] r50170 -
grass/branches/releasebranch_6_4/vector/v.distance
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Jan 13 20:26:20 EST 2012
Author: hamish
Date: 2012-01-13 17:26:20 -0800 (Fri, 13 Jan 2012)
New Revision: 50170
Modified:
grass/branches/releasebranch_6_4/vector/v.distance/main.c
Log:
fix option descriptions broken by r25176 (merge from trunk)
Modified: grass/branches/releasebranch_6_4/vector/v.distance/main.c
===================================================================
--- grass/branches/releasebranch_6_4/vector/v.distance/main.c 2012-01-14 01:24:32 UTC (rev 50169)
+++ grass/branches/releasebranch_6_4/vector/v.distance/main.c 2012-01-14 01:26:20 UTC (rev 50170)
@@ -28,7 +28,6 @@
#include <grass/dbmi.h>
#include <grass/Vect.h>
-
/* TODO: support all types (lines, boundaries, areas for 'from' (from_type) */
/* define codes for characteristics of relation between two nearest features */
@@ -181,17 +180,20 @@
upload_opt->descriptions =
_("cat;category of the nearest feature;"
"dist;minimum distance to nearest feature;"
- "to_x;x coordinate of the nearest point on 'to' feature;"
- "to_y;y coordinate of the nearest point on 'to' feature;"
- "to_along;distance between points/centroids in 'from' map and the linear feature's "
- "start point in 'to' map, along this linear feature;"
- "to_angle;angle between the linear feature in 'to' map and the positive x axis, at "
- "the location of point/centroid in 'from' map, counterclockwise, in radians, which "
- "is between -PI and PI inclusive;"
+ "to_x;x coordinate of the nearest point on the 'to' feature;"
+ "to_y;y coordinate of the nearest point on the 'to' feature;"
+ "to_along;distance to the nearest point on the 'to' feature along "
+ "that linear feature;"
+ "to_angle;angle along the nearest linear feature in the 'to' map, "
+ "measured CCW from the +x axis, in radians, between -Pi and Pi "
+ "inclusive;"
"to_attr;attribute of nearest feature given by to_column option");
/* "from_x - x coordinate of the nearest point on 'from' feature;" */
/* "from_y - y coordinate of the nearest point on 'from' feature;" */
/* "from_along - distance to the nearest point on 'from' feature along linear feature;" */
+ /* "from_angle - angle between the linear feature in 'to' map and the +x "
+ "axis, at the location of point/centroid in 'from' map, CCW, in "
+ "radians, between -Pi and Pi inclusive;" */
column_opt = G_define_standard_option(G_OPT_COLUMN);
column_opt->required = YES;
More information about the grass-commit
mailing list