[GRASS-dev] [GRASS GIS] #3031: Rotate symbol for nroth arrow in d.northarrow

#3031: Rotate symbol for nroth arrow in d.northarrow
-------------------------------------------------+-------------------------
Reporter: wenzeslaus | Owner: grass-dev@…
     Type: enhancement | Status: new
Priority: normal | Milestone: 7.3.0
Component: Display | Version: unspecified
Keywords: d.northarrow, cartography, | CPU: Unspecified
  gsoc2016, grid north, true north |
Platform: Unspecified |
-------------------------------------------------+-------------------------
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.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3031&gt;
GRASS GIS <https://grass.osgeo.org>

#3031: Rotate symbol for north arrow in d.northarrow
-------------------------+-------------------------------------------------
  Reporter: wenzeslaus | Owner: grass-dev@…
      Type: | Status: new
  enhancement |
  Priority: normal | Milestone: 7.3.0
Component: Display | Version: unspecified
Resolution: | Keywords: d.northarrow, cartography,
       CPU: | gsoc2016, grid north, true north
  Unspecified | Platform: Unspecified
-------------------------+-------------------------------------------------

Comment (by wenzeslaus):

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.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3031#comment:1&gt;
GRASS GIS <https://grass.osgeo.org>

#3031: Rotate symbol for north arrow in d.northarrow
-------------------------+-------------------------------------------------
  Reporter: wenzeslaus | Owner: grass-dev@…
      Type: | Status: new
  enhancement |
  Priority: normal | Milestone: 7.3.0
Component: Display | Version: unspecified
Resolution: | Keywords: d.northarrow, cartography,
       CPU: | gsoc2016, grid north, true north
  Unspecified | Platform: Unspecified
-------------------------+-------------------------------------------------
Changes (by lazaa):

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

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3031&gt;
GRASS GIS <https://grass.osgeo.org>

#3031: Rotate symbol for north arrow in d.northarrow
-------------------------+-------------------------------------------------
  Reporter: wenzeslaus | Owner: grass-dev@…
      Type: | Status: new
  enhancement |
  Priority: normal | Milestone: 7.3.0
Component: Display | Version: unspecified
Resolution: | Keywords: d.northarrow, cartography,
       CPU: | gsoc2016, grid north, true north
  Unspecified | Platform: Unspecified
-------------------------+-------------------------------------------------
Changes (by lazaa):

* Attachment "d.northarrow.patch.tar.gz" removed.

User can rotate northarrow with option rotation in degrees or in radians
with -r flag. With flag -w the label will rotate with northarrow.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3031&gt;
GRASS GIS <https://grass.osgeo.org>

#3031: Rotate symbol for north arrow in d.northarrow
-------------------------+-------------------------------------------------
  Reporter: wenzeslaus | Owner: grass-dev@…
      Type: | Status: new
  enhancement |
  Priority: normal | Milestone: 7.3.0
Component: Display | Version: unspecified
Resolution: | Keywords: d.northarrow, cartography,
       CPU: | gsoc2016, grid north, true north
  Unspecified | Platform: Unspecified
-------------------------+-------------------------------------------------

Comment (by 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)

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/3031#comment:2&gt;
GRASS GIS <https://grass.osgeo.org>

#3031: Rotate symbol for north arrow in d.northarrow
-------------------------+-------------------------------------------------
  Reporter: wenzeslaus | Owner: grass-dev@…
      Type: | Status: new
  enhancement |
  Priority: normal | Milestone: 7.3.0
Component: Display | Version: unspecified
Resolution: | Keywords: d.northarrow, cartography,
       CPU: | gsoc2016, grid north, true north
  Unspecified | Platform: Unspecified
-------------------------+-------------------------------------------------
Changes (by lazaa):

* Attachment "d.northarrow.diff" added.

diff file

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3031&gt;
GRASS GIS <https://grass.osgeo.org>

#3031: Rotate symbol for north arrow in d.northarrow
-------------------------+-------------------------------------------------
  Reporter: wenzeslaus | Owner: grass-dev@…
      Type: | Status: new
  enhancement |
  Priority: normal | Milestone: 7.3.0
Component: Display | Version: unspecified
Resolution: | Keywords: d.northarrow, cartography,
       CPU: | gsoc2016, grid north, true north
  Unspecified | Platform: Unspecified
-------------------------+-------------------------------------------------

Comment (by lazaa):

Replying to [comment:2 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?

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3031#comment:3&gt;
GRASS GIS <https://grass.osgeo.org>

#3031: Rotate symbol for north arrow in d.northarrow
-------------------------+-------------------------------------------------
  Reporter: wenzeslaus | Owner: grass-dev@…
      Type: | Status: new
  enhancement |
  Priority: normal | Milestone: 7.3.0
Component: Display | Version: unspecified
Resolution: | Keywords: d.northarrow, cartography,
       CPU: | gsoc2016, grid north, true north
  Unspecified | Platform: Unspecified
-------------------------+-------------------------------------------------

Comment (by annakrat):

In [changeset:"68502" 68502]:
{{{
#!CommitTicketReference repository="" revision="68502"
d.northarrow: improvements - rotate by angle, change label, rotate label,
add other existing symbols - see #3019, #3018, #3031, author Adam Laza
}}}

--
Ticket URL: </ticket/3031#comment:4>
GRASS GIS <https://grass.osgeo.org>

#3031: Rotate symbol for north arrow in d.northarrow
-------------------------+-------------------------------------------------
  Reporter: wenzeslaus | Owner: grass-dev@…
      Type: | Status: new
  enhancement |
  Priority: normal | Milestone: 7.3.0
Component: Display | Version: unspecified
Resolution: | Keywords: d.northarrow, cartography,
       CPU: | gsoc2016, grid north, true north
  Unspecified | Platform: Unspecified
-------------------------+-------------------------------------------------

Comment (by annakrat):

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.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3031#comment:5&gt;
GRASS GIS <https://grass.osgeo.org>

#3031: Rotate symbol for north arrow in d.northarrow
-------------------------+-------------------------------------------------
  Reporter: wenzeslaus | Owner: grass-dev@…
      Type: | Status: new
  enhancement |
  Priority: normal | Milestone: 7.3.0
Component: Display | Version: unspecified
Resolution: | Keywords: d.northarrow, cartography,
       CPU: | gsoc2016, grid north, true north
  Unspecified | Platform: Unspecified
-------------------------+-------------------------------------------------
Changes (by lazaa):

* Attachment "d.northarrow_docs.diff" added.

updated documentation

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3031&gt;
GRASS GIS <https://grass.osgeo.org>

#3031: Rotate symbol for north arrow in d.northarrow
-------------------------+-------------------------------------------------
  Reporter: wenzeslaus | Owner: grass-dev@…
      Type: | Status: new
  enhancement |
  Priority: normal | Milestone: 7.3.0
Component: Display | Version: unspecified
Resolution: | Keywords: d.northarrow, cartography,
       CPU: | gsoc2016, grid north, true north
  Unspecified | Platform: Unspecified
-------------------------+-------------------------------------------------

Comment (by annakrat):

I improved the patch and submitted. I suppose all these improvements
should be backported to the new 7.2 release branch?

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3031#comment:6&gt;
GRASS GIS <https://grass.osgeo.org>

#3031: Rotate symbol for north arrow in d.northarrow
-------------------------+-------------------------------------------------
  Reporter: wenzeslaus | Owner: grass-dev@…
      Type: | Status: new
  enhancement |
  Priority: normal | Milestone: 7.3.0
Component: Display | Version: unspecified
Resolution: | Keywords: d.northarrow, cartography,
       CPU: | gsoc2016, grid north, true north
  Unspecified | Platform: Unspecified
-------------------------+-------------------------------------------------

Comment (by neteler):

Replying to [comment:6 annakrat]:
> I improved the patch and submitted. I suppose all these improvements
should be backported to the new 7.2 release branch?

IMHO yes.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3031#comment:7&gt;
GRASS GIS <https://grass.osgeo.org>

#3031: Rotate symbol for north arrow in d.northarrow
-------------------------+-------------------------------------------------
  Reporter: wenzeslaus | Owner: grass-dev@…
      Type: | Status: closed
  enhancement |
  Priority: normal | Milestone: 7.3.0
Component: Display | Version: unspecified
Resolution: fixed | Keywords: d.northarrow, cartography,
       CPU: | gsoc2016, grid north, true north
  Unspecified | Platform: Unspecified
-------------------------+-------------------------------------------------
Changes (by annakrat):

* status: new => closed
* resolution: => fixed

Comment:

Backported in r69051.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3031#comment:8&gt;
GRASS GIS <https://grass.osgeo.org>

#3031: Rotate symbol for north arrow in d.northarrow
-------------------------+-------------------------------------------------
  Reporter: wenzeslaus | Owner: grass-dev@…
      Type: | Status: closed
  enhancement |
  Priority: normal | Milestone: 7.2.0
Component: Display | Version: unspecified
Resolution: fixed | Keywords: d.northarrow, cartography,
       CPU: | gsoc2016, grid north, true north
  Unspecified | Platform: Unspecified
-------------------------+-------------------------------------------------
Changes (by annakrat):

* milestone: 7.3.0 => 7.2.0

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3031#comment:9&gt;
GRASS GIS <https://grass.osgeo.org>