Ticket #192 (reopened enhancement)

Opened 7 years ago

Last modified 3 years ago

Map composer needs a north arrow

Reported by: g_j_m Owned by: mhugent
Priority: minor: annoyance Milestone: Version 1.7.0
Component: Printing Version: Trunk
Keywords: Cc: marisn
Platform Version: Platform: All
Must Fix for Release: No Awaiting user input: no

Description

The map composer doesn't provide a north arrow. It should...

Attachments

qgis_mapcomposer_rotate.jpg Download (153.3 KB) - added by marisn 3 years ago.
Screenshot with unrotated north symbol

Change History

  Changed 7 years ago by anonymous

  • type changed from defect to enhancement

This is enhancement, not defect.

  Changed 6 years ago by timlinux

  • owner changed from rblazek to StevenB
  • priority changed from major to minor
  • status_info unset
  • must_fix set to No

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...

follow-up: ↓ 4   Changed 5 years ago by 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.

in reply to: ↑ 3   Changed 5 years ago by msieczka

Replying to 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.

  Changed 4 years ago by pcav

  • owner changed from StevenB to mhugent

  Changed 4 years ago by lutra

  • milestone changed from Version 1.0.3 to Version 1.2.0

  Changed 4 years ago by pcav

  • status changed from new to closed
  • resolution set to fixed

More that 50 are now available. See 11982

  Changed 4 years ago by milenan

  • status changed from closed to reopened
  • resolution fixed deleted

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* ;)

  Changed 4 years ago by pcav

  • status changed from reopened to closed
  • resolution set to fixed

The function you describe is present.

  Changed 3 years ago by marisn

  • cc marisn added
  • status changed from closed to reopened
  • resolution fixed deleted
  • milestone changed from Version 1.4.0 to Version 1.5.0

Button is present but it's not working in trunk r13708 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.

  Changed 3 years ago by pcav

  • milestone changed from Version 1.5.0 to Version 1.6.0

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

  Changed 3 years ago by marisn

Tested and found to be boken on:

  • Gentoo ~AMD64 with Qt 4.6.3
    • QGIS 1.4.0 installed from Portage
    • QGIS trunk r13708 selfcompiled
  • Ubuntu Karmic (i686) with Qt 4.5.2
    • QGIS trunk r13292 selfcompiled
    • QGIS 1.4.0 installed from packages
  • Ubuntu 10.04 (AMD64) Qt 4.6.2
    • QGIS trunk r13618 selfcompiled

Changed 3 years ago by marisn

Screenshot with unrotated north symbol

follow-up: ↓ 14   Changed 3 years ago by 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?

in reply to: ↑ 13   Changed 3 years ago by marisn

Replying to 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?!?

  Changed 3 years ago by mhugent

  • status changed from reopened to closed
  • resolution set to invalid

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'.

  Changed 3 years ago by marisn

  • status changed from closed to reopened
  • resolution invalid deleted

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).

follow-up: ↓ 18   Changed 3 years ago by pcav

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

in reply to: ↑ 17   Changed 3 years ago by marisn

Replying to 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 r14195) 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.

  Changed 3 years ago by timlinux

I was able to replicate marisn's issue with r14286.

  Changed 3 years ago by lutra

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

Note: See TracTickets for help on using tickets.