[postgis-users] sql statements for angles on multilinestring?
Thomas Preuth
thomas.preuth at ccgis.de
Wed Jun 23 03:00:09 PDT 2004
-----------------------------------------------------------------------------------------------------------------
Hello,
I have two questions concerning postgis.
The issue is:
The column the_geom includes lines (multilinestring) as geometries, which
define their position by two coordinates. A symbol should be placed at
first coordinate. The base of the symbol should be perpendicular to the
line. Therefore I need the tilt angle of the multilinestring.
So my questions:
1.)How can I extract the first coordinate of the multilinestring with a
sql statement?
2.)How can I get the tilt angle of the multilinestring (to the horizontal)
with a sql statement?
Thanks!
More information about the postgis-users
mailing list