Hi, I tried to create a bufferzone (inner and outer area) around an area boundary using following steps (reproduced with spearfish quads data):
# change boundary to line v.type input=quads output=quadsline type=boundary,line # remove centroids from line map v.edit map=quadsline type=centroid tool=delete cat=1-3 v.build quadsline Erzeuge Topologie ... 3 primitives registriert Building areas: 100% 0 Flächen erstellt 0 Inselflächen erstellt Füge Inselflächen hinzu: Füge Zentroide hinzu: 100% Die Topologie wurde erstellt. Anzahl von Knoten : 2 Anzahl von Primitives : 3 Anzahl von Punkten : 0 Anzahl von Linien : 3 Anzahl von Boundaries : 0 Anzahl von Zentroiden : 0 Anzahl von Flächen : 0 Anzahl von Inseln : 0 Now I tried to buffer the lines, but v.buffer does not recognise there are lines (and not boundaries) available in the quadslines file: v.buffer in=quadsline out=quadsbuffer buffer=1000 Toleranz in Karteneinheiten: 10 Lines buffers... 100% Areas buffers... Building parts of topology... Erzeuge Topologie ... 0 primitives registriert Die Topologie wurde erstellt. Anzahl von Knoten : 0 Anzahl von Primitives : 0 Anzahl von Punkten : 0 Anzahl von Linien : 0 Anzahl von Boundaries : 0 Anzahl von Zentroiden : 0 Anzahl von Flächen : - Anzahl von Inseln : - [...] Is this a bug or do I need another step, so v.buffer finds the existing lines and buffers correctly? When I export the quadslines to a line shape and import again, v.buffer works as expected. v.out.ogr dsn=. in=quadsline olayer=quadsline type=line v.in.ogr dsn=./quadsline.shp.shp out=quadshape v.buffer in=quadshape out=quadshapebuffer buffer=1000 kind regards, Otto _______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
