[GRASS-SVN] r45406 - grass/trunk/vector/v.kernel
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Feb 15 10:50:30 EST 2011
Author: mmetz
Date: 2011-02-15 07:50:29 -0800 (Tue, 15 Feb 2011)
New Revision: 45406
Modified:
grass/trunk/vector/v.kernel/main.c
grass/trunk/vector/v.kernel/v.kernel.html
Log:
message cosmetics
Modified: grass/trunk/vector/v.kernel/main.c
===================================================================
--- grass/trunk/vector/v.kernel/main.c 2011-02-14 17:26:39 UTC (rev 45405)
+++ grass/trunk/vector/v.kernel/main.c 2011-02-15 15:50:29 UTC (rev 45406)
@@ -4,11 +4,12 @@
* MODULE: v.kernel
*
* AUTHOR(S): Stefano Menegon, ITC-irst, Trento, Italy
+* Radim Blazek (additional kernel functions, network part)
* PURPOSE: Generates a raster density map from vector points data using
-* a moving 2D isotropic Gaussian kernel or
+* a moving kernel function or
* optionally generates a vector density map on vector network
* with a 1D kernel
-* COPYRIGHT: (C) 20011 by the GRASS Development Team
+* COPYRIGHT: (C) 2004-2011 by the GRASS Development Team
*
* This program is free software under the GNU General Public
* License (>=v2). Read the file COPYING that comes with GRASS
@@ -239,7 +240,7 @@
}
}
else if (kernel_function != KERNEL_GAUSSIAN) {
- G_fatal_error(_("Optimal standard deviation calculation is supported only for and kernel function 'gaussian'."));
+ G_fatal_error(_("Optimal standard deviation calculation is supported only for kernel function 'gaussian'."));
}
}
@@ -318,8 +319,8 @@
/* valutazione distanza ottimale */
if (flag_o->answer) {
/* Note: sigmaOptimal calculates using ALL points (also those outside the region) */
- G_message(_("Automatic choose of smoothing parameter (standard deviation), maximum possible "
- "value of standard deviation is was set to %f"), sigma);
+ G_message(_("Automatic choice of smoothing parameter (standard deviation), maximum possible "
+ "value of standard deviation is set to %f"), sigma);
/* maximum distance 4*sigma (3.9*sigma ~ 1.0000), keep it small, otherwise it takes
* too much points and calculation on network becomes slow */
@@ -522,7 +523,7 @@
Rast_close(fdout);
}
- G_message(_("Maximum value in output: %e."), gausmax);
+ G_message(_("Maximum value in output: %e."), multip * gausmax);
Vect_close(&In);
Modified: grass/trunk/vector/v.kernel/v.kernel.html
===================================================================
--- grass/trunk/vector/v.kernel/v.kernel.html 2011-02-14 17:26:39 UTC (rev 45405)
+++ grass/trunk/vector/v.kernel/v.kernel.html 2011-02-15 15:50:29 UTC (rev 45406)
@@ -7,9 +7,10 @@
<p>
The module can also generate a vector density map on a vector network.
Conventional kernel functions produce biased estimates by overestimating
-the densities around network nodes, whereas the equal split kernel
-function of Okabe et al. (2009) produces unbiased density estimates.
-The equal split kernel function can be enabled with <em>node=split</em>.
+the densities around network nodes, whereas the equal split method of
+Okabe et al. (2009) produces unbiased density estimates. The equal split
+method uses the kernel function selected with the <em>kernel</em> option
+and can be enabled with <em>node=split</em>.
<H2>NOTES</H2>
More information about the grass-commit
mailing list