[postgis-users] Angle

Arnaud Lesauvage thewild at freesurf.fr
Thu Jul 6 07:00:36 PDT 2006


Ezequias Rodrigues da Rocha wrote:
> 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


What do you think these "StartPoint" and "EndPoint" functions do ?
Have you read the documentation at 
http://postgis.refractions.net/docs/ ?
All you questions are answered there.


PS : Please, reply below the quotes. Thanks !

--
Arnaud




More information about the postgis-users mailing list