Browse Source

do not write cats for boundaries (restore original behaviour)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@45175 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 14 years ago
parent
commit
4b01890680
1 changed files with 2 additions and 2 deletions
  1. 2 2
      vector/v.in.ogr/geom.c

+ 2 - 2
vector/v.in.ogr/geom.c

@@ -301,9 +301,9 @@ geom(OGRGeometryH hGeom, struct Map_info *Map, int field, int cat,
 	    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 =