Re: [GRASS-user] Calculating Length Between Points On Stream Network

2010-03-08 Thread Rich Shepard
On Tue, 9 Mar 2010, Wolf Bergenheim wrote: Now you are mixing with the format for v.in.ascii. The v.net.path fomat is: id start_point_x start_point_y end_point_x end_point_y Wolf, Yes, this did help. Had I just replaced the string with a number the first time I'd have calculated the proper

Re: [GRASS-user] Calculating Length Between Points On Stream Network

2010-03-08 Thread Glynn Clements
Rich Shepard wrote: > On Mon, 8 Mar 2010, Wolf Bergenheim wrote: > > > The 'id' should not be the string 'id', but rather a unique IDentifier > > for each point. Usually you will want to use a running number, so that > > the first is 1 the second is 2 etc... > > Here is an example of 2 lines: >

Re: [GRASS-user] Calculating Length Between Points On Stream Network

2010-03-08 Thread Wolf Bergenheim
On Mon, Mar 8, 2010 at 19:07, Rich Shepard wrote: > Wolf, > >  What you show above is the same two points on both lines. I changed the > file 'nodes' to read: > > 1|242856.60|431305.07 > 2|242551.88|432149.70 Hi Rich, Now you are mixing with the format for v.in.ascii. The v.net.path fomat is: id

Re: [GRASS-user] Calculating Length Between Points On Stream Network

2010-03-08 Thread Rich Shepard
On Mon, 8 Mar 2010, Wolf Bergenheim wrote: The 'id' should not be the string 'id', but rather a unique IDentifier for each point. Usually you will want to use a running number, so that the first is 1 the second is 2 etc... Here is an example of 2 lines: 1 242856.60 431305.07 242551.88 432149.70

Re: [GRASS-user] Calculating Length Between Points On Stream Network

2010-03-08 Thread Rich Shepard
On Mon, 8 Mar 2010, Wolf Bergenheim wrote: The 'id' should not be the string 'id', but rather a unique IDentifier for each point. Usually you will want to use a running number, so that the first is 1 the second is 2 etc... Here is an example of 2 lines: 1 242856.60 431305.07 242551.88 432149.70

Re: [GRASS-user] Calculating Length Between Points On Stream Network

2010-03-07 Thread Wolf Bergenheim
On Sun, Feb 28, 2010 at 02:09, Rich Shepard wrote: > On Sat, 27 Feb 2010, Rich Shepard wrote: > >> 242856.60 431305.07 242551.88 432149.70 > >  Oops! I forgot the 'id' at the beginning of the line. > >  So, after adding that I get a new warning: > > WARNING: Wrong input format: id 242856.60 431305

Re: [GRASS-user] Calculating Length Between Points On Stream Network

2010-02-27 Thread Jarek Jasiewicz
Rich Shepard pisze: I have a vector map of a stream network and want to find the distance between two points on the main stem. I have the geographic coordinates of each point on the line representing the stream. I tried v.what but I'm not comfortable that gave me the correct answer. The li

Re: [GRASS-user] Calculating Length Between Points On Stream Network

2010-02-27 Thread Rich Shepard
On Sat, 27 Feb 2010, Rich Shepard wrote: 242856.60 431305.07 242551.88 432149.70 Oops! I forgot the 'id' at the beginning of the line. So, after adding that I get a new warning: WARNING: Wrong input format: id 242856.60 431305.07 242551.88 432149.70 WARNING: [1] input format errors Th

Re: [GRASS-user] Calculating Length Between Points On Stream Network

2010-02-27 Thread Rich Shepard
On Sat, 27 Feb 2010, Dylan Beaudette wrote: Try the v.net.* modules. Dylan, I must be missing something. I put the e/n coordinates for the upstream/downstream points along the stream into a file called 'nodes'. Than I ran: GRASS 6.4.0svn (oregonM):/usr4/grassbase > v.net.path --o in=aberne

Re: [GRASS-user] Calculating Length Between Points On Stream Network

2010-02-27 Thread Dylan Beaudette
Hi Richard, Try the v.net.* modules. Cheers, Dylan On Sat, Feb 27, 2010 at 11:09 AM, Rich Shepard wrote: >  I have a vector map of a stream network and want to find the distance > between two points on the main stem. I have the geographic coordinates of > each point on the line representing the

[GRASS-user] Calculating Length Between Points On Stream Network

2010-02-27 Thread Rich Shepard
I have a vector map of a stream network and want to find the distance between two points on the main stem. I have the geographic coordinates of each point on the line representing the stream. I tried v.what but I'm not comfortable that gave me the correct answer. The line between the two poin