3
<em>r.in.poly</em> allows the creation of GRASS binary
4
raster maps from ASCII files in the current directory
5
containing polygon, linear, and point features.
8
The <b>input</b> file is an ASCII text file containing the
9
polygon, linear, and point feature definitions.
10
The format of this file is described in the
11
<a href="#format.html"><i>INPUT FORMAT</i></a> section below.
14
The number of raster <b>rows</b> to hold in memory is per default 4096.
15
This parameter allows users with less memory (or more) on their
16
system to control how much memory <em>r.in.poly</em> uses.
17
Usually the default value is fine.
23
The data will be imported using the current region settings to set the
24
new raster map's bounds and resolution. Any features falling outside
25
the current region will be cropped. The region settings are contolled
26
with the <em>g.region</em> module.
29
The format is a simplified version of the standard GRASS vector ASCII
30
format used by <em>v.in.ascii</em>.
33
Polygons are filled, i.e. they define an area.
35
<A NAME="format.html"></a>
38
The input format for the <b>input</b> file consists of
39
sections describing either polygonal areas, linear features, or
40
point features. The basic format is:
42
<div class="code"><pre>
43
A <for polygonal areas>
49
L <for linear features>
55
P <for single cell point features>
61
The <tt>A</tt> signals the beginning of a filled polygon.
62
It must appear in the first column.
64
The <tt>L</tt> signals the beginning of a linear feature.
65
It also must appear in the first column.
67
The <tt>P</tt> signals the beginning of a single cell point feature.
68
Again, it must appear in the first column.
70
The coordinates of the vertices of the polygon, or the coordinates defining
71
the linear or point feature follow and must have a space in the first
72
column and at least one space between the <em>easting</em> and the
73
<em>northing.</em> To give meaning to the features, the
74
"<tt>=</tt>" indicates that the feature currently being
75
processed has category value <em>cat#</em> (which must be
76
an integer) and a <em>label</em> (which may be more than
77
one word, or which may be omitted).
82
An area described by four points:
84
<div class="code"><pre>
96
<a href="r.colors.html">r.colors</a>,
97
<a href="d.rast.edit.html">d.rast.edit</a>,
98
<a href="g.region.html">g.region</a>,
99
<a href="r.in.xyz.html">r.in.xyz</a>,
100
<a href="r.patch.html">r.patch</a>,
101
<a href="v.in.ascii.html">v.in.ascii</a>,
102
<a href="wxGUI.vdigit.html">wxGUI vector digitizer</a>
107
Michael Shapiro, U.S.Army Construction Engineering Research Laboratory
109
<p><i>Last changed: $Date: 2014-11-01 11:11:04 +0100 (Sat, 01 Nov 2014) $</i>