[postgis-users] problem with data crossing the date line

Sandro Santilli strk at keybit.net
Fri Sep 23 00:20:23 PDT 2011


On Thu, Sep 22, 2011 at 09:26:48PM -0700, pcreso at pcreso.com wrote:
> Or use 0-360 longitudes for a single geometry polygon.
> Valid EPSG:4326 coordinate space.
> 
> The problem then arises if you have other data in a +-180 space...

ST_WrapX lets you pick an arbitrary X value for wrapping, so you can 
wrap where you know there's nothing crossing.
See http://trac.osgeo.org/postgis/ticket/454

--strk;

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



More information about the postgis-users mailing list