[GRASS-SVN] r71503 - in grass/branches/releasebranch_7_2/display: . d.mon

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Sep 24 09:49:26 PDT 2017


Author: neteler
Date: 2017-09-24 09:49:25 -0700 (Sun, 24 Sep 2017)
New Revision: 71503

Modified:
   grass/branches/releasebranch_7_2/display/d.mon/main.c
   grass/branches/releasebranch_7_2/display/displaydrivers.html
Log:
d.mon: notes on functionality added (trunk, r71502)

Modified: grass/branches/releasebranch_7_2/display/d.mon/main.c
===================================================================
--- grass/branches/releasebranch_7_2/display/d.mon/main.c	2017-09-24 16:48:39 UTC (rev 71502)
+++ grass/branches/releasebranch_7_2/display/d.mon/main.c	2017-09-24 16:49:25 UTC (rev 71503)
@@ -12,6 +12,18 @@
  *
  *****************************************************************************/
 
+/*
+ Functionality:
+
+ d.mon delegates rendering to Python script [1] through GRASS_RENDER_COMMAND [2].
+ See also document [3].
+
+ [1] https://trac.osgeo.org/grass/browser/grass/trunk/display/d.mon/render_cmd.py
+ [2] https://trac.osgeo.org/grass/browser/grass/trunk/lib/display/r_raster.c#L107
+ [3] https://grass.osgeo.org/grass72/manuals/displaydrivers.html
+
+*/
+
 #include <stdlib.h>
 #include <string.h>
 

Modified: grass/branches/releasebranch_7_2/display/displaydrivers.html
===================================================================
--- grass/branches/releasebranch_7_2/display/displaydrivers.html	2017-09-24 16:48:39 UTC (rev 71502)
+++ grass/branches/releasebranch_7_2/display/displaydrivers.html	2017-09-24 16:49:25 UTC (rev 71503)
@@ -27,7 +27,7 @@
 Lets start with simple example of Python script called <i>render.py</i>:
 
 <div class="code"><pre>
-#!/usr/bin/evn python
+#!/usr/bin/env python
 
 import os
 import sys



More information about the grass-commit mailing list