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

Not saving and recalling a custom CRS for a project #37204

Closed
Derrick-Wells opened this issue Jun 14, 2020 · 2 comments
Closed

Not saving and recalling a custom CRS for a project #37204

Derrick-Wells opened this issue Jun 14, 2020 · 2 comments

Comments

@Derrick-Wells
Copy link

I use a custom CRS and have saved it as part of the projects properties (menu Project / Properties / CRS tab. The custom CRS is USER:100000 with parameters +proj=lcc +lat_1=-33.3333333333 +lat_2=-26.6666666667 +lat_0=-35 +lon_0=23 +x_0=0 +y_0=0 +ellps=WGS84 +units=m +no_defs

When checking on the project properties it indicates both the project_crs as USER:100000 and project_crs_definition as above.

Also note that the default CRS is also set as USER:100000 (set in Settings / Options / CRS and set Use a Default CRS.

On opening QGIS it does indicate the default CRS as USER:100000 however when opening a project where the CRS is set to USER:100000, the CRS changes to Unknown and in the projects variables the project_crs is blank but project_crs_definition still contains the correct values.
Error of Default CRS set to USER.docx

image

@Derrick-Wells
Copy link
Author

Using QGis vs 3.12.3 on Windows - this error also exists in the current LTR.

@nyalldawson
Copy link
Collaborator

The correct solution here is to ensure your custom CRS is set to use a "WKT" string, not a "PROJ" string. It's easy to change -- from the Custom Projections dialog, select your CRS, and then change Format to "WKT (recommended)".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants