Create the actual azimuth of the line withazimuth()function. To get the 8 major orientations (azimuths:N, NE, E, SE, S, SW, W, NW), you need to classify all angle values from 0 to 360 to 8 classes(or slightly modify it if you need another number of classes)so that e.g. the...