m8r-444fqh(at)mailinator(dot)com writes:
> -- 1.Query, fails to sort altitude:
> select edge, st_astext( vertex ) from v001
> order by vertex,edge;
> -- 2.Query, fails to respect altitude:
> select array_agg( edge ) as edges, st_astext(vertex) from v001
> group by vertex;
It's not entirely clear to me that those *should* do something with
altitude, but in any case this is not a Postgres issue it's a Postgis
issue. You need to take it up on the postgis mailing lists.
regards, tom lane