[GRASS-SVN] r46908 - grass/trunk/vector/v.in.ogr
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Jul 1 04:58:52 EDT 2011
Author: mmetz
Date: 2011-07-01 01:58:52 -0700 (Fri, 01 Jul 2011)
New Revision: 46908
Modified:
grass/trunk/vector/v.in.ogr/main.c
Log:
decrease split distance for speed
Modified: grass/trunk/vector/v.in.ogr/main.c
===================================================================
--- grass/trunk/vector/v.in.ogr/main.c 2011-07-01 08:58:04 UTC (rev 46907)
+++ grass/trunk/vector/v.in.ogr/main.c 2011-07-01 08:58:52 UTC (rev 46908)
@@ -838,7 +838,7 @@
split_distance =
area_size / log(n_polygon_boundaries);
/* divisor is the handle: increase divisor to decrease split_distance */
- split_distance = split_distance / 4.;
+ split_distance = split_distance / 5.;
G_debug(1, "root of area size: %f", area_size);
G_verbose_message(_("Boundary splitting distance in map units: %G"),
split_distance);
More information about the grass-commit
mailing list