[GRASSLIST:9353] v.segement options

Hello

What does the extra, optional value <side offset> in v.segment stands for?
I couldn't get any differences by using this!

From the online help
P <point id> <line cat> <offset> [<side offset>]
L <segment id> <line cat> <start offset> <end offset> [<side offset>]

Tim Semmelhaack

On 12/7/05, Tim Semmelhaack <t.semmelhaack@hamburg-consult.de> wrote:

Hello

What does the extra, optional value <side offset> in v.segment stands for?

The point placed in the give distance form the line.

I couldn't get any differences by using this!

That would be bug, are you sure you use appropriate zoom
for given distance.

Radim

From the online help
P <point id> <line cat> <offset> [<side offset>]
L <segment id> <line cat> <start offset> <end offset> [<side offset>]

Tim Semmelhaack

Radim Blazek wrote:

On 12/7/05, Tim Semmelhaack <t.semmelhaack@hamburg-consult.de> wrote:

Hello

What does the extra, optional value <side offset> in v.segment stands for?

The point placed in the give distance form the line.

I couldn't get any differences by using this!

That would be bug, are you sure you use appropriate zoom
for given distance.

It still doesn't work ...

Here is an example, which I read from the standard input by
"cat segment_lines| v.segment input=mypath_length output=test_segment_lines"

file "segment_lines":
L 1 1 1000.0 2820.0
L 2 1 3000.0 3480.0 200
L 3 1 3600.0 4000.0

I'm using the current version of GRASS 6.1 from the CVS

By the way: Is there a possibility to calibrate the input lines?
I used v.net.path to create the line on a road network for example by using coordinates from bus stops. The measured lengths differs (a little bit) from the distance given by other sources (e.g. the transport operator).
So can I give GRASS the exact distance and v.segment will find the points by using this distance?

--

Tim

On 12/9/05, Tim Semmelhaack <t.semmelhaack@hamburg-consult.de> wrote:

Here is an example, which I read from the standard input by
"cat segment_lines| v.segment input=mypath_length output=test_segment_lines"

file "segment_lines":
L 1 1 1000.0 2820.0
L 2 1 3000.0 3480.0 200
L 3 1 3600.0 4000.0

I'm using the current version of GRASS 6.1 from the CVS

I looked into the code and side offset is not implemented at all.
So it is bug.

By the way: Is there a possibility to calibrate the input lines?
I used v.net.path to create the line on a road network for example by
using coordinates from bus stops. The measured lengths differs (a little
bit) from the distance given by other sources (e.g. the transport
operator).
So can I give GRASS the exact distance and v.segment will find the
points by using this distance?

You need probably an LRS which is implemented but it is not yet in standard
GRASS distribution: http://mpa.itc.it/radim/lrs/

Radim

--

Tim

Thanks a lot, Radim !

The LRS tool seems to be the right think, I am looking.

It seems that GRASS offers nearly everything!

Tim