On 01/13/2011 09:38 AM, Andrea Peri wrote:
Hi, Hi Andrea: Copying line features into a polygon shapefile won't work. Here are two ways you can try to accomplish the above. First in QGIS - using the new Points2One plugin. You should begin by completing the line segments (make closed boundaries) *as lines*. Be sure to add the additional little segments in the same direction as the original line segments. And also be careful to enable the snapping option (Project Properties->Snapping). And you will need a unique attribute for each closed boundary. Next use "Extract nodes" in the Vector->Geometry Tools menu to create a new, temporary point shape of all the nodes for each closed boundary. Now run the Points2One plugin to create a polygon for each closed boundary. Check the "Create output features based on input field" and choose the unique attribute, from above, for each input boundary. If the above doesn't work (the line segments might not be in correct order?) then here's "Plan B" - Import your line feature into GRASS, and start digitizing. Add the needed little segments in order to create closed boundaries. (Be sure snapping is set properly) Now digitize a centroid inside each new closed boundary, and voila, you have created closed polygons. Export back out to a shapefile (v.out.ogr) and you'll have a polygon shapefile. Regards, Micha
-- Micha Silver Arava Development Co. +972-52-3665918 http://www.surfaces.co.il |
_______________________________________________ Qgis-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-user
