Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
qgib opened this issue Feb 25, 2014 · 5 comments
Closed

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

qgib opened this issue Feb 25, 2014 · 5 comments
Labels
Feature Request Processing Relating to QGIS Processing framework or individual Processing algorithms

Comments

@qgib
Copy link
Contributor

qgib commented Feb 25, 2014

Author Name: landry Landry Breuil (@landryb)
Original Redmine Issue: 9652

Redmine category:processing/qgis


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 issue(s): #16248 (relates)
Redmine related issue(s): 7208


@qgib
Copy link
Contributor Author

qgib commented Mar 1, 2014

Author Name: Giovanni Manghi (@gioman)


Hi,

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.


  • fixed_version_id was configured as Future Release - Nice to have
  • tracker_id was changed from 1 to 2
  • subject was changed from ftools merge shapes doesnt obey project projection setting to merge shapefiles: add option to get the result directly in project CRS
  • category_id was configured as 44

@qgib
Copy link
Contributor Author

qgib commented Jan 2, 2017

Author Name: Giovanni Manghi (@gioman)


  • category_id was changed from 44 to Processing/QGIS

@qgib
Copy link
Contributor Author

qgib commented Apr 30, 2017

Author Name: Giovanni Manghi (@gioman)


  • easy_fix was configured as 0

@qgib
Copy link
Contributor Author

qgib commented Dec 6, 2017

Author Name: Nyall Dawson (@nyalldawson)


Applied in changeset 3c4fb26.


  • status_id was changed from Open to Closed
  • done_ratio was changed from 0 to 100

@qgib qgib closed this as completed Dec 6, 2017
@qgib
Copy link
Contributor Author

qgib commented Dec 7, 2017

Author Name: Giovanni Manghi (@gioman)


  • resolution was changed from to fixed/implemented
  • description was changed from 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. to 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request Processing Relating to QGIS Processing framework or individual Processing algorithms
Projects
None yet
Development

No branches or pull requests

1 participant