I am new to QGIS Plugins and I got something that has stressed me a lot. I want to have a layer(Linear) split whenever it intersects another feature (in another layer). I have tried with the one at:
Split a feature when intersecting with a feature of another layer using PyQGIS/Python?
and it works well. However, I want to have it split the line and not the polygon. Any help?