Browse Source

Vlib: add comments for topology conversion

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@55645 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 12 years ago
parent
commit
2ef2dbbd1a
1 changed files with 5 additions and 1 deletions
  1. 5 1
      lib/vector/Vlib/copy.c

+ 5 - 1
lib/vector/Vlib/copy.c

@@ -329,7 +329,7 @@ int copy_nodes(const struct Map_info *In, struct Map_info *Out)
 }
 
 /*!
-  \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 @@ int copy_areas(const struct Map_info *In, int field, struct Map_info *Out)
         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."),