[GRASSLIST:6601] Re: Creating points on line with calculated value.

Maciek Sieczka werchowyna at epf.pl
Fri Apr 22 13:42:16 EDT 2005

From: "Maris Nartiss" <maris.nartiss at gmail.com>

> Hi,
> I have 2 points with values and a line connecting them (i.e. 2 cities
> and road between them) as two vector files (from 2 shapefiles). I need
> to create new points on this line in some distance (step) with values
> smoothly changing form first point value to second point value. New
> point values have to depend on distance on line from start point.
> Example:
> Input: 5 - - - - 10
> Output:5 6 7 8 9 10

well, maybe
v.to.points -i dmax=1

then v.category to manipulate the outputs catgories so they reflect your 
desired value range?

or edit (say in OpenOffice) the output dbf and add a column with appropriate 

just maybe, haven't checked it


> As line can be not straight, just creating rast with interpolated
> values and then uploading rast values to new pionts on line (ie. from
> v.segment) doesnt solve my problem.
> Any help welcomed :)
> I already looked on v.net.* commands, but could not understand a bit
> from manual. I can understand how to run them, but not what they do :)
> Maris 

More information about the grass-user mailing list