[GRASS5] new v.to.rast2 arrived
Markus Neteler
neteler at geog.uni-hannover.de
Mon Mar 26 04:45:33 EST 2001
Hi,
I have added new code to go into 5.1 in CVS:
grass51/notyetuploaded/
new_makefile_system/ -> from Eric Mitchell
automake
r.carve/ -> from Helena et al.
The program will take the vector stream data,
transform them to raster, and subtracts a
defaultdepth+additionaldepth from the DEM.
v.to.rast2/ -> from Marco Negretti
(This command allows the rasterization of GRASS
vector data. The 'old' method is available: it
is called by the G_system command;
In this function 2 new rasterising methods are available.
-1) dominant unit rastering;
-2) importance method.
)
v.to.rastdir/ -> from Helena et al.
This is a new version of v.to.rast. It has
the following features:
(1) It does not use a temporary file. Results
go directly to the raster map. It does this
by making one or more passes thru the vector
map, rasterizing only a fixed number of rows
(in memory, default 512), writing these rows
to the raster map, and then repeating for the
next set of rows, etc;
(2) The line drawing algorithm is better. The
original version of v.to.rast moved each
line to the nearest grid-cell center
before rasterizing. This version more
nearly reflects the actual path of the
vector lines through the grid cells; and
(3) It works for lat/lon databases as well as
planimetric databases.
I assume the v.to.rast2 and v.to.rastdir should be merged in near future.
Cheers
Markus
----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'
More information about the grass-dev
mailing list