Skip to content
Prev 12826 / 29559 Next

[raster] a railroad, a raster with a different value on each side of it

If your railroad is just a single line feature running approx N-S then:

 Create a box polygon for your study area, make sure the railroad just
crosses it at N and S edges

 Use rgeos functions overlaying the RR line with the box polygon to
create the E and W polygons

 Job done?

On Fri, Sep 16, 2011 at 1:11 PM, Mathieu Rajerison
<mathieu.rajerison at gmail.com> wrote: