Skip to content

Commit f14c4d4

Browse files
committed
v.surf.rst: Corrected defualts in documentation
1 parent dd2ab64 commit f14c4d4

File tree

3 files changed

+13
-7
lines changed

3 files changed

+13
-7
lines changed

vector/v.surf.rst/main.c

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ int main(int argc, char *argv[])
287287
parm.rsm->required = NO;
288288
parm.rsm->label = _("Smoothing parameter");
289289
parm.rsm->description =
290-
_("Smoothing is by default 0.5 unless smooth_column is specified");
290+
_("Smoothing is by default 0.1 unless smooth_column is specified");
291291
parm.rsm->guisection = _("Parameters");
292292

293293
parm.scol = G_define_option();
@@ -319,8 +319,10 @@ int main(int argc, char *argv[])
319319
parm.dmin->key = "dmin";
320320
parm.dmin->type = TYPE_DOUBLE;
321321
parm.dmin->required = NO;
322-
parm.dmin->description = _(
323-
"Minimum distance between points (to remove almost identical points)");
322+
parm.dmin->description =
323+
_("Minimum distance between points (to remove almost identical "
324+
"points). Default vaule is half of "
325+
" the smaller resolution of the current region");
324326
parm.dmin->guisection = _("Parameters");
325327

326328
parm.dmax = G_define_option();

vector/v.surf.rst/v.surf.rst.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ <h2>NOTES</h2>
103103
their interpretation is described in
104104
<a href="http://fatra.cnr.ncsu.edu/~hmitaso/gmslab/papers/hmg.rev1.ps">
105105
Mitasova and Hofierka, 1993</a>
106-
or Neteler and Mitasova, 2004).
106+
or Neteler and Mitasova, 2004.
107107
Slopes and aspect are computed in degrees (0-90 and 1-360 respectively).
108108
The aspect raster map has value 0 assigned to flat areas (with slope less
109109
than 0.1%) and to singular points with undefined aspect. Aspect points
@@ -292,7 +292,9 @@ <h3>Cross validation procedure</h3>
292292
found by minimizing the predictive (CV) error may not not be the best
293293
for for poorly sampled phenomena (result could be strongly smoothed
294294
with lost details and fluctuations) or when significant noise is
295-
present that needs to be smoothed out.
295+
present that needs to be smoothed out. The addon
296+
<a href="addons/v.surf.rst.cv.html">v.surf.rst.cv</a> provides an ease of use wrapper for the
297+
cross-validation procedure.
296298

297299
<h3>Performance</h3>
298300
To enable parallel processing, the user can specify the number of threads

vector/v.surf.rst/v.surf.rst.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ function so that the important relationships between these parameters
8888
are preserved. The equations for computation of these parameters and
8989
their interpretation is described in [Mitasova and Hofierka,
9090
1993](http://fatra.cnr.ncsu.edu/~hmitaso/gmslab/papers/hmg.rev1.ps) or
91-
Neteler and Mitasova, 2004). Slopes and aspect are computed in degrees
91+
Neteler and Mitasova, 2004. Slopes and aspect are computed in degrees
9292
(0-90 and 1-360 respectively). The aspect raster map has value 0
9393
assigned to flat areas (with slope less than 0.1%) and to singular
9494
points with undefined aspect. Aspect points downslope and is 90 to the
@@ -235,7 +235,9 @@ well only for well-sampled phenomena and when minimizing the predictive
235235
error is the goal. The parameters found by minimizing the predictive
236236
(CV) error may not not be the best for for poorly sampled phenomena
237237
(result could be strongly smoothed with lost details and fluctuations)
238-
or when significant noise is present that needs to be smoothed out.
238+
or when significant noise is present that needs to be smoothed out. The addon
239+
[v.surf.rst.cv](addons/v.surf.rst.cv.md) provides an ease of use wrapper for the
240+
cross-validation procedure.
239241

240242
### Performance
241243

0 commit comments

Comments
 (0)