Feature request #9652

merge shapefiles: add option to get the result directly in project CRS

Added by landry - over 3 years ago. Updated 6 months ago.

Pull Request or Patch supplied:No Resolution:
Easy fix?:No


new description:

the project CRS is not taken into account, but it can be convenient to have an option to create the result with assigned the project CRS.

old description:

ftools's "vector->data management tools->merge shapefiles to one" doesnt obey project-wide projection settings, nor asks for the projection when creating the output file.
It seems to default to create WGS84 shapes, while my project is in EPSG:2154. Same thing if i configure it to ask for the projection of the source layers (which in that case i specify as EPSG:2154, as the source files dont have a prj file attached)

I have 'Use Project CRS' for 'CRS for new layer' in the prefs.

Related issues

Related to QGIS Application - Feature request #7208: replace the "merge shapefiles" code with new more efficie... Open 02/21/2013


#1 Updated by Giovanni Manghi over 3 years ago

  • Target version set to Future Release - Nice to have
  • Category set to 44
  • Subject changed from ftools merge shapes doesnt obey project projection setting to merge shapefiles: add option to get the result directly in project CRS
  • Tracker changed from Bug report to Feature request


I get your point but the tool actually work in a different way: it doesn't do any kind of projection transformation along with the merge operation.

The project CRS is not taken into account, and the shapefiles .prj/.qpj file is what does count at the end (not sure it the inputs shapefiles have .prj files with different CRSs).

If the shapefiles do not have any .prj/.qpj file then qgis give the result the 4326 CRS, that can of course be the right one or wrong. If is wrong then it can be corrected with the "assign projection" tool.

#2 Updated by Giovanni Manghi 10 months ago

  • Category changed from 44 to Processing/QGIS

#3 Updated by Giovanni Manghi 6 months ago

  • Easy fix? set to No

Also available in: Atom PDF