[GRASS-SVN] r71190 - grass/trunk/vector/v.surf.bspline
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Jun 19 06:29:17 PDT 2017
Author: mmetz
Date: 2017-06-19 06:29:17 -0700 (Mon, 19 Jun 2017)
New Revision: 71190
Modified:
grass/trunk/vector/v.surf.bspline/main.c
Log:
v.surf.bspline: description, formatting
Modified: grass/trunk/vector/v.surf.bspline/main.c
===================================================================
--- grass/trunk/vector/v.surf.bspline/main.c 2017-06-16 13:17:34 UTC (rev 71189)
+++ grass/trunk/vector/v.surf.bspline/main.c 2017-06-19 13:29:17 UTC (rev 71190)
@@ -104,7 +104,7 @@
spline_step_flag->key = 'e';
spline_step_flag->label = _("Estimate point density and distance");
spline_step_flag->description =
- _("Estimate point density and distance for the input vector points within the current region extends and quit");
+ _("Estimate point density and distance in map units for the input vector points within the current region extents and quit");
in_opt = G_define_standard_option(G_OPT_V_INPUT);
in_opt->label = _("Name of input vector point map");
@@ -285,6 +285,7 @@
/* Estimate point density and mean distance for current region */
if (spline_step_flag->answer) {
double dens, dist;
+
if (P_estimate_splinestep(&In, &dens, &dist) == 0) {
fprintf(stdout, _("Estimated point density: %.4g"), dens);
fprintf(stdout, _("Estimated mean distance between points: %.4g"), dist);
More information about the grass-commit
mailing list