2

I'm working in the polar regions and make maps in different scales. The convention is to show e.g. the Antarctic continent with the prime meridian upwards on the map and polar stereographic projection. In this way, south is toward the center of the map and east is clockwise (and opposite for the Arctic region).

However, when working on higher resolution, I want to have north facing upwards on the map, both on the canvas and in the composer, even if the layers and my project are polar stereographic projection.

The rotate function for the canvas is really handy, and I know that I can also rotate a map in the composer and use an expression. This is how I do it today, but it's complicated as I have to change the rotation every time I adjust the extent of the map, due to the converging meridians near the poles.

I could imagine a couple of ways to simplify my work flow:

  • A dream scenario would be if the center of the view was always be rotated so that true-north faces upwards. Just as working in a Mercator projection.
  • Or, how should I write an expression in the print composer to rotate the map to 360 - lon_c where lon_c is the longitude of the center of the map extent. My data is in UTM, but can I access the coordinates without writing a complex formula to convert meters to degrees?
  • A last option would be to pass the canvas rotation to map rotation in the composer. Can it be scripted?

How can I achieve any of those options? I don't want to change the projection, just rotate the view so that north at center of the map is facing upwards in print composer.

  • looks like QGIS 2.99 has this as complete hub.qgis.org/issues/9330 TBA QGIS 3.0 (2.99 nightly) is 78% complete hub.qgis.org/projects/quantum-gis/roadmap but you can download the nightly and try it out. – Mapperz Feb 7 '17 at 15:40
  • Thanks a lot @Mapperz! With a deeper look at suggested features, it appears that the #9330 suggestion is already implemented as the rotation of the canvas (in lower right corner) that I'm using today. However, #11912 (to copy canvas rotation into print composer) should be implemented but it doesn't work. #12179 (a flexible rotation tool) would be the solution I wish for, so for the time being, whiles waiting for updates that unfortunately I'm not capable of doing myself, any suggestions are welcome. – Tactopoda Feb 8 '17 at 0:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.