[GRASS-SVN] r63432 - in grass/branches/releasebranch_7_0: . db/db.createdb db/db.databases db/db.dropdb display/d.geodesic display/d.mon display/d.path display/d.rhumbline scripts/d.correlate scripts/db.in.ogr scripts/i.tasscap vector/v.univar
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Dec 7 14:24:06 PST 2014
Author: neteler
Date: 2014-12-07 14:24:06 -0800 (Sun, 07 Dec 2014)
New Revision: 63432
Modified:
grass/branches/releasebranch_7_0/
grass/branches/releasebranch_7_0/db/db.createdb/db.createdb.html
grass/branches/releasebranch_7_0/db/db.databases/db.databases.html
grass/branches/releasebranch_7_0/db/db.dropdb/db.dropdb.html
grass/branches/releasebranch_7_0/display/d.geodesic/d.geodesic.html
grass/branches/releasebranch_7_0/display/d.mon/d.mon.html
grass/branches/releasebranch_7_0/display/d.path/d.path.html
grass/branches/releasebranch_7_0/display/d.rhumbline/d.rhumbline.html
grass/branches/releasebranch_7_0/scripts/d.correlate/d.correlate.html
grass/branches/releasebranch_7_0/scripts/db.in.ogr/db.in.ogr.html
grass/branches/releasebranch_7_0/scripts/i.tasscap/i.tasscap.html
grass/branches/releasebranch_7_0/vector/v.univar/v.univar.html
Log:
manual: some cleanup of HTML and examples
Property changes on: grass/branches/releasebranch_7_0
___________________________________________________________________
Modified: svn:mergeinfo
- /grass/trunk:60817,61096,61141,61994,62105,62179-62180,62182,62403,62422,62424,62437,62466,62469,62487,62491,62494,62501,62506,62508-62509,62515,62518-62519,62521,62526,62533,62539,62541,62555,62562,62566,62570,62573,62575,62585,62588,62597,62603,62606,62608-62609,62614,62618,62628,62632,62638,62642,62648-62649,62652,62654-62657,62666,62691,62705,62709,62723,62730,62739,62741,62743,62746,62750,62752,62757,62762,62785,62798,62800-62801,62803,62805,62812,62822,62824,62831,62838,62847,62850,62856,62879,62881,62886,62907-62908,62910,62912,62914,62916,62918,62920,62925,62933,62935,62940,62942,62944-62946,62949,62958,62960,62962,62964,62966-62968,62970,62973,62975,62977,62981,62983,62985,62987,62989,62991,62993,62995,62997,62999-63000,63003,63005,63007,63009,63011,63013,63015,63017,63020,63022,63024,63026,63028-63031,63033,63035,63037,63040,63043-63044,63047,63049,63051,63053,63055,63057,63060,63062-63064,63066,63068,63070-63071,63074,63076,63079,63081,63083,63085,63087,63089,
63091,63093,63095,63098,63100,63102,63105,63107,63109,63111,63113-63114,63116,63119,63121,63123,63125,63130,63132-63133,63135,63137,63140,63143,63145,63147,63149,63151,63153-63154,63157,63165,63170,63173,63175,63187,63192-63193,63196,63199-63200,63202,63209,63216,63220-63221,63224,63227,63240,63246,63250,63255,63259,63261,63276,63279,63281,63283,63287,63290,63292,63302,63315,63319,63330,63332,63339,63342,63345,63362,63367,63408-63409,63416-63417,63425,63427,63429
+ /grass/trunk:60817,61096,61141,61994,62105,62179-62180,62182,62403,62422,62424,62437,62466,62469,62487,62491,62494,62501,62506,62508-62509,62515,62518-62519,62521,62526,62533,62539,62541,62555,62562,62566,62570,62573,62575,62585,62588,62597,62603,62606,62608-62609,62614,62618,62628,62632,62638,62642,62648-62649,62652,62654-62657,62666,62691,62705,62709,62723,62730,62739,62741,62743,62746,62750,62752,62757,62762,62785,62798,62800-62801,62803,62805,62812,62822,62824,62831,62838,62847,62850,62856,62879,62881,62886,62907-62908,62910,62912,62914,62916,62918,62920,62925,62933,62935,62940,62942,62944-62946,62949,62958,62960,62962,62964,62966-62968,62970,62973,62975,62977,62981,62983,62985,62987,62989,62991,62993,62995,62997,62999-63000,63003,63005,63007,63009,63011,63013,63015,63017,63020,63022,63024,63026,63028-63031,63033,63035,63037,63040,63043-63044,63047,63049,63051,63053,63055,63057,63060,63062-63064,63066,63068,63070-63071,63074,63076,63079,63081,63083,63085,63087,63089,
63091,63093,63095,63098,63100,63102,63105,63107,63109,63111,63113-63114,63116,63119,63121,63123,63125,63130,63132-63133,63135,63137,63140,63143,63145,63147,63149,63151,63153-63154,63157,63165,63170,63173,63175,63187,63192-63193,63196,63199-63200,63202,63209,63216,63220-63221,63224,63227,63240,63246,63250,63255,63259,63261,63276,63279,63281,63283,63287,63290,63292,63302,63315,63319,63330,63332,63339,63342,63345,63362,63367,63408-63409,63416-63417,63425,63427,63429,63431
Modified: grass/branches/releasebranch_7_0/db/db.createdb/db.createdb.html
===================================================================
--- grass/branches/releasebranch_7_0/db/db.createdb/db.createdb.html 2014-12-07 22:22:14 UTC (rev 63431)
+++ grass/branches/releasebranch_7_0/db/db.createdb/db.createdb.html 2014-12-07 22:24:06 UTC (rev 63432)
@@ -13,24 +13,29 @@
<h3>Create a new SQLite file-based database</h3>
+Note that the standard GRASS GIS SQLite database is by default
+generated in the user's current mapset. This example shows an
+out-of-mapset database file creation:
+
<div class="code"><pre>
db.createdb driver=sqlite database=/opt/sqlite.db
</pre></div>
<h3>Create a new PostgreSQL database</h3>
-Create a new PostgreSQL database (if PostgreSQL connection is
-established through <em>odbc</em> driver):
+Create a new PostgreSQL database (after the PostgreSQL connection got
+established through the <em>pg</em> driver):
<div class="code"><pre>
-db.createdb driver=odbc database=grassdb
+db.createdb driver=pg database=grassdb
</pre></div>
-Create a new PostgreSQL database (if PostgreSQL connection is established
-through <em>pg</em> driver):
+<p>
+Create a new PostgreSQL database (after the PostgreSQL connection got
+established through the <em>odbc</em> driver):
<div class="code"><pre>
-db.createdb driver=pg database=grassdb
+db.createdb driver=odbc database=grassdb
</pre></div>
<h2>TODO</h2>
@@ -40,10 +45,11 @@
<h2>SEE ALSO</h2>
<em>
-<a href="db.dropdb.html">db.dropdb</a>,
<a href="db.columns.html">db.columns</a>,
+<a href="db.connect.html">db.connect</a>,
<a href="db.describe.html">db.describe</a>,
<a href="db.drivers.html">db.drivers</a>,
+<a href="db.dropdb.html">db.dropdb</a>,
<a href="db.droptable.html">db.droptable</a>,
<a href="db.execute.html">db.execute</a>,
<a href="db.login.html">db.login</a>,
Modified: grass/branches/releasebranch_7_0/db/db.databases/db.databases.html
===================================================================
--- grass/branches/releasebranch_7_0/db/db.databases/db.databases.html 2014-12-07 22:22:14 UTC (rev 63431)
+++ grass/branches/releasebranch_7_0/db/db.databases/db.databases.html 2014-12-07 22:24:06 UTC (rev 63432)
@@ -22,7 +22,7 @@
</pre></div>
<p>
-List SQLite databases in the given directory:
+List SQLite databases in a given directory:
<div class="code"><pre>
db.databases driver=sqlite location=/opt/sqlite
@@ -49,7 +49,7 @@
<p>
<a href="sql.html">GRASS SQL interface</a>
-<h2>AUTHOR</h2>
+<h2>AUTHORS</h2>
Radim Blazek, ITC-Irst, Trento, Italy<br>
Updated for GRASS 7 by Martin Landa, Czech Technical University in Prague, Czech Republic
Modified: grass/branches/releasebranch_7_0/db/db.dropdb/db.dropdb.html
===================================================================
--- grass/branches/releasebranch_7_0/db/db.dropdb/db.dropdb.html 2014-12-07 22:22:14 UTC (rev 63431)
+++ grass/branches/releasebranch_7_0/db/db.dropdb/db.dropdb.html 2014-12-07 22:24:06 UTC (rev 63432)
@@ -9,6 +9,10 @@
<h3>Drop (delete) an existing database connected through SQLite driver</h3>
+Note that the standard GRASS GIS SQLite database is by default
+found in the user's current mapset. This example shows an
+out-of-mapset database removal:
+
<div class="code"><pre>
db.dropdb driver=sqlite database=/opt/sqlite.db
</pre></div>
Modified: grass/branches/releasebranch_7_0/display/d.geodesic/d.geodesic.html
===================================================================
--- grass/branches/releasebranch_7_0/display/d.geodesic/d.geodesic.html 2014-12-07 22:22:14 UTC (rev 63431)
+++ grass/branches/releasebranch_7_0/display/d.geodesic/d.geodesic.html 2014-12-07 22:24:06 UTC (rev 63432)
@@ -26,12 +26,17 @@
<h2>EXAMPLE</h2>
+A geodesic line if shown over the political map of the world
+(demolocation dataset):
+
<div class="code"><pre>
-g.region vect=world_political -p
+g.region vect=country_boundaries -p
d.mon wx0
-d.vect world_political type=area
+d.vect country_boundaries type=area
d.geodesic coordinates=55:58W,33:18S,26:43E,60:37N \
line_color=yellow text_color=red
+# show additionally 10 degree grid
+d.grid 10
</pre></div>
<p><center>
@@ -41,12 +46,15 @@
<h2>NOTES</h2>
-This program works only with GRASS locations using a longitude/latitude
+This program works only in GRASS locations with longitude/latitude
coordinate system.
<h2>SEE ALSO</h2>
-<em><a href="d.rhumbline.html">d.rhumbline</a></em>
+<em>
+<a href="d.rhumbline.html">d.rhumbline</a>,
+<a href="d.grid.html">d.grid</a>
+</em>
<h2>AUTHOR</h2>
Modified: grass/branches/releasebranch_7_0/display/d.mon/d.mon.html
===================================================================
--- grass/branches/releasebranch_7_0/display/d.mon/d.mon.html 2014-12-07 22:22:14 UTC (rev 63431)
+++ grass/branches/releasebranch_7_0/display/d.mon/d.mon.html 2014-12-07 22:24:06 UTC (rev 63432)
@@ -3,7 +3,7 @@
<em>d.mon</em> allows the user to start, select, list, release, and
stop available graphics monitors.
-<h3>Start a monitor</h3>
+<h3>Starting a monitor</h3>
In order to display on-screen GRASS graphics, the user must
<b>start</b> and <b>select</b> a graphics monitor. By default,
@@ -23,7 +23,7 @@
unless it is stopped for some reason. A monitor may continue to run
for any length of time, even when no GRASS session is being run.
-<h3>Stop a monitor</h3>
+<h3>Stopping a monitor</h3>
A graphics monitor has two different types of status: monitor
program <em>not running</em>, and monitor <em>running</em>. A monitor
@@ -31,7 +31,7 @@
monitor that has been stopped (or not started) will be listed as not
running. The <b>-l</b> flag will list all currently running monitors.
-<h3>Select a monitor</h3>
+<h3>Selecting a monitor</h3>
When the user <em>starts</em> a monitor, it is also
(automatically) <em>selected</em> for graphics output unless the user
@@ -44,29 +44,39 @@
<p>The user can run multiple graphics monitors by simply starting each of
the graphics monitors he wishes to direct output to.
-<h3>Release a monitor</h3>
+<h3>Releasing (unselecting) a monitor</h3>
Currently <em>selected</em> a monitor can be released by <b>-r</b>
flag.
<h2>EXAMPLES</h2>
+<h3>wx0 monitor</h3>
+
To start interactive <em><a href="wxGUI.html#map-display-window">wxGUI map
-display</a></em>
+display</a></em>, run
<div class="code"><pre>
d.mon start=wx0
</pre></div>
-All data will be rendered on <tt>wx0</tt> display. New monitor can be
-started (and selected ) by
+All data will be rendered on <tt>wx0</tt> display.
+<h3>CAIRO file renderer monitor</h3>
+
+A new CAIRO monitor can be started (and selected) by
+
<div class="code"><pre>
d.mon start=cairo output=out.pdf
</pre></div>
-To list running monitors
+From this moment all data will be rendered into
+file <tt>output.pdf</tt>.
+<h3>List running monitors</h3>
+
+To list running monitors, use
+
<div class="code"><pre>
d.mon -l
@@ -75,6 +85,8 @@
cairo
</pre></div>
+<h3>Show currently selected monitor</h3>
+
To determine currently selected monitor
<div class="code"><pre>
@@ -83,16 +95,19 @@
cairo
</pre></div>
-From this moment all data will be rendered into
-file <tt>output.pdf</tt>. To switch back to interactive wxGUI monitor
+<h3>Switching between monitors</h3>
+To switch back to interactive, earlier started and still running wxGUI
+monitor
<div class="code"><pre>
d.mon select=wx0
</pre></div>
-To close this monitor
+<h3>Stopping a monitor</h3>
+To close the wxGUI monitor
+
<div class="code"><pre>
d.mon stop=wx0
</pre></div>
@@ -100,11 +115,12 @@
<h2>SEE ALSO</h2>
<em>
- <a href="d.erase.html">d.erase</a>,
- <a href="d.redraw.html">d.redraw</a>,
- <a href="d.rast.html">d.rast</a>,
- <a href="d.vect.html">d.vect</a>
-</em>
+<a href="d.erase.html">d.erase</a>,
+<a href="d.redraw.html">d.redraw</a>,
+<a href="d.rast.html">d.rast</a>,
+<a href="d.vect.html">d.vect</a>,
+<a href="wxGUI.html">wxGUI</a>
+<em>
<p>
See also
Modified: grass/branches/releasebranch_7_0/display/d.path/d.path.html
===================================================================
--- grass/branches/releasebranch_7_0/display/d.path/d.path.html 2014-12-07 22:22:14 UTC (rev 63431)
+++ grass/branches/releasebranch_7_0/display/d.path/d.path.html 2014-12-07 22:24:06 UTC (rev 63432)
@@ -8,9 +8,13 @@
<h2>NOTE</h2>
-The user needs to display a vector map before using d.path. The 'from' and 'to'
-points are entered by mouse into the map displayed in the GRASS monitor, or
-if the <b>coor</b> option is used they can be specified non-interactively.
+<!-- TODO: apparently d.path does not render into wxGUI? -->
+The user needs to display a vector map before using d.path. If no graphics monitor
+is open, a file <tt>map.png</tt> is generated in the current directory.
+
+<p>
+The 'from' and 'to' points are entered by mouse into the map displayed in the GRASS monitor,
+or if the <b>coordinates</b> option is used they can be specified non-interactively.
The actions bound to the mouse buttons are described in the terminal
window when running the command.
<p>To calculate shortest path non-interactively and save the path to a new vector
@@ -20,7 +24,7 @@
Interactive shortest path routing on road network (North Carolina sample dataset):
<div class="code"><pre>
-g.region vect=roadsmajor
+g.region vect=roadsmajor -p
d.vect roadsmajor
d.path roadsmajor coordinates=668646.15,224447.16,668348.83,235894.02
</pre></div>
Modified: grass/branches/releasebranch_7_0/display/d.rhumbline/d.rhumbline.html
===================================================================
--- grass/branches/releasebranch_7_0/display/d.rhumbline/d.rhumbline.html 2014-12-07 22:22:14 UTC (rev 63431)
+++ grass/branches/releasebranch_7_0/display/d.rhumbline/d.rhumbline.html 2014-12-07 22:24:06 UTC (rev 63432)
@@ -4,9 +4,9 @@
compass (i.e., a line of constant direction). It crosses all meridians
at the same angle, i.e. a path of constant bearing.
- <!-- There are 32
-points on the compass (points are roughly 11 degrees 15
-minutes apart). --> <em>d.rhumbline</em> displays the
+<!-- There are 32 points on the compass (points are roughly 11 degrees 15
+minutes apart). -->
+<em>d.rhumbline</em> displays the
rhumbline joining any two user-specified points in the
active frame on the user's graphics monitor. The named
coordinate locations must fall within the boundaries of the
@@ -20,11 +20,17 @@
<h2>EXAMPLE</h2>
+A geodesic line if shown over the political map of the world
+(demolocation dataset):
+
<div class="code"><pre>
-g.region vect=world_political -p
+g.region vect=country_boundaries -p
d.mon wx0
-d.vect world_political type=area
-d.rhumbline coor=55:58W,33:18S,26:43E,60:37N line_color=yellow text_color=red
+d.vect country_boundaries type=area
+d.rhumbline coordinates=55:58W,33:18S,26:43E,60:37N \
+ line_color=yellow
+# show additionally 10 degree grid
+d.grid 10
</pre></div>
<p><center>
@@ -32,19 +38,20 @@
<i>Rhumbline (loxodrome)</i>
</center>
-
<h2>NOTES</h2>
-This program works only with longitude-latitude locations.
+This program works only in GRASS locations with longitude/latitude
+coordinate system.
<h2>SEE ALSO</h2>
-<em><a href="d.geodesic.html">d.geodesic</a></em>
+<em>
+<a href="d.geodesic.html">d.geodesic</a>,
+<a href="d.grid.html">d.grid</a>
+</em>
<h2>AUTHOR</h2>
-Michael Shapiro,
-U.S. Army Construction Engineering
-Research Laboratory
+Michael Shapiro, U.S. Army Construction Engineering Research Laboratory
<p><i>Last changed: $Date$</i>
Modified: grass/branches/releasebranch_7_0/scripts/d.correlate/d.correlate.html
===================================================================
--- grass/branches/releasebranch_7_0/scripts/d.correlate/d.correlate.html 2014-12-07 22:22:14 UTC (rev 63431)
+++ grass/branches/releasebranch_7_0/scripts/d.correlate/d.correlate.html 2014-12-07 22:24:06 UTC (rev 63432)
@@ -6,8 +6,9 @@
layers (scattergram).
<p>The results are displayed in the active display frame on
-the user's graphics monitor. <em>d.correlate</em> erases
-the active frame before displaying results.
+the user's graphics monitor. <em>d.correlate</em> erases
+the active frame before displaying results. If no graphics monitor
+is open, a file <tt>map.png</tt> is generated in the current directory.
<h2>NOTES</h2>
@@ -32,7 +33,7 @@
<a href="r.stats.html">r.stats</a>
</em>
-<h2>AUTHOR</h2>
+<h2>AUTHORS</h2>
Michael Shapiro,
<a href="http://www.cecer.army.mil/">U.S.Army Construction Engineering Research Laboratory</a>
Modified: grass/branches/releasebranch_7_0/scripts/db.in.ogr/db.in.ogr.html
===================================================================
--- grass/branches/releasebranch_7_0/scripts/db.in.ogr/db.in.ogr.html 2014-12-07 22:22:14 UTC (rev 63431)
+++ grass/branches/releasebranch_7_0/scripts/db.in.ogr/db.in.ogr.html 2014-12-07 22:24:06 UTC (rev 63432)
@@ -1,8 +1,9 @@
<h2>DESCRIPTION</h2>
<em>db.in.ogr</em> imports attribute tables in various formats as
-supported by the <a href="http://gdal.org/ogr">OGR library</a> on the local system (DBF, CSV, PostgreSQL,
-SQLite, MySQL, ODBC, etc.). Optionally a unique <b>key</b> (ID) column can be
+supported by the <a href="http://gdal.org/ogr">OGR library</a>
+on the local system (DBF, CSV, PostgreSQL, SQLite, MySQL, ODBC,
+etc.). Optionally a unique <b>key</b> (ID) column can be
added to the table.
<h2>EXAMPLES</h2>
@@ -14,7 +15,7 @@
(see details <a href="http://www.gdal.org/ogr/drv_csv.html">here</a>).
<div class="code"><pre>
-# NOTE: create koeppen_gridcode.csvt first for type recognition
+# NOTE: create koeppen_gridcode.csvt first for automated type recognition
db.in.ogr input=koeppen_gridcode.csv output=koeppen_gridcode
db.select koeppen_gridcode
</pre></div>
@@ -60,8 +61,8 @@
<h2>SEE ALSO</h2>
<em>
- <a href="v.in.ogr.html">v.in.ogr</a>,
- <a href="v.in.db.html">v.in.db</a>
+<a href="v.in.ogr.html">v.in.ogr</a>,
+<a href="v.in.db.html">v.in.db</a>
</em>
<p>
Modified: grass/branches/releasebranch_7_0/scripts/i.tasscap/i.tasscap.html
===================================================================
--- grass/branches/releasebranch_7_0/scripts/i.tasscap/i.tasscap.html 2014-12-07 22:22:14 UTC (rev 63431)
+++ grass/branches/releasebranch_7_0/scripts/i.tasscap/i.tasscap.html 2014-12-07 22:24:06 UTC (rev 63432)
@@ -28,9 +28,9 @@
<div class="code"><pre>
g.region rast=lsat7_2002_10 -p
-i.tasscap satellite=landsat7_etm \
+i.tasscap sensor=landsat7_etm \
input=lsat7_2002_10,lsat7_2002_20,lsat7_2002_30,lsat7_2002_40,lsat7_2002_50,lsat7_2002_70 \
- basename=tasscap
+ output=tasscap
</pre></div>
Results:
Modified: grass/branches/releasebranch_7_0/vector/v.univar/v.univar.html
===================================================================
--- grass/branches/releasebranch_7_0/vector/v.univar/v.univar.html 2014-12-07 22:22:14 UTC (rev 63431)
+++ grass/branches/releasebranch_7_0/vector/v.univar/v.univar.html 2014-12-07 22:24:06 UTC (rev 63432)
@@ -46,7 +46,9 @@
<h2>SEE ALSO</h2>
<em>
+<a href="db.univar.html">db.univar</a>,
<a href="r.univar.html">r.univar</a>,
+<a href="v.db.univar.html">v.db.univar</a>,
<a href="v.neighbors.html">v.neighbors</a>
</em>
More information about the grass-commit
mailing list