[postgis-users] azimuth and correct angle

luca marletta lucamarle at gmail.com
Wed May 23 00:05:59 PDT 2007


Could anyone give me an hint on azimuth function?

I did this
degrees(azimuth(startpoint(line_substring(r.the_geom, 0.95,1)), n.the_geom))

where r.the_geom is a line string that touch in the end point
n.the_geom and the 2 point
1) n.the_geom
2) startpoint(line_substring(r.the_geom, 0.95,1)

are perfectly draw as I want but degrees(azimuth between them is not
correct in most cases

thanks

luca

-- 
luca marletta
www.beopen.it



More information about the postgis-users mailing list