« Return to Thread: Angle

Re: Angle

by Bingo :: Rate this Message:

Reply to Author | View in Thread

Ezequias Rodrigues da Rocha wrote:
> Hi list,
>
> Could someone tell me how to get an angle of a linestring feature ?
>
> Regards...
>

The azimuth(geometry, geometry) function might be what you are
looking for.
Input geometries are points, so you might use
Azimuth(StartPoint(geometry), EndPoint(geometry)) if geometry is a
Linestring.

http://postgis.refractions.net/docs/ch06.html#id2528534

--
Arnaud


_______________________________________________
postgis-users mailing list
postgis-users@...
http://postgis.refractions.net/mailman/listinfo/postgis-users

 « Return to Thread: Angle