[GRASS-user] r.profile Syntax

   According to the man page for r.profile this command should work:

r.profile -ig in=aber5m out=profile1.txt

But, the output file is empty. Putting a pipe symbol before the out option
makes no difference. I've looked at the examples and do not see what I'm
missing in writing the 4 columns of output points to the text file.

   Please advise.

Rich

On Tue, 17 Jan 2012, Rich Shepard wrote:

But, the output file is empty. Putting a pipe symbol before the out option
makes no difference. I've looked at the examples and do not see what I'm
missing in writing the 4 columns of output points to the text file.

   OK. Got it figured out. Nothing is calculated or written if the left
button is used to mark the first point and the right button to mark the
second point. One uses the left button to mark the first point and the left
(or middle) button to mark the second point. Only when those finish
calculating and writing to the output file does one click the right button.

   Clarification of the man page would be nice.

Rich

On Tue, Jan 17, 2012 at 6:59 PM, Rich Shepard <rshepard@appl-ecosys.com> wrote:

On Tue, 17 Jan 2012, Rich Shepard wrote:

But, the output file is empty. Putting a pipe symbol before the out option
makes no difference. I've looked at the examples and do not see what I'm
missing in writing the 4 columns of output points to the text file.

OK. Got it figured out. Nothing is calculated or written if the left
button is used to mark the first point and the right button to mark the
second point. One uses the left button to mark the first point and the left
(or middle) button to mark the second point. Only when those finish
calculating and writing to the output file does one click the right button.

Clarification of the man page would be nice.

Please suggest a text snippet and where to add it.
Thanks
Markus

On Tue, 17 Jan 2012, Markus Neteler wrote:

Please suggest a text snippet and where to add it.

Markus,

   The second paragraph under Description is mis-leading. It reads,

"The -i flag allows the user for selecting the profile from the GRASS
monitor by clicking the left mouse button along the profile; clicking the
right mouse button ends the profile."

   I suggest re-writing this to,

"The -i flag allows the user to define the profile on the GRASS monitor by
clicking the left mouse button to establish both start and end points. While
the cursor is still on the end point, click the right mouse button to write
the output file."

Rich

On Wed, Jan 18, 2012 at 12:20 AM, Rich Shepard <rshepard@appl-ecosys.com> wrote:

On Tue, 17 Jan 2012, Markus Neteler wrote:

Please suggest a text snippet and where to add it.

Markus,

The second paragraph under Description is mis-leading. It reads,

"The -i flag allows the user for selecting the profile from the GRASS
monitor by clicking the left mouse button along the profile; clicking the
right mouse button ends the profile."

I suggest re-writing this to,

"The -i flag allows the user to define the profile on the GRASS monitor by
clicking the left mouse button to establish both start and end points. While
the cursor is still on the end point, click the right mouse button to write
the output file."

I have tried the module and this text modification is not clear to me.

Markus



Please suggest a text snippet and where to add it.

Markus,

 The second paragraph under Description is mis-leading. It reads,

"The -i flag allows the user for selecting the profile from the GRASS
monitor by clicking the left mouse button along the profile; clicking the
right mouse button ends the profile."

 I suggest re-writing this to,

"The -i flag allows the user to define the profile on the GRASS monitor by
clicking the left mouse button to establish both start and end points. While
the cursor is still on the end point, click the right mouse button to write
the output file."

I have tried the module and this text modification is not clear to me.

May I suggest:
“The -i flag allows the user to interactively delineate the transect line directly on the GRASS monitor. Click the left mouse button at the start of the transect, at each turn, and at the end point. Then click the right mouse button to finish delineating the transect and to create the profile output file.”

On Wed, 18 Jan 2012, Micha Silver wrote:

May I suggest: "The -i flag allows the user to interactively delineate the
transect line directly on the GRASS monitor. Click the left mouse button
at the start of the transect, at each turn, and at the end point. Then
click the right mouse button to finish delineating the transect and to
create the profile output file."

   I noticed that it was possible to create line segments with r.profile but
I could not understand why one would want to do this. Every profile or
transect I've ever drawn on a map or created in the field has been a single,
straight segment from start to end.

   Regardless, the change above clarifies the original man page.

Rich

May I suggest: “The -i flag allows the user to interactively delineate the
transect line directly on the GRASS monitor. Click the left mouse button
at the start of the transect, at each turn, and at the end point. Then
click the right mouse button to finish delineating the transect and to
create the profile output file.”

I noticed that it was possible to create line segments with r.profile but
I could not understand why one would want to do this. Every profile or
transect I’ve ever drawn on a map or created in the field has been a single,
straight segment from start to end.

To display the ups and downs of a hiking or biking route?

On Wed, 18 Jan 2012, Micha Silver wrote:

To display the ups and downs of a hiking or biking route?

   Oh. Rather specialized, but that is rasonable.

Thanks, Micha,

Rich

2012/1/18 Rich Shepard <rshepard@appl-ecosys.com>:

On Wed, 18 Jan 2012, Micha Silver wrote:

To display the ups and downs of a hiking or biking route?

Oh. Rather specialized, but that is rasonable.

The expample may be specialized, but the application is not, because
is quite an important tool to study any kind of path.
For infraestructure it is an esential tool for roads, pipelines,
transmission lintes, etc

There may be by far more application in other areas.

I look forward to see any improvement in this tool.
--
Marco

Thanks, Micha,

Rich
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user