I have a huge area of linestrings and I want to get the features of each portion of area. All the linestring parts are stored in a python list and they are not in order.
I want to create a bounded box on specific percentage of my area and then get the feature out of each linestring which is intersecting with bounded box. This is illustrated in figure 2. The red box is bounded box on the linestring and it should get the percentage of each intersecting line
My problem is that I also want it to slide to the whole area from one starting point. I have seen that python shapely has a box but dont know how to slide it to the whole area. Figure 2 and 3 shows how I want sliding..
This is simple illustration in reality I want a box that slides from start of my area to the end of my area which is stored in python list.
Figure 1 to 3 show how it should be sliding.
Is it possible to implement in python? I want to get features of both side of linestring which is a road or is there some other method?