Is there a way to extract the coordinates from a point datatype?  I'd like
to do something like
    select x_coord(pnt), y_coord(pnt) from table_with_points;

And if there is a way to extract the points from a polygon that would be
great too.

I looked through the results of \df and \do, and it appears the only
solution is to use the distance between the point and line((0,0),(1,0))
and line((0,0),(0,1)).

-- 
Paul Tomblin <[EMAIL PROTECTED]>, not speaking for anybody
"A little rudeness and disrespect can elevate a meaningless interaction into a
battle of wills and add drama to an otherwise dull day."
     - Calvin discovers Usenet

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

Reply via email to