Feature request #5221
Write QPJ file when defining CRS for layer
|Pull Request or Patch supplied:||No||Resolution:||fixed/implemented|
|Easy fix?:||No||Copied to github as #:||14957|
If a layer is loaded that doesn't have an assigned CRS (eg a Shapefile without a PRJ) then depending on program options settings, QGIS will either prompt for a CRS or assign a default CRS for the dataset. Without saving a copy of the dataset, this CRS information can only then be saved in a QGIS project. It would seem sensible at the point of CRS assignment to a layer to write out a qpj file for the dataset, or present the user with the option to do this.
I thought that the fTools 'Define current projection' command would do this (in the same way that you would define a projection in ArcGIS), but it seems to mirror the behaviour described above.
Is there a situation where it is not desireable to record the CRS of a dataset with the data files, once it has been assigned?
Should this functionality apply whenever the CRS of a layer is altered?
Using QGIS 1.7.4 (411aff6) under Win7 64bit.
#3 Updated by Andre Joost over 7 years ago
With Quantum GIS Lisboa, a .prj file will be written by using fTools 'Define current projection' command, but no .qpj file. This should work in most cases, because QGIS writes all essential information in the prj file, like TOWGS84 and EPSG code. So I think this ticket can be closed.