On 16/01/2008, Nicholas Lan <[EMAIL PROTECTED]> wrote: > I was under the impression that using srid 4326 meant that point coordinates > would correspond to latitude and longitude on a spheroid such that > st_distance(...) between two such points would give the angle between them, > hence 90 in this case. As you say, st_distance is treating these points as > cartesian coordinates, giving 127. I guess I've got the wrong idea > somewhere. >
The following function seems to be the one: ST_azimuth(geometry, geometry) Returns the azimuth of the segment defined by the given Point geometries, or NULL if the two points are coincident. Return value is in radians. Availability: 1.1.0 Nicolas _______________________________________________ postgis-users mailing list [email protected] http://postgis.refractions.net/mailman/listinfo/postgis-users
