Skip to main content
Tweeted twitter.com/StackGIS/status/916083197548605440
Adding additional tag
Source Link
xunilk
  • 30.2k
  • 4
  • 43
  • 82

I have this line vector that represents the movement trajectory of a given animal. I would like to randomly replace this vector line within a polygon, multiple times, changing its position and orientation, but without changing the trajectory itself. Is this possible? It is OK if random trajectories intersect each other, as long as they don't fall outside the polygon. Here is an example:

enter image description here

The black square is the polygon, the continuous blue line is the real trajectory, and the three dotted blue lines are examples of three random placements of the trajectory within the polygon.

How can I do this on QGIS or R?

I don't have any experience with Python.

I have this line vector that represents the movement trajectory of a given animal. I would like to randomly replace this vector line within a polygon, multiple times, changing its position and orientation, but without changing the trajectory itself. Is this possible? It is OK if random trajectories intersect each other, as long as they don't fall outside the polygon. Here is an example:

enter image description here

The black square is the polygon, the continuous blue line is the real trajectory, and the three dotted blue lines are examples of three random placements of the trajectory within the polygon.

How can I do this on QGIS or R?

I don't have any experience with Python.

I have this line vector that represents the movement trajectory of a given animal. I would like to randomly replace this vector line within a polygon, multiple times, changing its position and orientation, but without changing the trajectory itself. Is this possible? It is OK if random trajectories intersect each other, as long as they don't fall outside the polygon. Here is an example:

enter image description here

The black square is the polygon, the continuous blue line is the real trajectory, and the three dotted blue lines are examples of three random placements of the trajectory within the polygon.

How can I do this on QGIS or R?

I don't have any experience with Python.

deleted 52 characters in body
Source Link
PolyGeo
  • 65.4k
  • 29
  • 114
  • 345

I have this line vector that represents the movement trajectory of a given animal. I would like to randomly replace this vector line within a polygon, multiple times, changing its position and orientation, but without changing the trajectory itself. Is this possible? It is OK if random trajectories intersect each other, as long as they don't fall outside the polygon. Here is an example:

enter image description here

The black square is the polygon, the continuous blue line is the real trajectory, and the three dotted blue lines are examples of three random placements of the trajectory within the polygon. I would really appreciate any tip on how to

How can I do this on QGIS or R.?

I don't have any experience with Python.

Thanks,

Rafael

I have this line vector that represents the movement trajectory of a given animal. I would like to randomly replace this vector line within a polygon, multiple times, changing its position and orientation, but without changing the trajectory itself. Is this possible? It is OK if random trajectories intersect each other, as long as they don't fall outside the polygon. Here is an example:

enter image description here

The black square is the polygon, the continuous blue line is the real trajectory, and the three dotted blue lines are examples of three random placements of the trajectory within the polygon. I would really appreciate any tip on how to do this on QGIS or R. I don't have any experience with Python.

Thanks,

Rafael

I have this line vector that represents the movement trajectory of a given animal. I would like to randomly replace this vector line within a polygon, multiple times, changing its position and orientation, but without changing the trajectory itself. Is this possible? It is OK if random trajectories intersect each other, as long as they don't fall outside the polygon. Here is an example:

enter image description here

The black square is the polygon, the continuous blue line is the real trajectory, and the three dotted blue lines are examples of three random placements of the trajectory within the polygon.

How can I do this on QGIS or R?

I don't have any experience with Python.

Source Link

How to randomly replace a given line vector multiple times within a polygon?

I have this line vector that represents the movement trajectory of a given animal. I would like to randomly replace this vector line within a polygon, multiple times, changing its position and orientation, but without changing the trajectory itself. Is this possible? It is OK if random trajectories intersect each other, as long as they don't fall outside the polygon. Here is an example:

enter image description here

The black square is the polygon, the continuous blue line is the real trajectory, and the three dotted blue lines are examples of three random placements of the trajectory within the polygon. I would really appreciate any tip on how to do this on QGIS or R. I don't have any experience with Python.

Thanks,

Rafael