Skip to content

re gularly spaced points on multi-segement line

1 message · PLAFF

#
Dear all ...

I need your help for the following purpose :

I would like to create regularly spaced points on a multi-segment line (a
'psp class' object).

A function of the spatstat library( = pointsOnLines() ) is dedicated to that
objective but the problem is that the probability of falling on a particular
segment is proportional to the length of each segment of the multi-segment
line.

What about a solution using the whole multi-segment line and not individual
segments for points distribution ? 

Many thanks in advance for your help !

Plaff