[postgis-users] MakeLine for geography coordinates

Sandro Santilli strk at keybit.net
Mon Apr 4 01:35:48 PDT 2011


On Fri, Apr 01, 2011 at 01:37:31PM -0400, Jochen Albrecht wrote:

> ST_MakeLine does not accept geography coordinates
> and if I use geometry instead, then I run into problems with all those buoys
> that at one time or another cross the date line.

Just cast the ST_MakeLine return to a geography.

--strk;

  ()   Free GIS & Flash consultant/developer
  /\   http://strk.keybit.net/services.html



More information about the postgis-users mailing list