[GRASS-SVN] r45174 - grass/branches/develbranch_6/vector/v.in.ogr

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Jan 25 04:37:15 EST 2011


Author: mmetz
Date: 2011-01-25 01:37:15 -0800 (Tue, 25 Jan 2011)
New Revision: 45174

Modified:
   grass/branches/develbranch_6/vector/v.in.ogr/geom.c
Log:
do not write cats for boundaries (restore original behaviour)

Modified: grass/branches/develbranch_6/vector/v.in.ogr/geom.c
===================================================================
--- grass/branches/develbranch_6/vector/v.in.ogr/geom.c	2011-01-24 14:48:20 UTC (rev 45173)
+++ grass/branches/develbranch_6/vector/v.in.ogr/geom.c	2011-01-25 09:37:15 UTC (rev 45174)
@@ -301,9 +301,9 @@
 	    otype = GV_BOUNDARY;
 
 	if (split_distance > 0 && otype == GV_BOUNDARY)
-	    split_line(Map, otype, Points, Cats);
+	    split_line(Map, otype, Points, BCats);
 	else
-	    Vect_write_line(Map, otype, Points, Cats);
+	    Vect_write_line(Map, otype, Points, BCats);
 
 	/* Isles */
 	IPoints =



More information about the grass-commit mailing list