Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I have a .shp file of pipe lines. I want to join all the pipes between two valves to be considered as one segment in QGIS.

Help would be appreciated. Thanks

share|improve this question
2  
If you don't want to draw it by hand consider providing a bit more information on the data structure. –  SS_Rebelious Sep 17 '12 at 19:23

1 Answer 1

If your lines share a common node you can do as follows. First, load the layer, and set it to be in editing mode. Now

1) Select the features you want to join (this is mandatory). Since you want to select more than one feature, do not forget to use the ctrl key while selecting features.

2) Look in the digitizing toolbar for an icon looking like a cloud with a star. This one is the "merge selected features" tool. The dialog box is easy to follow.

Hope it helps

share|improve this answer
    
Thanks Gerardo but there are like a thousand valves so it's not possible to do manually. I am looking for something in which I can select many segments at the same time and it merges the lines while respecting the valves as separation points. Thanks in advance –  Danish Oct 1 '12 at 18:40

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.