Opened 18 years ago

Last modified 14 years ago

#192 reopened enhancement

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
Must Fix for Release: No Platform: All
Platform Version: Awaiting user input: no

Description

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

Attachments (1)

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

Download all attachments as: .zip

Change History (21)

comment:1 by anonymous, 18 years ago

Type: defectenhancement

This is enhancement, not defect.

comment:2 by timlinux, 17 years ago

Awaiting user input: unset
Must Fix for Release: No
Owner: changed from rblazek to StevenB
Priority: majorminor

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

comment:3 by mhugent, 16 years ago

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 comment:4 by msieczka, 16 years ago

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.

comment:5 by pcav, 15 years ago

Owner: changed from StevenB to mhugent

comment:6 by lutra, 15 years ago

Milestone: Version 1.0.3Version 1.2.0

comment:7 by pcav, 14 years ago

Resolution: fixed
Status: newclosed

More that 50 are now available. See 11982

comment:8 by milenan, 14 years ago

Resolution: fixed
Status: closedreopened

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

comment:9 by pcav, 14 years ago

Resolution: fixed
Status: reopenedclosed

The function you describe is present.

comment:10 by marisn, 14 years ago

Cc: marisn added
Milestone: Version 1.4.0Version 1.5.0
Resolution: fixed
Status: closedreopened

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.

comment:11 by pcav, 14 years ago

Milestone: Version 1.5.0Version 1.6.0

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

comment:12 by marisn, 14 years ago

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

by marisn, 14 years ago

Attachment: qgis_mapcomposer_rotate.jpg added

Screenshot with unrotated north symbol

comment:13 by mhugent, 14 years ago

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 comment:14 by marisn, 14 years ago

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

comment:15 by mhugent, 14 years ago

Resolution: invalid
Status: reopenedclosed

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

comment:16 by marisn, 14 years ago

Resolution: invalid
Status: closedreopened

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

comment:17 by pcav, 14 years ago

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 comment:18 by marisn, 14 years ago

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.

comment:19 by timlinux, 14 years ago

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

comment:20 by lutra, 14 years ago

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

Note: See TracTickets for help on using tickets.