#3031 closed enhancement (fixed)
Rotate symbol for north arrow in d.northarrow
Reported by: | wenzeslaus | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 7.2.0 |
Component: | Display | Version: | unspecified |
Keywords: | d.northarrow, cartography, gsoc2016, grid north, true north | Cc: | |
CPU: | Unspecified | Platform: | Unspecified |
Description
Add to rotation for north arrow which now always points to grid north instead of the true north.
Automatic computation of this based on projection and position would be nice but a constant to rotate by given angle would be more than sufficient.
Attachments (3)
Change History (12)
comment:1 by , 9 years ago
Summary: | Rotate symbol for nroth arrow in d.northarrow → Rotate symbol for north arrow in d.northarrow |
---|
by , 8 years ago
Attachment: | d.northarrow.patch.tar.gz added |
---|
Updated patch. User can rotate northarrow with option rotation in degrees or in radians with -r flag. With flag -w the label will rotate with northarrow.
follow-up: 3 comment:2 by , 8 years ago
Please upload patches as diff files from the source root directory without compression (then it can be read directly in the source code context)
comment:3 by , 8 years ago
Replying to neteler:
Please upload patches as diff files from the source root directory without compression (then it can be read directly in the source code context)
Sorry for that, my first experience with uploading patches. So I uploaded one .diff file from grass7_trunk root directory which contains differences of all files I had changed during bug fixing. Is it correct now?
follow-up: 6 comment:5 by , 8 years ago
Thank you, I only changed the default behavior to rotate the label by default.
Please also provide a patch for the updated documentation for the new d.northarrow features.
follow-up: 7 comment:6 by , 8 years ago
I improved the patch and submitted. I suppose all these improvements should be backported to the new 7.2 release branch?
comment:7 by , 8 years ago
Replying to annakrat:
I improved the patch and submitted. I suppose all these improvements should be backported to the new 7.2 release branch?
IMHO yes.
comment:9 by , 8 years ago
Milestone: | 7.3.0 → 7.2.0 |
---|
The label (usually letter N) should be also rotated together with the whole symbol, i.e. considered as a part of the symbol when rotating. Alternatively, "the N" position would rotated but the letter itself would be still vertical. Which option is correct depends on cartography customs for the given field.