« Return to Thread: Angle

Re: Angle

by Ezequias Rodrigues da Rocha :: Rate this Message:

Reply to Author | View in Thread

Ok, now I need to get the start and and point of a linestring feature.
Could you tell me please ?

Regards
Ezequias

Arnaud Lesauvage escreveu:

> 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
>

--
Ezequias Rodrigues da Rocha
http://ezequiasrocha.blogspot.com
msn:ezequias@...
"the worst of democracies is still better than the best of dictatorship"

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

 « Return to Thread: Angle