[Qgis-user] I need a list with the azimuth of each segment and its associated morphotectonic value

Nicolas Cadieux njacadieux.gitlab at gmail.com
Thu Sep 9 00:38:57 PDT 2021


Hi,
You will find some answers here.

https://gis.stackexchange.com/questions/264422/displaying-azimuth-of-line-in-qgis

By segment, you mean for each line?  If so, this should work. Make sure you have no multilinestring in the project or else you will have funny result.  If by segment you mean each segment of a line between each node, you could modify the solution here to calcule the azimuth between each node pairs or use explode. Make sure you keep a backup of the data as explode or multipart to single part may change you database drastically.  

You can find the multipart lines, using the fix directional network model found in the QGIS hub. https://plugins.qgis.org/models/ Model 1 will find all the multipart lines if you have some. The other models will find and fix other network errors.

Nicolas Cadieux
https://gitlab.com/njacadieux

> Le 9 sept. 2021 à 00:18, Allan López <allosa01 at gmail.com> a écrit :
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20210909/591cc6cc/attachment.html>


More information about the Qgis-user mailing list