<div dir="ltr">If you already have a point geometry with a length and direction then I would use the <a href="https://plugins.qgis.org/plugins/shapetools/">ShapeTools </a>plugin and would run "Vector->Shape Tools->Create shapes->Create line of bearing." You can select your input layer and then select the attribute that contains the length and the attribute that contains the direction.<div><br></div><div>If you need to create a point layer from coordinates from the attribute table, then I would first use the <a href="https://plugins.qgis.org/plugins/latlontools/">Lat Lon Tools</a> plugin and run "Plugins->Lat Lon Tools->Conversions->Fields to point layer" and then use the ShapeTools plugin.</div><div><br></div><div>Best wishes,</div><div><br></div><div>Calvin</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jul 13, 2021 at 8:40 AM Azzurra Lentini <<a href="mailto:azzurralentini@gmail.com">azzurralentini@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">Hi  to all, can you suggest to me how to generate lines from points (centroids) giving to these lines certains lengths and directions from the attribute table?</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Thanks Azzurra  </div><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Adjunct Professor University "Roma Tre"<br></div><div>Gis Applied for Environmental studies</div><div>Risk modelling & Hydrogeology</div><div>Consultant DFID-UK, United Nations, EU projects </div><div dir="ltr">AZZURRA LENTINI </div><div dir="ltr">++++++++++++++++++++++++++<br>Italy Mobile Tel.: **(39) 338 24 40 676<br>++++++++++++++++++++++++++<br>SKYPE azzurrahydro<br>++++++++++++++++++++++++++</div><div><p class="MsoNormal" style="margin-bottom:0.0001pt;background-image:initial;background-position:initial;background-repeat:initial;line-height:normal"><b><u><span style="font-size:12pt;font-family:Arial,sans-serif;color:blue"><a href="mailto:azzurralentini@gmail.com" style="color:rgb(17,85,204)" target="_blank">azzurralentini@gmail.com</a></span></u></b></p><p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;background-image:initial;background-position:initial;background-repeat:initial"><b><u><span style="font-size:12pt;font-family:Arial,sans-serif;color:blue"><a href="mailto:azzurra.lentini@uniroma3.it" style="color:rgb(17,85,204)" target="_blank">azzurra.lentini@uniroma3.it</a> </span></u></b><b><u><span style="font-size:12pt;font-family:Arial,sans-serif;color:blue">  </span></u></b><br></p></div><div dir="ltr">++++++++++++++++++++++++++<br>*Par respect pour l'environnement,*<br><br>*n'imprimez ce mail qu'en cas d'absolue nécessité*</div></div><div dir="ltr"> <br><br><br><br><br></div></div></div></div></div></div></div></div>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</blockquote></div>