Hi group, I am trying to create a new line feature that extends to the first polygon geometry boundary. Now i can simply do an intersects function<http://www.qgis.org/en/docs/pyqgis_developer_cookbook/vector.html>available within pyQGIS to determine if it intersects but is there a function to determine where that line feature intersects a polygon (or perhaps another line feature) as in an X,Y position? i.e.
for feature in layer.getFeatures(): geom = feature.geometry() if geom.intersects(geom2): ## <- can i figure out the intersect point here ##do something Or is there a function that might be available within shapely or pysal? Cheers, Bjorn
_______________________________________________ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer