How can I make a script to convert polygon layer to explode lines ? After that I need to get geometry length for conditioned features. I have a part of code ?
import processingprocessing.runalg("qgis
olygonstolines","Polygon.shp","Line.shp")processing.runalg('qgis:explodelines',"Line.shp","Explode_line.shp")layer = qgis.utils.iface.activeLayer()vlayer.selectAll() - "QGIS crashes...."for f in features: geom = f.geometry() print "Length:", geom.length()Here need select on a map all features in Explode_line where ID_attribute > 10
أكثر...
import processingprocessing.runalg("qgis
أكثر...