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

print composer, when using not "north-up" projections make images (north arrows) be in sync with canvas north #10251

Closed
qgib opened this issue Jul 14, 2006 · 24 comments
Labels
Feature Request Print Layouts Related to QGIS Print Layouts, Atlas or Reporting frameworks

Comments

@qgib
Copy link
Contributor

qgib commented Jul 14, 2006

Author Name: Gavin Macaulay - (Gavin Macaulay -)
Original Redmine Issue: 192

Redmine category:map_composer/printing
Assignee: Marco Hugentobler


Old (wrong) description: The map composer doesn't provide a north arrow. It should...

New description: try set a project with a CRS that is non north-up. Create a layout in the compser, add a map and a image (north arrow). The image (north arrow) does not reflect the fact that in the canvas north is not up.


@qgib
Copy link
Contributor Author

qgib commented Aug 10, 2006

Author Name: anonymous - (anonymous -)


This is enhancement, not defect.

@qgib
Copy link
Contributor Author

qgib commented Jul 21, 2007

Author Name: Tim Sutton (Tim Sutton)


Changed to minor under the following scheme:

  • blocker - bugs that should block the release. Since we are going to release pretty much 'come what may' I would like no bugs
  • allocated to this category without consultation with me and / or PSC
  • critical - bugs that cause the application to crash or corrupt data
  • major - application features that do not function at all
  • minor - features that function but imerfectly e.g. labels placing incorrectly
  • trivial - gui useability issues or small issues with the documentation, install notes etc.

Reassigned to Steven Bell who is working with composer stuff nowadays...

@qgib
Copy link
Contributor Author

qgib commented Sep 8, 2008

Author Name: Marco Hugentobler (@mhugent)


It is possible to add an svg north-arrow (provided with QGIS in images/svg directory). But user needs to know where this file is located

Planned for 1.0.1 is a graphical presentation of the available symbols such that user just clicks on the images.

@qgib
Copy link
Contributor Author

qgib commented Sep 9, 2008

Author Name: Maciej Sieczka - (Maciej Sieczka -)


Replying to [comment:3 mhugent]:

It is possible to add an svg north-arrow (provided with QGIS in images/svg directory).

Yup, that's cool. But note that north is not always right up. Happens to be skewed quite a bit, depending on the CRS and location.

@qgib
Copy link
Contributor Author

qgib commented Nov 7, 2009

Author Name: Paolo Cavallini (@pcav)


More that 50 are now available. See 11982


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

@qgib
Copy link
Contributor Author

qgib commented Nov 12, 2009

Author Name: Milena Nowotarska (Milena Nowotarska)


The arrows might be added as a picture. Since we have the possibility to rotate the map in the map composer, we still need a separate button to add the north arrow as a north arrow which will follow the rotation ;)


  • resolution was changed from fixed to
  • status_id was changed from Closed to Feedback

@qgib
Copy link
Contributor Author

qgib commented Nov 12, 2009

Author Name: Paolo Cavallini (@pcav)


The function you describe is present.


  • status_id was changed from Feedback to Closed
  • resolution was changed from to fixed

@qgib
Copy link
Contributor Author

qgib commented Jun 11, 2010

Author Name: marisn - (marisn -)


Button is present but it's not working in trunk ac2526b (SVN r13709) Closing this bug as fixed thus is an error.

It has two problems:

  • You can rotate symbol only up to 99 degrees;
  • Rotation from map widget is present, but it's not working. mPicture->RotationMap is set, but don't seems to be used anywhere.

  • status_id was changed from Closed to Feedback
  • resolution was changed from fixed to

@qgib
Copy link
Contributor Author

qgib commented Jun 11, 2010

Author Name: Paolo Cavallini (@pcav)


Just tested, worksforme. Could it be a local problem? What is your OS? How is QGIS compiled?

@qgib
Copy link
Contributor Author

qgib commented Jun 12, 2010

Author Name: marisn - (marisn -)


Tested and found to be boken on:

  • Gentoo ~AMD64 with Qt 4.6.3
    ** QGIS 1.4.0 installed from Portage
    ** QGIS trunk ac2526b (SVN r13709) selfcompiled
  • Ubuntu Karmic (i686) with Qt 4.5.2
    ** QGIS trunk 3286944 (SVN r13293) selfcompiled
    ** QGIS 1.4.0 installed from packages
  • Ubuntu 10.04 (AMD64) Qt 4.6.2
    ** QGIS trunk 46fea0c (SVN r13619) selfcompiled

@qgib
Copy link
Contributor Author

qgib commented Jun 12, 2010

Author Name: Marco Hugentobler (@mhugent)


Maximum symbol rotation is now set to 360.

Rotation from map widget is present, but it's not working. mPicture->RotationMap? is set, but >don't seems to be used anywhere.

Works for me too (kubuntu 10.04, Qt-4.6.2). From the attachment, it seems to me that your projection in QGIS is not north-up. Is that correct?

@qgib
Copy link
Contributor Author

qgib commented Jun 12, 2010

Author Name: marisn - (marisn -)


Replying to [comment:13 mhugent]:

Maximum symbol rotation is now set to 360.
Thanks.

Rotation from map widget is present, but it's not working. mPicture->RotationMap? is set, but >don't seems to be used anywhere.

Works for me too (kubuntu 10.04, Qt-4.6.2). From the attachment, it seems to me that your projection in QGIS is not north-up. Is that correct?
Yeah. North is not up. What's the point to have auto-rotation if north is allways up?!?

@qgib
Copy link
Contributor Author

qgib commented Jun 12, 2010

Author Name: Marco Hugentobler (@mhugent)


The point is that, in the print composer, you can rotate a composer map. After that, north is up in the main map window, but not in the rotated composer map (sync from map refers to the composer map. If there are several ones in the composer, you may select which one).

In your case, as you don't rotate the composer map, it is probably best to just rotate the picture 'by hand'.


  • status_id was changed from Feedback to Closed
  • resolution was changed from to invalid

@qgib
Copy link
Contributor Author

qgib commented Jun 12, 2010

Author Name: marisn - (marisn -)


OK. I misunderstood purpose of "Sync from Map" (could someone change it's wording to "Sync rotation from map"?).

Still then original report is not yet fixed - there is no way how to add a symbol with rotation synced to map content (pointing allways to the north).

Ability to draw some arbitrary arrows is not equal to north arrow functionality. Also it would be good to provide separate button for it, as current hack is not intuitive for endusers (especially with [[ArcGIS]] et.al. background).


  • resolution was changed from invalid to
  • status_id was changed from Closed to Feedback

@qgib
Copy link
Contributor Author

qgib commented Sep 24, 2010

Author Name: Paolo Cavallini (@pcav)


I miss the point here: we do have north arrows, and they can be synced to map content. I suggest closing this ticket.

@qgib
Copy link
Contributor Author

qgib commented Sep 24, 2010

Author Name: marisn - (marisn -)


Replying to [comment:17 pcav]:

I miss the point here: we do have north arrows, and they can be synced to map content. I suggest closing this ticket.
No. They can't be synced from map. (Tested ) Only rotated symbol is provided by "North arrow" plugin, map composer has NONE. Adjusting symbol rotation by hand doesn't count.

pcav, if You have problem with understanding this issue, do following:

  • Open Your Countires or whole Europe vector map;
  • Set SRS to Projected -> Steregraphic -> Sea Ice Stereographic North;
  • Enable OTFR;
  • Open "Map composer" and add map view;
  • Place north arrow without manually adjusting it's rotation.
    or simply open example attached to this ticket.

@qgib
Copy link
Contributor Author

qgib commented Sep 26, 2010

Author Name: Tim Sutton (Tim Sutton)


I was able to replicate marisn's issue with d47bb3f (SVN r14287).

@qgib
Copy link
Contributor Author

qgib commented Sep 26, 2010

Author Name: Giovanni Manghi (@gioman)


shouldn't the title and description of this ticket be changed?

@qgib
Copy link
Contributor Author

qgib commented Dec 16, 2011

Author Name: Giovanni Manghi (@gioman)


  • fixed_version_id was changed from Version 1.7.0 to Version 1.7.4

@qgib
Copy link
Contributor Author

qgib commented Dec 26, 2011

Author Name: Giovanni Manghi (@gioman)


The original subject and description were completely misleading. The new subject says it all. In comment 16 there are all the necessary steps to replicate the issue.


  • start_date was configured as 2011-12-26
  • subject was changed from Map composer needs a north arrow to print composer, when using not "north-up" projections make images (north arrows) be in sync with canvas north
  • status_id was changed from Feedback to Open
  • fixed_version_id was changed from Version 1.7.4 to Version 2.0.0
  • pull_request_patch_supplied was configured as 0

@qgib
Copy link
Contributor Author

qgib commented Oct 6, 2012

Author Name: Pirmin Kalberer (Pirmin Kalberer)


  • fixed_version_id was changed from Version 2.0.0 to Future Release - Nice to have

@qgib
Copy link
Contributor Author

qgib commented Apr 6, 2014

Author Name: Jürgen Fischer (@jef-n)


  • category_id was changed from 33 to Map Composer/Printing

@qgib
Copy link
Contributor Author

qgib commented Oct 4, 2016

Author Name: Paolo Cavallini (@pcav)


I believe the direction of the North arrow should be correct in the center of the map.

@qgib
Copy link
Contributor Author

qgib commented Oct 17, 2016

Author Name: Nyall Dawson (@nyalldawson)


Fixed in changeset "89cc6454b989de1746779b2f648a32d2863ebada".


  • status_id was changed from Open to Closed

@qgib qgib added Feature Request Print Layouts Related to QGIS Print Layouts, Atlas or Reporting frameworks labels May 24, 2019
@qgib qgib added this to the Future Release - Nice to have milestone May 24, 2019
@qgib qgib closed this as completed May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request Print Layouts Related to QGIS Print Layouts, Atlas or Reporting frameworks
Projects
None yet
Development

No branches or pull requests

1 participant