[mapserver-users] postgres question

Vladimir Guzmán vguzman at bigfoot.com
Thu Apr 11 12:07:11 EDT 2002


Hello, list.

I know this is not the place to put this question, so please forgive me. 
  (Besides I think I'm asking the obvious):

I've got a table in postgres with a field called 'arc' of type 'lseg'.
If I need to query for the start point, I call it this way:

SELECT arc[0] FROM entities;

If I need the end point, I use:

SELECT arc[1] FROM entities;

But if I need the x coordinate from the start point?
How do I query for it?

Thanks in advance,


-- 
Vladimir Guzmán R.
-----------------
www.main-task.com




More information about the mapserver-users mailing list