|
@@ -1,124 +0,0 @@
|
|
|
-<h2>DESCRIPTION</h2>
|
|
|
-
|
|
|
-<em>d.vect.thematic</em> creates thematic maps from vector features of
|
|
|
-all types and numeric attributes stored in the attribute table connected to a vector
|
|
|
-map.
|
|
|
-
|
|
|
-<p>
|
|
|
-Thematic maps can be displayed by either a <i>graduated color
|
|
|
-scheme</i> (for all vector types), as <i>graduated icon sizes</i> (for
|
|
|
-point and centroid types), or <i>graduated line widths</i> (for lines
|
|
|
-and boundaries with associated attributes), see <b>themetype</b>
|
|
|
-option for details. The user selects the vector <b>map</b> to be
|
|
|
-mapped and attribute <b>column</b> from which to derive mapping
|
|
|
-intervals, and (optionally) the <b>layer</b> for attribute data.
|
|
|
-
|
|
|
-<p>In thematic maps, the color or point size changes for each range of
|
|
|
-attribute values. Value ranges for thematic mapping can be set at
|
|
|
-<i>regular intervals</i>, <i>standard deviation</i> units on either side of the
|
|
|
-<i>mean</i>, <i>quartiles</i>, or delimited by <i>user-defined
|
|
|
-breakpoints</i>, see <b>themecalc</b> option. User-defined
|
|
|
-breakpoints (<b>themecalc=custom_breaks</b>) can be entered
|
|
|
-via <b>breakpoints</b> option.
|
|
|
-
|
|
|
-<h2>NOTES</h2>
|
|
|
-
|
|
|
-<p>There is option <b>colorscheme</b> to define the color scheme
|
|
|
-(graduated colors) and range of point sizes (graduated points) for
|
|
|
-thematic maps.
|
|
|
-
|
|
|
-<p>
|
|
|
-Optionally, a simple text legend is printed when <b>-l</b> flag is
|
|
|
-given. A graphic legend can be drawn in the selected display monitor.
|
|
|
-
|
|
|
-<p>
|
|
|
-Thematic colors can be uploaded by <b>rgb_column</b> option
|
|
|
-to a specified attribute column (which is created automatically if
|
|
|
-doesn't exist in the table) for later display
|
|
|
-via <em><a href="d.vect.html">d.vect</a></em> and <b>rgb_column</b>
|
|
|
-option.
|
|
|
-
|
|
|
-<p>When the <b>psmap</b> option is set to 'name', two psmap instruction files are
|
|
|
-created (in the current directory if no path is given), one for the map
|
|
|
-('name.psmap') and one for the legend ('name_legend.psmap'). The map file also
|
|
|
-contains 'label' commands which allow to create a legend directly in the map by
|
|
|
-adding a 'vlegend' command. See the <em><a href="ps.map">ps.map</a></em> manual
|
|
|
-page for more details.
|
|
|
-
|
|
|
-<p>
|
|
|
-The algorithm currently uses the <em><a href="v.univar.html">v.univar</a></em> to calculate basic
|
|
|
-descriptive statistics needed for thematic mapping (minimum, maximum, mean,
|
|
|
-standard deviation, and quartiles).
|
|
|
-
|
|
|
-<h2>EXAMPLES</h2>
|
|
|
-
|
|
|
-Earthquake points with color gradient:
|
|
|
-
|
|
|
-<div class="code"><pre>
|
|
|
-d.vect.thematic -l recent_earthquakes column=magnitude type=point
|
|
|
-</pre></div>
|
|
|
-
|
|
|
-<p>Earthquake points with different sizes:
|
|
|
-
|
|
|
-<div class="code"><pre>
|
|
|
-d.vect.thematic -l recent_earthquakes column=magnitude type=point \
|
|
|
- themetype=graduated_points maxsize=15
|
|
|
-</pre></div>
|
|
|
-
|
|
|
-<center>
|
|
|
-<img src="d_vect_thematic_equake.png"><br>
|
|
|
-Example for earthquake map rendering
|
|
|
-(<a href="https://trac.osgeo.org/grass/browser/grass-promo/tutorials/batch_processing/earthquakes">script code</a>)
|
|
|
-</center>
|
|
|
-
|
|
|
-<p>North Carolina: differences between 'elevation' (10m) and 'elev_state_500m':
|
|
|
-
|
|
|
-<div class="code"><pre>
|
|
|
-# random sampling of elevation points:
|
|
|
-g.region raster=elevation -p
|
|
|
-v.random random npoints=200
|
|
|
-v.db.addtable random column="el10 double precision"
|
|
|
-# transfer elevations to attribute table of random points map:
|
|
|
-v.what.rast random rast=elevation column=el10
|
|
|
-v.db.select random
|
|
|
-
|
|
|
-# comparative sampling of second map, incl. differences:
|
|
|
-v.sample input=random column=el10 raster=elev_state_500m output=elev_sample
|
|
|
-v.db.select elev_sample
|
|
|
-
|
|
|
-# univariate statistics:
|
|
|
-v.univar -e elev_sample column=diff type=point
|
|
|
-
|
|
|
-# thematic map:
|
|
|
-d.mon wx0
|
|
|
-d.vect.thematic -l elev_sample column=diff type=point
|
|
|
-</pre></div>
|
|
|
-
|
|
|
-<p>
|
|
|
-North Carolina sample dataset example:
|
|
|
-
|
|
|
-<div class="code"><pre>
|
|
|
-g.region vector=nc_state
|
|
|
-d.vect.thematic -l precip_30ynormals column=annual type=point
|
|
|
-</pre></div>
|
|
|
-
|
|
|
-<h2>SEE ALSO</h2>
|
|
|
-
|
|
|
-<em>
|
|
|
-<a href="d.vect.html">d.vect</a>,
|
|
|
-<a href="d.vect.chart.html">d.vect.chart</a>,
|
|
|
-<a href="v.univar.html">v.univar</a>
|
|
|
-</em>
|
|
|
-
|
|
|
-<h2>AUTHORS</h2>
|
|
|
-
|
|
|
-Michael Barton, Arizona State University
|
|
|
-
|
|
|
-<p>
|
|
|
-Various updates by:<br>
|
|
|
-Daniel Cavelo Aros,<br>
|
|
|
-Martin Landa,<br>
|
|
|
-Jachym Cepicky.
|
|
|
-
|
|
|
-<p>
|
|
|
- <i>Last changed: $Date: 2008-08-15 08:16:42 +0200 (Fri, 15 Aug 2008)$</i>
|