I have a table full of linestrings in PostGIS. I would like to know the degrees clockwise from north of the starting point of the linestring and also of the end point.
I was thinking that maybe creating a circle with both points could help to get this two values (example: X=32º, Y=209º) but i have no clue how to achieve this....
Regards