Kurt Heston wrote: > The CAD designer that > generated these DXF files used horizontal and vertical lines to create > large grids. Visually, the lines form a multitude of squares and > rectangles, but the intersections are not defined at the vector level. > That is, they were not drawn as closed polygons, so v.in.dxf doesn't > yield any areas. > > I'd like each of the "polygons" created by the grid lines to become a > vector area, but haven't yet found a clever way to do it. For now, I'm > simply creating a raster with the vector data, pulling it back in with > r.in.gdal and subsequently using "r.to.vect feature=area" to find the > closed polygons. > > Is there a way that I can go about this purely within the vector space?
v.type type=line,boundary v.clean tool=bpol (or maybe tool=break?) v.centroids Maciek _______________________________________________ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user