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

Hamish hamish_nospam at yahoo.com
Tue May 3 04:25:46 EDT 2005


> 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
> 
> 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 :)


checkout Radim's LRS.

  http://mpa.itc.it/radim/lrs/index.html




Hamish




More information about the grass-user mailing list