[postgis-users] Angle

Ezequias Rodrigues da Rocha ezequias at recife.pe.gov.br
Thu Jul 6 06:54:19 PDT 2006


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 at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>

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




More information about the postgis-users mailing list