I have a polygon layer and a polyline layer. I want to project the polygons onto the polyline like I show in the following images.
The first image shows the features I have.
The second image shows the projection lines (red dashed lines) as I think the concept might work.
The third image shows the resulted segments of the polyline as I expect them to be.
I don't know if this can help, the cells are from a raster grid layer and the polylines represent a road.
It is like the shadow of the polygons cast on the polyline using perpendicular lines to the polyline from the vertices of the polygon. However, the perpendicular is just a concept. I don’t know how it could better work.
I can use: QGIS version 3.10.1-A Coruña Or ArcGIS 10.4.1 for Desktop