Pārlūkot izejas kodu

note TODOs

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@57745 15284696-431f-4ddb-bdfa-cd5b030d7da7
Hamish Bowman 11 gadi atpakaļ
vecāks
revīzija
c6409cdda5

+ 7 - 0
display/d.northarrow/d.northarrow.html

@@ -8,6 +8,13 @@ in a number of styles (see the
 page</a> for details).
 
 
+<h2>TODO</h2>
+
+Add options to use an arbitrary rotation angle for when grid north and true
+north diverge, and add a flag to calculate that convergence angle and apply
+the rotation automatically.
+
+
 <h2>SEE ALSO</h2>
 
 <em>

+ 9 - 0
display/d.northarrow/main.c

@@ -90,6 +90,15 @@ int main(int argc, char **argv)
     no_text->description = _("Draw the symbol without text");
     no_text->guisection = _("Text");
 
+/* TODO:
+     - add rotation= option to rotate the north arrow by an arbitrary amount.
+       do a bit of trig to figure out where to put the "N" (and rotate it too).
+     - add a -n flag to rotate to match true north instead of grid north.
+       Similar to 'g.region -n' but use the at=x,y coord for the convergence
+       angle calc. (assuming that's the center of the icon)
+ */
+
+
     if (G_parser(argc, argv))
 	exit(EXIT_FAILURE);