[GRASS-SVN] r55645 - grass/trunk/lib/vector/Vlib
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Apr 6 06:38:18 PDT 2013
Author: mmetz
Date: 2013-04-06 06:38:18 -0700 (Sat, 06 Apr 2013)
New Revision: 55645
Modified:
grass/trunk/lib/vector/Vlib/copy.c
Log:
Vlib: add comments for topology conversion
Modified: grass/trunk/lib/vector/Vlib/copy.c
===================================================================
--- grass/trunk/lib/vector/Vlib/copy.c 2013-04-06 13:14:00 UTC (rev 55644)
+++ grass/trunk/lib/vector/Vlib/copy.c 2013-04-06 13:38:18 UTC (rev 55645)
@@ -329,7 +329,7 @@
}
/*!
- \brief Check if area forms an isle
+ \brief Check if area is part of an isle
Check for areas that are part of isles which in turn are inside
another area.
@@ -405,6 +405,10 @@
cat = Vect_get_area_cat(In, area, field);
if (cat < 0) {
/* no category - check if area forms an isle */
+ /* this check does not make sense because the area
+ * is also not exported if it is part of an isle
+ * inside another area: the isle gets exported
+ * as an inner ring */
if (!is_isle(In, area))
G_warning(_("No category defined for area %d. "
"Area not exported."),
More information about the grass-commit
mailing list