How do i merge different vector layers in to one shapefile layer

In QGIS version 2.6


Depending what exactly you want to do with the data, either:

(A) Keep each feature intact, including overlapping areas: Vector --> Data Management Tools --> Merge Shapefiles to One...

(B) Union to deal with overlaps: Vector --> Geoprocessing Tools --> Union

  • Thanks very much for your concern,Dealt with Condition (A) but am still having a problem that my new vector files i uploaded from Gps thaey can not merge in to One Major shape file,Condition (B) i haven't understand it Jan 23 '15 at 8:12
  • GPX files contain points, routes and tracks, divided into three layers by QGIS. Since the Merge tool is an external command, you might have to translate them into shapefile format first. Or use copy&paste.
    – AndreJ
    Jan 23 '15 at 8:37
  • @AndreJ,i have tried that by saving as a shape file but it takes only one route.Howw can u help me please Jan 23 '15 at 8:50
  • There are probably programmatic ways to do this, but if you want a GUI, I usually use this program to export tracks, then work with them as features: dnr.state.mn.us/mis/gis/DNRGPS/DNRGPS.html
    – Dan
    Jan 23 '15 at 8:51
  • Thanks@Dan and @Andrej,am mostly pleased for your concern i managed to create one large shape file,apreciate your help all of you,expecting more from you Jan 23 '15 at 9:39

If you want to use the Merge tool, the underlaying datasources must have the same projection, and must have the same datatype (point/line/polygon).

You can use Save As... on one of your layers to create a new shapefile with the CRS of the other layer.

Copy and paste should work too if you set the target layer to edit mode.

  • +1 for specifying projection issues. I usually have project-specific data in the same projection and don't run into this. Good point.
    – Dan
    Jan 23 '15 at 7:56
  • Copy/paste best answer so far
    – chrismarx
    Dec 17 '16 at 2:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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