瀏覽代碼

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 年之前
父節點
當前提交
4b01890680
共有 1 個文件被更改,包括 2 次插入2 次删除
  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 =