[GRASS-SVN] r48559 - in grass/trunk: display/d.colors
display/d.grid display/d.his doc/vector general/g.tempfile
imagery/i.class imagery/i.points imagery/i.vpoints ps/ps.map
scripts/g.manual vector/v.label vector/v.univar
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Sep 29 16:01:31 EDT 2011
Author: neteler
Date: 2011-09-29 13:01:31 -0700 (Thu, 29 Sep 2011)
New Revision: 48559
Modified:
grass/trunk/display/d.colors/d.colors.html
grass/trunk/display/d.grid/d.grid.html
grass/trunk/display/d.his/d.his.html
grass/trunk/doc/vector/vector.html
grass/trunk/general/g.tempfile/g.tempfile.html
grass/trunk/imagery/i.class/i.class.html
grass/trunk/imagery/i.points/i.points.html
grass/trunk/imagery/i.vpoints/i.vpoints.html
grass/trunk/ps/ps.map/ps.map.html
grass/trunk/scripts/g.manual/g.manual.html
grass/trunk/vector/v.label/v.label.html
grass/trunk/vector/v.univar/v.univar.html
Log:
use lowercase HTML tags
Modified: grass/trunk/display/d.colors/d.colors.html
===================================================================
--- grass/trunk/display/d.colors/d.colors.html 2011-09-29 19:48:00 UTC (rev 48558)
+++ grass/trunk/display/d.colors/d.colors.html 2011-09-29 20:01:31 UTC (rev 48559)
@@ -40,7 +40,7 @@
screen, and the current status of categories appears in the left half of the
screen.
-<PRE>
+<pre>
CATEGORIES
0 No Data
1 (Category 1 description)
@@ -69,7 +69,7 @@
* Replot screen Replots the screen
QUITTING
Q quit Quits program
-</PRE>
+</pre>
Changing categories - The keys
<b>"d, D, u,"</b>
@@ -159,16 +159,16 @@
<b>Q</b> key will cause you to quit the <em>d.colors</em>
program. If colors have been modified but not saved,
<em>d.colors</em> will ask:
-<PRE>
+<pre>
Colors changed
Save the changes? (y/n)
-</PRE>
+</pre>
The user should type in <b>y</b> to save changes,
or <b>n</b> to not save changes, before quitting the program.
If the user types <b>n</b>, the program will ask:
-<PRE>
+<pre>
Quit anyway? (y/n)
-</PRE>
+</pre>
<h2>NOTES</h2>
<p>
Modified: grass/trunk/display/d.grid/d.grid.html
===================================================================
--- grass/trunk/display/d.grid/d.grid.html 2011-09-29 19:48:00 UTC (rev 48558)
+++ grass/trunk/display/d.grid/d.grid.html 2011-09-29 20:01:31 UTC (rev 48559)
@@ -52,17 +52,17 @@
<h2>EXAMPLES</h2>
To draw a red geographic grid with 30 minute grid spacing run
either of the following:
-<PRE>
+<pre>
d.grid -g size=00:30:00 color=red
-</PRE>
+</pre>
or
-<PRE>
+<pre>
d.grid -g size=0.5 color=255:0:0
-</PRE>
+</pre>
To draw a blue standard rectangular grid at a 500 (meter) spacing run the following:
-<PRE>
+<pre>
d.grid size=500 color=blue
-</PRE>
+</pre>
<br>
<h2>SEE ALSO</h2>
Modified: grass/trunk/display/d.his/d.his.html
===================================================================
--- grass/trunk/display/d.his/d.his.html 2011-09-29 19:48:00 UTC (rev 48558)
+++ grass/trunk/display/d.his/d.his.html 2011-09-29 20:01:31 UTC (rev 48559)
@@ -86,7 +86,7 @@
The name is misleading. The actual conversion used is
-<PRE>
+<pre>
<U>H</U>.i.s + <U>G</U>.(1-s)
where
@@ -96,7 +96,7 @@
s is the red value from the saturation map
<U>G</U> is 50% gray (R = G = B = 0.5)
-</PRE>
+</pre>
<p>
Modified: grass/trunk/doc/vector/vector.html
===================================================================
--- grass/trunk/doc/vector/vector.html 2011-09-29 19:48:00 UTC (rev 48558)
+++ grass/trunk/doc/vector/vector.html 2011-09-29 20:01:31 UTC (rev 48559)
@@ -30,7 +30,7 @@
<H3>Head</H3>
The head of the file is similar as the head file of vector binary
format but contains bounding box also. Key words are:<br>
-<PRE>
+<pre>
ORGANIZATION
DIGIT DATE
DIGIT NAME
@@ -44,15 +44,15 @@
SOUTH EDGE
NORTH EDGE
MAP THRESH
-</PRE>
+</pre>
<H3>Body</H3>
The body begins with the row:
-<PRE>
+<pre>
VERTI:
-</PRE>
+</pre>
followed by records of lines:
-<PRE>
+<pre>
TYPE NUMBER_OF_COORDINATES [NUMBER_OF_CATEGORIES]
X Y [Z]
....
@@ -60,7 +60,7 @@
[ FIELD CATEGORY]
....
[ FIELD CATEGORY]
-</PRE>
+</pre>
Everything above in <b>[ ]</b> is optional.
Note the coordinate order in the old version (Y X) has been changed
@@ -83,7 +83,7 @@
<br>
Example of records:
-<PRE>
+<pre>
P 1 1
1234 3435
1 354
@@ -92,7 +92,7 @@
1453 1454
1453 4543
1 355
-</PRE>
+</pre>
<HR>
<h2><A NAME="example">Vector module programming example</A></h2>
Modified: grass/trunk/general/g.tempfile/g.tempfile.html
===================================================================
--- grass/trunk/general/g.tempfile/g.tempfile.html 2011-09-29 19:48:00 UTC (rev 48558)
+++ grass/trunk/general/g.tempfile/g.tempfile.html 2011-09-29 20:01:31 UTC (rev 48559)
@@ -21,15 +21,15 @@
<h2>EXAMPLE</h2>
For /bin/sh scripts the following syntax should be used:
-<div class="code"><PRE>
+<div class="code"><pre>
temp1=`g.tempfile pid=$$`
temp2=`g.tempfile pid=$$`
-</PRE></div>
+</pre></div>
For /bin/csh scripts, the following can be used:
-<div class="code"><PRE>
+<div class="code"><pre>
set temp1=`g.tempfile pid=$$`
set temp2=`g.tempfile pid=$$`
-</PRE></div>
+</pre></div>
<h2>NOTES</h2>
Modified: grass/trunk/imagery/i.class/i.class.html
===================================================================
--- grass/trunk/imagery/i.class/i.class.html 2011-09-29 19:48:00 UTC (rev 48558)
+++ grass/trunk/imagery/i.class/i.class.html 2011-09-29 20:01:31 UTC (rev 48559)
@@ -55,7 +55,7 @@
to be analyzed:
-<div class="code"><PRE>
+<div class="code"><pre>
LOCATION: location SUPERVISED CLASSIFIER MAPSET: demo
Please select the group and subgroup to be analyzed
@@ -66,7 +66,7 @@
AFTER COMPLETING ALL ANSWERS, HIT <ESC> TO CONTINUE
(OR <Ctrl-C> TO CANCEL)
-</PRE></div>
+</pre></div>
<p>
@@ -119,7 +119,7 @@
The display frame layout that <em>i.class</em> uses is
represented below for reference.
-<div class="code"><PRE>
+<div class="code"><pre>
+-----------------------+---------------------------+
| | |
| | Map Display Frame |
@@ -142,7 +142,7 @@
+-----------------------+---------------------------+
| Menu Frame |
+---------------------------------------------------+
-</PRE></div>
+</pre></div>
<h2>THE MENUS</h2>
Modified: grass/trunk/imagery/i.points/i.points.html
===================================================================
--- grass/trunk/imagery/i.points/i.points.html 2011-09-29 19:48:00 UTC (rev 48558)
+++ grass/trunk/imagery/i.points/i.points.html 2011-09-29 20:01:31 UTC (rev 48559)
@@ -64,21 +64,21 @@
before <em>i.points</em>, the <em>i.points</em> program
will display the following error message:
-<PRE>
+<pre>
ERROR: Target information for group [spot] missing
Please run i.target for group [spot]
-</PRE>
+</pre>
After entering the group to be registered the terminal screen
displays the message:
-<PRE>
+<pre>
Use mouse now...
-</PRE>
+</pre>
The graphics monitor displays the following screen:
-<PRE>
+<pre>
______________________________________________________________
| imagery filename (mag) | target filename (mag) |
|_________________________________|___________________________|
@@ -100,13 +100,13 @@
|_________________________________|___________________________|
| QUIT ZOOM PLOT RASTER ANALYZE| |
|_________________________________|___________________________|
-</PRE>
+</pre>
A pop-down menu like that shown below will be superimposed on the
left half of the screen:
-<PRE>
+<pre>
__________________________________
| Double click on raster map layer|
| to be plotted |
@@ -122,7 +122,7 @@
|__________|________|
| spot.3 | |
|__________|________|
-</PRE>
+</pre>
Any single raster map layer in the
@@ -153,11 +153,11 @@
place the mouse cross hairs on the word ZOOM. The following menu
will then be displayed at the bottom of the screen:
-<PRE>
+<pre>
____________________________________________
| Cancel| Box| Point| Select type of ZOOM|
|_______|_____|_______|_____________________|
-</PRE>
+</pre>
The user has the option of identifying the zoom region
@@ -178,7 +178,7 @@
menu:
-<PRE>
+<pre>
___________________________________________________________
| Point 1 marked on the image at| |
| East: 1023.77 | |
@@ -191,7 +191,7 @@
|__________________________________________________________|
| Enter coordinates as east north: |
|__________________________________________________________|
-</PRE>
+</pre>
The user then enters the easting and northing (separated by
a space) for the point marked on the image. If the user
@@ -210,11 +210,11 @@
graphics monitor:
-<PRE>
+<pre>
________________________________________________
| Cancel| Indicate which side should be plotted|
|_______|_______________________________________|
-</PRE>
+</pre>
Which side of the graphics monitor is to be plotted
is indicated by placing the mouse cross hairs on the
@@ -223,7 +223,7 @@
menu will be superimposed on the half of the screen that was chosen:
-<PRE>
+<pre>
_________________________________________
| Double click on raster (cell) map layer|
| to be plotted |
@@ -247,17 +247,17 @@
|______________|______________|
| roads | |
|______________|______________|
-</PRE>
+</pre>
After the raster map layer is displayed the following message appears
at the bottom of the graphics monitor:
-<PRE>
+<pre>
______________________________________
| input method -->| keyboard| screen|
|_________________|__________|________|
-</PRE>
+</pre>
If the user wishes to use the plotted raster map layer only
as a comparative reference, then the keyboard can be chosen
@@ -277,7 +277,7 @@
terminal:
-<PRE>
+<pre>
___________________________________________________________
| Point 5 marked on the image at| |
| East: 1023.77 | |
@@ -295,7 +295,7 @@
|__________________________________________________________|
| use mouse now... |
|__________________________________________________________|
-</PRE>
+</pre>
The user then uses the mouse to mark a corresponding point
@@ -314,7 +314,7 @@
the graphics monitor:
-<PRE>
+<pre>
______________________________________________________________________
| error image target |
|# row col target east north east north |
@@ -328,15 +328,15 @@
|____________________________________________________________________|
| overall rms error: 4.46 |
|____________________________________________________________________|
-</PRE>
+</pre>
The following menu then appears at the bottom of the graphics monitor:
-<PRE>
+<pre>
____________________________________________________________________
| DONE| PRINT FILE| Double click on point to be included/excluded|
|_____|____________|________________________________________________|
-</PRE>
+</pre>
The RMS error for the image is given under the column
TITLEd "error" and subTITLEd "row" and "col". In the above
Modified: grass/trunk/imagery/i.vpoints/i.vpoints.html
===================================================================
--- grass/trunk/imagery/i.vpoints/i.vpoints.html 2011-09-29 19:48:00 UTC (rev 48558)
+++ grass/trunk/imagery/i.vpoints/i.vpoints.html 2011-09-29 20:01:31 UTC (rev 48559)
@@ -63,13 +63,13 @@
be registered . . .
-<PRE>
+<pre>
Enter imagery group to be registered
Enter 'list' for a list of existing imagery groups
Enter 'list -f' for a verbose listing
Hit RETURN to cancel request
>
-</PRE>
+</pre>
For example,
@@ -79,14 +79,14 @@
might produce the following response:
-<PRE>
+<pre>
<list>
Available groups
- - - - - - - - - - - - - - - - - - - - - - - - - -
test
- - - - - - - - - - - - - - - - - - - - - - - - - -
hit RETURN to continue -->
-</PRE>
+</pre>
whereas,
<dl>
<dd>><b>list -f</b>
@@ -94,7 +94,7 @@
might produce the following response
-<PRE>
+<pre>
Available groups
- - - - - - - - - - - - - - - - - - - - - - - - - -
test
@@ -102,16 +102,16 @@
res2 in tifftest
- - - - - - - - - - - - - - - - - - - - - - - - - -
hit RETURN to continue -->
-</PRE>
+</pre>
The imagery group entered above should contain the files
that you wish to rectify. After entering the group to be
registered, the terminal screen displays the message:
-<PRE>
+<pre>
>test
<test>
Use mouse now . . .
-</PRE>
+</pre>
And the color graphics monitor displays the following
screen:
@@ -161,29 +161,29 @@
"refresh" or re-draw the displayed vector data. This function will
erase all outlines showing the limits of previously zoomed areas.
A "yes/no" roompt will appear:
-<PRE>
+<pre>
Refresh Map ? NO YES
-</PRE>
+</pre>
<p>
<b>Zoom</b>
<p>
To enlarge a raster or vector image, place the mouse cross
hairs on the word zoom on the main menu and press the left button.
The following menu will be displayed at the bottom. of the screen:
-<PRE>
+<pre>
CANCEL BOX POINT Select type of zoom
-</PRE>
+</pre>
You have the option to identify the map extent of the zoom window
using either the mouse to define a box, or the mouse to mark a
center point from which to enlarge the image. The box option first
prompts you to identify a starting corner for the zoom region and
then allows you to define the area to be zoomed using a rubber band
box. The prompts appear as follows...
-<PRE>
+<pre>
CANCEL Mark the first corner of region
CANCEL Define the region
-</PRE>
+</pre>
After marking the first corner of the region to be enlarged, hold
down the left button and move the mouse to change the size and
shape of the rubber band box. After defining the area to be
@@ -225,13 +225,13 @@
find the exact spot) and press the left hand button on the mouse.
A diamond shaped symbol will be marked on the image. The text
monitor will display the following screen:
-<PRE>
+<pre>
Point 1 marked on the image at
East: 1023.77
North: -164.41
Enter coordinates as east north:
-</PRE>
+</pre>
<b>Analyze</b>
<p>
@@ -241,7 +241,7 @@
checked. This is done by placing the cross hairs on the word
ANALYZE on the main menu at the bottom of the monitor. The
following error report is superimposed on the monitor:
-<PRE>
+<pre>
error image target
# col row target east north east north
@@ -252,7 +252,7 @@
.
.
Overall rms error 76.85
-</PRE>
+</pre>
The RMS error for the image being rectified is recorded under
the column "error" and subTITLEd "row' and "col". In the above
@@ -282,10 +282,10 @@
described above.
<p>
The following menu appears at the bottom of the monitor:
-<PRE>
+<pre>
DONE PRINT FILE OVERLAY DELETE ON Transformation -
-> 1st ORDER Double click on point to be DELETED
-</PRE>
+</pre>
Selecting DELETE ON will toggle the option to DELETE OFF, the
toggle option is used to allow the user to physically remove a
control point from the POINTS file instead of just flagging it as
@@ -299,14 +299,14 @@
in the upper left window of the color screen. An inverse
coordinate transformation is performed using the currently active
order of transformation (i.e., first, second, or third).
-<PRE>
+<pre>
Overlay vectors on raster image NO YES
-</PRE>
+</pre>
By selecting the 1st ORDER option, the user may select the order of
transformation desired:
-<PRE>
+<pre>
Select order of transformation --> 1st Order 2nd Order 3rd Order
-</PRE>
+</pre>
The program will immediately recalculate the RMSE and the number of
points required.
<p>
Modified: grass/trunk/ps/ps.map/ps.map.html
===================================================================
--- grass/trunk/ps/ps.map/ps.map.html 2011-09-29 19:48:00 UTC (rev 48558)
+++ grass/trunk/ps/ps.map/ps.map.html 2011-09-29 20:01:31 UTC (rev 48559)
@@ -56,9 +56,9 @@
<tt>UTF-8</tt>), you have to transform your file to the <tt>ISO-8859-1</tt>
encoding, for example by using the <tt>iconv</tt> utility:
-<DIV class="code"><PRE>
+<div class="code"><pre>
iconv -f UTF-8 -t ISO_8859-1 utf_file > iso_file
-</PRE></DIV>
+</pre></div>
<p><p>
@@ -200,12 +200,12 @@
<h2>border</h2>
Controls the border which is drawn around the map area.
-<PRE>
+<pre>
USAGE: <b>border</b> [y|n]
<b>color</b> color
<b>width</b> #
<b>end</b>
-</PRE>
+</pre>
The <b>color</b> may be either a standard GRASS color, a R:G:B triplet,
or "none". The width is specified in points, unless followed by an "i"
in which case it is measured in inches.
@@ -218,13 +218,13 @@
<p>
This example would create a grey border 0.1" wide.
-<PRE>
+<pre>
EXAMPLE:
<b>border</b>
<b>color</b> grey
<b>width</b> 0.1i
<b>end</b>
-</PRE>
+</pre>
<p>
@@ -232,7 +232,7 @@
<h2>colortable</h2>
Prints the color table legend for the raster map layer anywhere on the page.
-<PRE>
+<pre>
USAGE: <b>colortable</b> [y|n]
<b>where</b> x y
<b>raster</b> raster map
@@ -247,7 +247,7 @@
<b>tickbar</b> [y|N]
<b>discrete</b> [y|n]
<b>end</b>
-</PRE>
+</pre>
For a categorical (CELL) map the color table will create a legend displaying
the colors for each of a raster map's category values along with its
@@ -316,13 +316,13 @@
<p>
This example would print a color table immediately below any other map legend
information, starting at the left margin, with 4 columns:
-<PRE>
+<pre>
EXAMPLE:
<b>colortable</b> y
<b>cols</b> 4
<b>width</b> 4
<b>end</b>
-</PRE>
+</pre>
<p>
@@ -330,20 +330,20 @@
<h2>comments</h2>
Prints comments anywhere on the page.
-<PRE>
+<pre>
USAGE: <b>comments</b> commentfile
<b>where</b> x y
<b>font</b> font name
<b>fontsize</b> font size
<b>color</b> text color
<b>end</b>
-</PRE>
+</pre>
The default location is immediately below the last item item printed,
starting at the left margin. The default text color is black.
<p>
If you wish to use parentheses spanning multiple lines you will need to
quote them with a backslash to prevent the PostScript interpreter from
-getting confused. e.g. '<b><TT>\(</TT></b>' and '<b><TT>\)</TT></b>'
+getting confused. e.g. '<b><tt>\(</tt></b>' and '<b><tt>\)</tt></b>'
<p>
@@ -351,7 +351,7 @@
whatever is in the file <em>veg.comments</em> starting at
1.5 inches from the left edge of the page and 7.25 inches from the top of
the page, using a 15/72 inch Helvetica Bold font.
-<PRE>
+<pre>
EXAMPLE:
<b>raster</b> vegetation
<b>comments</b> veg.comments
@@ -360,7 +360,7 @@
<b>fontsize</b> 15
<b>color</b> blue
<b>end</b>
-</PRE>
+</pre>
Presumably, the file
<em>veg.comments</em>
contain comments
@@ -373,9 +373,9 @@
<h2>copies</h2>
Specifies the number of copies to be printed.
-<PRE>
+<pre>
USAGE: <b>copies</b> n
-</PRE>
+</pre>
Each page will be printed n times.
<p>
This instruction is identical to the <em>copies</em> command line parameter.
@@ -386,7 +386,7 @@
<h2>eps</h2>
Places EPS (Encapsulated PostScript) pictures on the output map.
-<PRE>
+<pre>
USAGE: <b>eps</b> east north
<b>eps</b> x% y%
<b>epsfile</b> EPS file
@@ -394,7 +394,7 @@
<b>rotate</b> #
<b>masked</b> [y|n]
<b>end</b>
-</PRE>
+</pre>
The EPS picture location is entered in the main
instruction line by giving either the map
coordinates or by using percentages of the geographic region.
@@ -413,7 +413,7 @@
at the point (E456000 N7890000). This picture would be
rotated 20 degrees clockwise, 3 times bigger than
in original file and would not be masked by the current mask.
-<PRE>
+<pre>
EXAMPLE:
<b>eps</b> 456000 7890000
<b>epsfile</b> ./epsf/logo.eps
@@ -421,7 +421,7 @@
<b>rotate</b> 20
<b>masked</b> n
<b>end</b>
-</PRE>
+</pre>
Of course, multiple EPS pictures may be drawn with multiple
<em>eps</em>
instructions.
@@ -432,7 +432,7 @@
<h2>geogrid</h2>
Overlays a geographic grid onto the output map.
-<PRE>
+<pre>
USAGE: <b>geogrid</b> spacing unit
<b>color</b> color
<b>numbers</b> # [color]
@@ -440,7 +440,7 @@
<b>fontsize</b> font size
<b>width</b> #
<b>end</b>
-</PRE>
+</pre>
The <b>spacing</b> and spacing unit of the geographic grid is given
on the main instruction line. The <b>spacing</b> unit is given as one of <b>d</b> for
degrees, <b>m</b> for minutes, and <b>s</b> for seconds.
@@ -463,13 +463,13 @@
This example would overlay a blue geographic grid with a spacing of 30 minutes
onto the output map. Alternate grid
lines would be numbered with yellow numbers.
-<PRE>
+<pre>
EXAMPLE:
<b>geogrid</b> 30 m
<b>color</b> blue
<b>numbers</b> 2 yellow
<b>end</b>
-</PRE>
+</pre>
<p>
@@ -477,9 +477,9 @@
<h2>greyrast</h2>
Selects a raster map layer for output in shades of grey.
-<PRE>
+<pre>
USAGE: <b>greyrast</b> mapname
-</PRE>
+</pre>
For each
<em>ps.map</em>
run, only one raster map layer can be requested (using either the
@@ -491,7 +491,7 @@
<h2>grid</h2>
Overlays a coordinate grid onto the output map.
-<PRE>
+<pre>
USAGE: <b>grid</b> spacing
<b>color</b> color
<b>numbers</b> # [color]
@@ -500,7 +500,7 @@
<b>fontsize</b> font size
<b>width</b> #
<b>end</b>
-</PRE>
+</pre>
The <b>spacing</b> of the grid is given (in the geographic coordinate
system units) on the main instruction line. The subsection instructions
allow the user to specify
@@ -518,13 +518,13 @@
This example would overlay a green grid with a spacing of 10000 meters
(for a metered database, like UTM) onto the output map. Alternate grid
lines would be numbered with red numbers.
-<PRE>
+<pre>
EXAMPLE:
<b>grid</b> 10000
<b>color</b> green
<b>numbers</b> 2 red
<b>end</b>
-</PRE>
+</pre>
<p>
@@ -532,9 +532,9 @@
<h2>group</h2>
Selects an RGB imagery group for output.
-<PRE>
+<pre>
USAGE: <b>group</b> <em>groupname</em>
-</PRE>
+</pre>
This is similar to <em>raster</em>, except that it uses an imagery group
instead of a raster map layer. The group must contain three raster map
layers, comprising the red, green and blue bands of the image.
@@ -545,14 +545,14 @@
<h2>header</h2>
Prints the map header above the map.
-<PRE>
+<pre>
USAGE: <b>header</b>
<b>file</b> header file
<b>font</b> font name
<b>fontsize</b> font size
<b>color</b> text color
<b>end</b>
-</PRE>
+</pre>
If the <em>file</em> sub-instruction is absent the header will consist
of the map's title <!-- from hist file -->
and the location's description.<!-- PERMANENT/MYNAME -->
@@ -595,7 +595,7 @@
This example prints (in red) whatever is in the file <em>soils.hdr</em> above
the map, using a 20/72 inch <tt>Courier</tt> font.
-<PRE>
+<pre>
EXAMPLE:
<b>header</b>
<b>file</b> soils.hdr
@@ -603,7 +603,7 @@
<b>fontsize</b> 20
<b>color</b> red
<b>end</b>
-</PRE>
+</pre>
<p>
@@ -614,11 +614,11 @@
<em>
<a href="v.label.html">v.label</A>
).</em>
-<PRE>
+<pre>
USAGE: <b>labels</b> labelfile
<b>font</b> font name
<b>end</b>
-</PRE>
+</pre>
<p>
NOTE: ps.map can read new option 'ROTATE:' from labels file, which
specifies counter clockwise rotation in degrees.
@@ -626,11 +626,11 @@
This example would paint labels from the labels file called
<em>town.names</em>. Presumably, these labels would indicate the names of
towns on the map.
-<PRE>
+<pre>
EXAMPLE:
<b>labels</b> town.names
<b>end</b>
-</PRE>
+</pre>
<p>
@@ -638,14 +638,14 @@
<h2>line</h2>
Draws lines on the output map.
-<PRE>
+<pre>
USAGE: <b>line</b> east north east north
<b>line</b> x% y% x% y%
<b>color</b> color
<b>width</b> #
<b>masked</b> [y|n]
<b>end</b>
-</PRE>
+</pre>
The beginning and ending points of the line are entered on the main
instruction. These points can be defined either by map coordinates or
by using percentages of the geographic region.
@@ -663,14 +663,14 @@
to the point x=30% y=70%.
This line would be 2 points wide (2/72") and would appear even if
there is a mask.
-<PRE>
+<pre>
EXAMPLE:
<b>line</b> 10% 80% 30% 70%
<b>color</b> yellow
<b>width</b> 2
<b>masked</b> n
<b>end</b>
-</PRE>
+</pre>
Of course, multiple lines may be drawn with multiple
<em>line</em>
instructions.
@@ -682,7 +682,7 @@
Prints the portion of the map legend containing the scale, grid and
region information, on or below the map.
-<PRE>
+<pre>
USAGE: <b>mapinfo</b>
<b>where</b> x y
<b>font</b> font name
@@ -691,7 +691,7 @@
<b>background</b> box color|none
<b>border</b> color|none
<b>end</b>
-</PRE>
+</pre>
The default location is immediately below the map,
starting at the left edge of the map.
The default text color is black.
@@ -705,7 +705,7 @@
immediately below the map and starting 1.5 inches from the left edge
of the page, using a 12/72 inch <tt>Courier</tt> font.
-<PRE>
+<pre>
EXAMPLE:
<b>mapinfo</b>
<b>where</b> 1.5 0
@@ -713,7 +713,7 @@
<b>fontsize</b> 12
<b>color</b> brown
<b>end</b>
-</PRE>
+</pre>
<p>
@@ -721,9 +721,9 @@
<h2>maploc</h2>
Positions the map on the page.
-<PRE>
+<pre>
USAGE: <b>maploc</b> x y [width height]
-</PRE>
+</pre>
The upper left corner of the map will be positioned <em>x</em> inches from
the left edge of the page and <em>y</em> inches from the top of the page.
If <em>width</em> and <em>height</em> (in inches) are present, the map will be
@@ -733,10 +733,10 @@
This example positions the upper left corner of the map 2.0 inches from
the left edge and 3.5 inches from the top edge of the map.
-<PRE>
+<pre>
EXAMPLE:
<b>maploc</b> 2.0 3.5
-</PRE>
+</pre>
<p>
@@ -744,21 +744,21 @@
<h2>maskcolor</h2>
Color to be used for mask.
-<PRE>
+<pre>
USAGE: <b>maskcolor</b> color
-</PRE>
+</pre>
<a name="outline"></a>
<h2>outline</h2>
Outlines the areas of a raster map layer with a specified color.
-<PRE>
+<pre>
USAGE: <b>outline</b>
<b>color</b> color
<b>width</b> width of line in points
<b>end</b>
-</PRE>
+</pre>
Distinct areas of the raster map will be separated from each other visually
by drawing a border (or outline) in the specified
<b>color</b>
@@ -777,14 +777,14 @@
<em>soils</em>
raster map layer
in grey.
-<PRE>
+<pre>
EXAMPLE:
<b>raster</b> soils
<b>outline</b>
<b>color</b> grey
<b>width</b> 2
<b>end</b>
-</PRE>
+</pre>
<p>
@@ -792,7 +792,7 @@
<h2>paper</h2>
Specifies paper size and margins.
-<PRE>
+<pre>
USAGE: <b>paper</b> paper name
<b>height</b> #
<b>width</b> #
@@ -801,7 +801,7 @@
<b>bottom</b> #
<b>top</b> #
<b>end</b>
-</PRE>
+</pre>
<b>paper</b> may select predefined paper name
(a4,a3,a2,a1,a0,us-legal,us-letter,us-tabloid).
Default paper size is a4. The measures are defined in <em>inches</em>.
@@ -810,13 +810,13 @@
are applied to the <em>rotated</em> page.
<p>
-<PRE>
+<pre>
EXAMPLE:
<b>paper</b> a3
<b>end</b>
-</PRE>
+</pre>
<p>
-<PRE>
+<pre>
EXAMPLE:
<b>paper</b>
<b>width</b> 10
@@ -826,7 +826,7 @@
<b>bottom</b> 2
<b>top</b> 2
<b>end</b>
-</PRE>
+</pre>
<p>
@@ -834,7 +834,7 @@
<h2>point</h2>
Places additional points or icons on the output map.
-<PRE>
+<pre>
USAGE: <b>point</b> east north
<b>point</b> x% y%
<b>color</b> color
@@ -845,7 +845,7 @@
<b>rotate</b> #
<b>masked</b> [y|n]
<b>end</b>
-</PRE>
+</pre>
The point location is entered in the main instruction line by giving either
the map coordinates or by using percentages of the geographic region.
The user may also specify the point <b>color</b>,
@@ -862,7 +862,7 @@
This example would place a purple diamond (from icon file
<em>diamond</em>) at the point (E456000 N7890000). This diamond would be the
the size of a 15 points and would not be masked by the current mask.
-<PRE>
+<pre>
EXAMPLE:
<b>point</b> 456000 7890000
<b>fcolor</b> purple
@@ -871,7 +871,7 @@
<b>size</b> 15
<b>masked</b> n
<b>end</b>
-</PRE>
+</pre>
Of course, multiple points may be drawn with multiple
<em>point</em>
instructions.
@@ -890,14 +890,14 @@
will not search for this file. The user must be in the
correct directory or specify the full path on the <b>psfile</b> instruction.
(Note to /bin/csh users: ~ won't work with this instruction).
-<PRE>
+<pre>
USAGE: <b>psfile</b> filename
-</PRE>
+</pre>
This example copies the file "logo.ps" into the output file.
-<PRE>
+<pre>
EXAMPLE:
<b>psfile</b> logo.ps
-</PRE>
+</pre>
<p>
@@ -905,9 +905,9 @@
<h2>raster</h2>
Selects a raster map layer for output.
-<PRE>
+<pre>
USAGE: <b>raster</b> mapname
-</PRE>
+</pre>
For each <em>ps.map</em> run, only one raster map layer (or set
of layers or imagery group; see below) can be requested. If no
raster map layer is requested, a completely white map will be
@@ -924,10 +924,10 @@
<p>
This example would paint a map of the raster map layer <em>soils</em>.
-<PRE>
+<pre>
EXAMPLE:
<b>raster</b> soils
-</PRE>
+</pre>
<p>
@@ -935,9 +935,9 @@
<h2>read</h2>
Provides <em>ps.map</em> with a previously prepared input stream.
-<PRE>
+<pre>
USAGE: <b>read</b> previously prepared UNIX file
-</PRE>
+</pre>
Mapping instructions can be placed into a file and read into
<em>ps.map.</em>
@@ -954,10 +954,10 @@
This example reads the UNIX file <em>pmap.roads</em> into <em>ps.map</em>.
This file may contain all the <em>ps.map</em> instructions for placing
the vector map layer <em>roads</em> onto the output map.
-<PRE>
+<pre>
EXAMPLE:
<b>read</b> pmap.roads
-</PRE>
+</pre>
The user may have created this file because this vector map layer
is particularly useful for many <em>ps.map</em>
outputs. By using the <b>read</b> option, the user need not enter all the input
@@ -970,7 +970,7 @@
<h2>rectangle</h2>
Draws rectangle on the output map.
-<PRE>
+<pre>
USAGE: <b>rectangle</b> east north east north
<b>rectangle</b> x% y% x% y%
<b>color</b> color
@@ -978,7 +978,7 @@
<b>width</b> #
<b>masked</b> [y|n]
<b>end</b>
-</PRE>
+</pre>
The two corners of the rectangle are entered on the main
instruction. These points can be defined either by map coordinates or
by using percentages of the geographic region.
@@ -998,7 +998,7 @@
This example would draw a yellow rectangle filled by green from the point x=10% y=80%
to the point x=30% y=70%.
The border line would be 1/16" wide and would appear even if there is a mask.
-<PRE>
+<pre>
EXAMPLE:
<b>rectangle</b> 10% 80% 30% 70%
<b>color</b> yellow
@@ -1006,7 +1006,7 @@
<b>width</b> 0.0625i
<b>masked</b> n
<b>end</b>
-</PRE>
+</pre>
<p>
@@ -1015,12 +1015,12 @@
Places the outline of a smaller geographic region
on the output.
-<PRE>
+<pre>
USAGE: <b>region</b> regionfile
<b>color</b> color
<b>width</b> #
<b>end</b>
-</PRE>
+</pre>
Geographic region settings are created and saved using <em> the
<a href="g.region.html">g.region</A></em> module.
The <em>ps.map</em> <em>region</em> option can be used to show an outline of
@@ -1036,13 +1036,13 @@
geographic region called <em>fire.zones</em> onto the output map.
This geographic region would have been created and saved using
<em><a href="g.region.html">g.region</A></em>.
-<PRE>
+<pre>
EXAMPLE:
<b>region</b> fire.zones
<b>color</b> white
<b>width</b> 2
<b>end</b>
-</PRE>
+</pre>
<p>
@@ -1050,9 +1050,9 @@
<h2>rgb</h2>
Selects three raster map layers for output as an RGB color image.
-<PRE>
+<pre>
USAGE: <b>rgb</b> <em>red</em> <em>green</em> <em>blue</em>
-</PRE>
+</pre>
This is similar to <em>raster</em>, except that it uses three
raster map layers instead of a single layer. The three layers
are composed to form a color image, similar to <em>d.rgb</em>.
@@ -1070,9 +1070,9 @@
<h2>scale</h2>
Selects a scale for the output map.
-<PRE>
+<pre>
USAGE: <b>scale</b> <em>scale</em>
-</PRE>
+</pre>
The scale can be selected either as:
<dl>
<dt>
@@ -1091,10 +1091,10 @@
This example would set the scale of the map to 1 unit = 25000
units.
-<PRE>
+<pre>
EXAMPLE:
<b>scale</b> 1:25000
-</PRE>
+</pre>
<p>
@@ -1102,7 +1102,7 @@
<h2>scalebar</h2>
Draws a scalebar on the map.
-<PRE>
+<pre>
USAGE: <b>scalebar</b> [f|s]
<b>where</b> x y
<b>length</b> overall distance in map units
@@ -1113,7 +1113,7 @@
<b>fontsize</b> font size
<b>background</b> [Y|n]
<b>end</b>
-</PRE>
+</pre>
Draw one of two types of scale bar.
Fancy (f) draws alternating black and white scale boxes.
Simple (s) draws a plain line scale. The default type is fancy.
@@ -1140,7 +1140,7 @@
like UTM) long, with tics every 200 meters, labeled every second tic.
The scalebar is drawn 5 inches from the top and 4 inches from the left
and is 0.25 inches high.
-<PRE>
+<pre>
EXAMPLE:
<b>scalebar</b> s
<b>where</b> 4 5
@@ -1149,7 +1149,7 @@
<b>segment</b> 5
<b>numbers</b> 2
<b>end</b>
-</PRE>
+</pre>
<a name="setcolor"></a>
@@ -1157,18 +1157,18 @@
Overrides the color assigned to one or more categories
of the raster map layer.
-<PRE>
+<pre>
USAGE: <b>setcolor</b> cat(s) color
-</PRE>
+</pre>
This example would set the color for categories 2,5 and 8 of the raster
map layer <em>watersheds</em> to white and category 10 to green.
(<b>NOTE</b>: no spaces are inserted between the category values.)
-<PRE>
+<pre>
EXAMPLE:
<b>raster</b> watersheds
<b>setcolor</b> 2,5,8 white
<b>setcolor</b> 10 green
-</PRE>
+</pre>
Of course, <em>setcolor</em>
can be requested more than once to override the default color for additional
categories. More than one category can be changed for each request by listing
@@ -1182,7 +1182,7 @@
<h2>text</h2>
Places text on the map.
-<PRE>
+<pre>
USAGE: <b>text</b> east north text
<b>text</b> x% y% text
<b>font</b> fontname
@@ -1200,7 +1200,7 @@
<b>yoffset</b> #
<b>opaque</b> [y|n]
<b>end</b>
-</PRE>
+</pre>
The user specifies where the text will be placed by
providing map coordinates or percentages of the geographic region.
The text follows these coordinates on the same instruction line.
@@ -1267,7 +1267,7 @@
background enclosed in a red box, and be 500 meters in size. The lower right
corner of the text would be centered over the coordinates provided. All
vectors on the map would stop at the border of this text.
-<PRE>
+<pre>
EXAMPLE:
<b>text</b> 650000 7365000 SPEARFISH LAND COVER
<b>font</b> romand
@@ -1281,7 +1281,7 @@
<b>ref</b> lower left
<b>opaque</b> y
<b>end</b>
-</PRE>
+</pre>
<p>
@@ -1289,7 +1289,7 @@
<h2>vareas</h2>
Selects a vector map layer for output and plots areas.
-<PRE>
+<pre>
USAGE: <b>vareas</b> vectormap
<b>layer</b> # (layer number used with cats/where option)
<b>cats</b> list of categories (e.g. 1,3,5-7)
@@ -1305,7 +1305,7 @@
<b>pwidth</b> #
<b>scale</b> #
<b>end</b>
-</PRE>
+</pre>
The user can specify:
<p>
<b>color</b> - color of the vector lines or area boundaries;
@@ -1350,14 +1350,14 @@
You can also create your own custom pattern files in a text editor.
Example of pattern file:
-<div class="code"><PRE>
+<div class="code"><pre>
%!PS-Adobe-2.0 EPSF-1.2
%%BoundingBox: 0 0 10 10
newpath
5 0 moveto
5 10 lineto
stroke
-</PRE></div>
+</pre></div>
<p>
@@ -1367,7 +1367,7 @@
in pattern file.
<p>
-<PRE>
+<pre>
EXAMPLE:
<b>vareas</b> forest
<b>color</b> blue
@@ -1375,7 +1375,7 @@
<b>masked</b> y
<b>cats</b> 2,5-7
<b>end</b>
-</PRE>
+</pre>
<p>
@@ -1383,7 +1383,7 @@
<h2>vlines</h2>
Selects a vector map layer for output and plots lines.
-<PRE>
+<pre>
USAGE: <b>vlines</b> vectormap
<b>type</b> line and/or boundary
<b>layer</b> # (layer number used with cats/where option)
@@ -1404,7 +1404,7 @@
<b>label</b> label
<b>lpos</b> #
<b>end</b>
-</PRE>
+</pre>
The user can specify:
<p>
<b>type</b> - the default is lines only;
@@ -1467,7 +1467,7 @@
first vector is used.
<p>
-<PRE>
+<pre>
EXAMPLE:
<b>vlines</b> streams
<b>color</b> blue
@@ -1478,7 +1478,7 @@
<b>cats</b> 2
<b>label</b> Streams - category 2
<b>end</b>
-</PRE>
+</pre>
<p>
@@ -1486,7 +1486,7 @@
<h2>vpoints</h2>
Selects vector point data to be placed on the output map
-<PRE>
+<pre>
USAGE: <b>vpoints</b> vectormap
<b>type</b> point and/or centroid
<b>layer</b> # (layer number used with cats/where/sizecol options)
@@ -1507,7 +1507,7 @@
<b>label</b> legend label
<b>lpos</b> position in legend
<b>end</b>
-</PRE>
+</pre>
The user may specify the
the <b>color</b> of the sites (see section on <a href="#NAMED_COLORS">NAMED COLORS</a>);
either the GRASS <b>symbol</b> or
@@ -1523,14 +1523,14 @@
In a similar manner symbol color can be read from <b>rgbcolumn</b>
and the rotation angle read from <b>rotatecolumn</b>.
-<PRE>
+<pre>
EXAMPLE:
<b>vpoints</b> windmills
<b>color</b> blue
<b>symbol</b> mills/windmill
<b>size</b> 10
<b>end</b>
-</PRE>
+</pre>
<p>
<a name="vlegend"></a>
@@ -1539,7 +1539,7 @@
Prints the portion of the map legend containing the
vector information, on or below the map.
-<PRE>
+<pre>
USAGE: <b>vlegend</b>
<b>where</b> x y
<b>font</b> font name
@@ -1549,7 +1549,7 @@
<b>span</b> column separation
<b>border</b> color|none
<b>end</b>
-</PRE>
+</pre>
The default location is immediately below the legend containing the
scale, grid and region information, starting at the left edge of the map.
If the <em>where</em> instruction is present and <em>y</em> is less than or
@@ -1582,14 +1582,14 @@
immediately below the map and starting 4.5 inches from the left edge
of the page, using a 12/72 inch Helvetica font.
-<PRE>
+<pre>
EXAMPLE:
<b>vlegend</b>
<b>where</b> 4.5 0
<b>font</b> Courier
<b>fontsize</b> 12
<b>end</b>
-</PRE>
+</pre>
<p>
@@ -1598,9 +1598,9 @@
Terminates input and begin painting the map.
-<PRE>
+<pre>
USAGE: <b>end</b>
-</PRE>
+</pre>
<br>
<p>
@@ -1613,7 +1613,7 @@
<h3>Simple example</h3>
The file has been named <em>spear.basic</em>:
-<PRE>
+<pre>
# this ps.map example draws a map of Spearfish, SD
<b>raster</b> elevation.dem
<b>header</b>
@@ -1622,18 +1622,18 @@
<b>color</b> brown
<b>end</b>
<b>end</b>
-</PRE>
+</pre>
Generate map as Postsript file:
-<PRE>
+<pre>
ps.map input=spear.basic output=spear_basic.ps
-</PRE>
+</pre>
<h3>More complicated example</h3>
The file has been named <em>spear.soils</em>:
-<PRE>
+<pre>
# this ps.map example draws a map of Spearfish, SD
<b>raster</b> soils
<b>outline</b>
@@ -1698,7 +1698,7 @@
<b>paper</b> a4
<b>end</b>
<b>end</b>
-</PRE>
+</pre>
This script file can be entered at the command line:
Modified: grass/trunk/scripts/g.manual/g.manual.html
===================================================================
--- grass/trunk/scripts/g.manual/g.manual.html 2011-09-29 19:48:00 UTC (rev 48558)
+++ grass/trunk/scripts/g.manual/g.manual.html 2011-09-29 20:01:31 UTC (rev 48559)
@@ -6,7 +6,7 @@
<h2>NOTES</h2>
The name of the HTML browser is defined in the environment variable
-<tt>GRASS_HTML_BROWSER</TT>. For most platforms this should be an
+<tt>GRASS_HTML_BROWSER</tt>. For most platforms this should be an
executable in your PATH, or the full path to an executable. See
<a href="variables.html">variables</a> for details.
Modified: grass/trunk/vector/v.label/v.label.html
===================================================================
--- grass/trunk/vector/v.label/v.label.html 2011-09-29 19:48:00 UTC (rev 48558)
+++ grass/trunk/vector/v.label/v.label.html 2011-09-29 20:01:31 UTC (rev 48559)
@@ -61,7 +61,7 @@
centered (<em>center</em>), by default. Label placement
may be specified as:
-<PRE>
+<pre>
lower left (lower left corner of the text)
lower right (lower right corner of the text)
lower center (bottom center of the text)
@@ -72,7 +72,7 @@
center (center of the text)
-</PRE>
+</pre>
<dt><b>FONT</b>:
Modified: grass/trunk/vector/v.univar/v.univar.html
===================================================================
--- grass/trunk/vector/v.univar/v.univar.html 2011-09-29 19:48:00 UTC (rev 48558)
+++ grass/trunk/vector/v.univar/v.univar.html 2011-09-29 20:01:31 UTC (rev 48559)
@@ -7,7 +7,6 @@
<tt>type=point</tt> is defined.
<p>
-
Extended statistics adds median, 1st and 3rd quartiles, and 90th
percentile.
More information about the grass-commit
mailing list