<br clear="all">Dear Mailing list,<br><br>I have a point table representing centroids, a line table representing roads, and a polygon table representing zones. <br>
I'd like to create X number of line(s) connecting each centroid to the
nearest roads such that these connections are within the zone.<br>The new lines will be saved to a new table that also includes the existing lines. image: <a href="http://imgur.com/1tEaP.jpg" target="_blank">http://imgur.com/1tEaP.jpg</a><br>

<br>I'd like to create a script/plugin that does this point-to-line-within-polygon connection and creates the new layer. Any ideas?<br><br>P.S I'm familiar with Python, C, and a bit of gdal/ogr.<br><br>Thank you,<br>
-- <br>Dassouki<br><br>