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

Project with CRS set to 'No projection (or unknown/non-Earth projection)' throws exception with North Arrow #25007

Closed
qgib opened this issue Sep 6, 2017 · 6 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Map and Legend Related to map or legend rendering Regression Something which used to work, but doesn't anymore

Comments

@qgib
Copy link
Contributor

qgib commented Sep 6, 2017

Author Name: Richard Duivenvoorde (@rduivenvoorde)
Original Redmine Issue: 17108
Affected QGIS version: master
Redmine category:decorations


Having an older project, and opening it in QGIS it got a 'No projection (or unknown/non-Earth projection)' crs.

Trying to add a North Arrow throws an exception then, telling me "Could not create transform to calculate true north".

Easy reproducable (in master) by opening a new project.
Going to project crs properties and selecting checking 'No projection (or unknown/non-Earth projection)'.

Adding a North Arrow now (without any data) throws exception (see screendump).
After the exception there is a proces going on (looking at the progressbar in the screendump)



Related issue(s): #24773 (duplicates)
Redmine related issue(s): 16874


@qgib
Copy link
Contributor Author

qgib commented Sep 6, 2017

Author Name: Richard Duivenvoorde (@rduivenvoorde)


  • description was changed from Having an older project, and opening it in QGIS it got a 'No projection (or unknown/non-Earth projection)' crs.

Trying to add a North Arrow throws an exception then, telling me "Could not create transform to calculate true north".

Easy reproducable (in master) by opening a new project.
Going to project crs properties and selecting checking 'No projection (or unknown/non-Earth projection)'.

Adding a North Arrow now (without any data) throws exception (see screendump) to Having an older project, and opening it in QGIS it got a 'No projection (or unknown/non-Earth projection)' crs.

Trying to add a North Arrow throws an exception then, telling me "Could not create transform to calculate true north".

Easy reproducable (in master) by opening a new project.
Going to project crs properties and selecting checking 'No projection (or unknown/non-Earth projection)'.

Adding a North Arrow now (without any data) throws exception (see screendump).
After the exception there is a proces going on (looking at the progressbar in the screendump)

@qgib
Copy link
Contributor Author

qgib commented Sep 8, 2017

Author Name: Giovanni Manghi (@gioman)


  • regression was changed from 0 to 1
  • category_id was changed from Map Canvas to Decorations
  • priority_id was changed from Normal to High

@qgib
Copy link
Contributor Author

qgib commented Sep 11, 2017

Author Name: Patrick Dunford (@enzedrailmaps)


You need to reassign the CRS for the project manually. The CRS may not be imported from older project files in later masters.

@qgib
Copy link
Contributor Author

qgib commented Sep 11, 2017

Author Name: Patrick Dunford (@enzedrailmaps)


duplicate 16874

@qgib
Copy link
Contributor Author

qgib commented Nov 10, 2017

@qgib
Copy link
Contributor Author

qgib commented Nov 10, 2017

Author Name: Alexander Bruy (@alexbruy)


  • resolution was changed from to duplicate
  • status_id was changed from Open to Closed

@qgib qgib closed this as completed Nov 10, 2017
@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Map and Legend Related to map or legend rendering Regression Something which used to work, but doesn't anymore labels May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Map and Legend Related to map or legend rendering Regression Something which used to work, but doesn't anymore
Projects
None yet
Development

No branches or pull requests

1 participant