Segment orientation
mafa_segment_orientation.RdCompute orientations of segments (i.e. lines).
Arguments
- sfsegments
sf object with sfc as
"MULTILINESTRING"or"LINESTRING".- looking
look direction parameter:
"N"North or"E"East (default is North).- perpendicular
logical parameter. If
TRUE, perpendiculars to orientations between[0;90](i.e.[-90;0]) degrees are recalculated in the interval[0;90](default isFALSE).
References
Robert, Sandrine, Éric Grosso, Pascal Chareille, et Hélène Noizet. 2014. « MorphAL (Morphological Analysis) : un outil d’analyse de morphologie urbaine ». In Archéologie de l’espace urbain, édité par Elisabeth Lorans et Xavier Rodier, 451‑63. Perspectives Villes et Territoires. Tours: Presses universitaires François-Rabelais. https://doi.org/10.4000/books.pufr.7717.