[R-sig-Geo] Sampling random directional lines within a polygon

Barry Rowlingson b@row||ng@on @end|ng |rom gm@||@com
Wed Feb 6 13:45:16 CET 2019


[reposting to list after a bounce...]

Interesting, but I think we need more details...

Do the lines have to start and finish at specific locations in the polygons
- like the centroid, or anywhere?

So one line might be 3 segments of 10km each connecting two polygon
centroids that are 15km apart? Imagining three rigid rods of length 10
connected at their ends and with the first and last also connected to two
fixed points tells me there's an infinite number of possible solutions.
There's probably also a number of ways of sampling from those solutions.
Its going to get very complicated with a larger number of segments.

Hmmmmm.....

On Tue, Feb 5, 2019 at 11:30 PM Hannah Justen <justen using tamu.edu> wrote:

> Hi everyone,
>
> I am studying migratory tracks of birds for my dissertation and I would
> like to model possible pathways between two polygons. Therefore, I would
> like to sample random lines between the polygons. These lines can differ in
> total length but should consist of x - number of fragments of equal length.
> Each fragment can have slightly different orientation but overall the lines
> should connect the two polygons.
>
> I fail to find the appropriate R package that will allow me to do this type
> of analysis. Does anyone have a suggestion how to approach analysis?
>
> Thank you,
> Hannah
>
> ---
> PhD Student |Ecology and Evolutionary Biology
> Texas A&M University
>
>         [[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo using r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>

	[[alternative HTML version deleted]]



More information about the R-sig-Geo mailing list