On 04/24/2011 03:36 PM, Johannes Radinger wrote:
Hi Micha, Well, in QGIS you can merge all the line segments of the original shapefile into one, using the "Vector->Geometry Tools->Singleparts to Multipart" tool. This will leave you with a single "MULTILINE" feature. However when importing to GRASS all the lines will be "re-broken" at each intersection and new nodes created in order to enforce topology. Referring to the attached image (I altered yours) the stars represent topological "errors" and as far as I know GRASS will not allow you to ignore these intersections when you import. (The only vector feature that can be imported without topology is points). So to recap: * You can split line features at arbitrary points using v.edit tool=break * You cannot, AFAIK, cause GRASS to merge line segments where topological rules require there to be a node. Back to your problem, If you're into PostGIS, here's a post that might give you some ideas: http://postgis.refractions.net/pipermail/postgis-users/2007-September/017159.html Regards, Micha
-- Micha Silver Arava Development Co. +972-52-3665918 http://www.surfaces.co.il |
<<attachment: drawing.png>>
_______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
