0

I am working on a project where I need to use this particular method but am not sure how. I would prefer to do it in R.

Here is the project objective and the method:

I have a polyline running parallel to the coastline (which is a polygon). I need to find the distance from the polyline to the coastline at 100 meter intervals. To do this, I need to create polylines extending from the coast every 100 meters. These polylines are to function as rulers. The distance of the polyline of interest from the coast will be measured by their intersection with these measurement polylines.

I am having two problems with this approach:

  1. I can't figure out how to store the length of the polyline as continuous data. That is, wherever an intersection occurs, there will be a measurement of the exact distance from the coastline.
  2. I can't figure out how to store the distance measurement from the intersection as an attribute in the polyline of interest.

Attached are visual examples of the data. First with the polyline of interest (red) and the coastline (blue), and then the second image with the polyline "rulers" added in (green). enter image description hereenter image description here

  • I think this could do with a diagram. – Spacedman Apr 10 '18 at 22:52
  • I added screenshots of what the data looks like if it helps – Wincow Apr 10 '18 at 23:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.