[postgis-users] st_extent crossing international date line
Christian Gendreau
christiangendreau at gmail.com
Thu May 22 08:05:40 PDT 2014
Hi there,
I was wondering how can we perform an extent over the international date
line?
ST_Shift_Longitude seems perfect to compare 2 polygons over the IDL but
what if I have 3 points (let say 2 in Alaska and 1 in Russia) and I want
the get the extent?
e.g. SELECT st_extent(
ST_GeomFromText('MULTIPOINT(162.06 56.144, -140.808 66.07, -153.301
57.36)',4326));
Returns: BOX(-153.301 56.144,162.06 66.07), the longitude -140 was no
included due to IDL.
Regards,
Christian Gendreau
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20140522/b31de363/attachment.html>
More information about the postgis-users
mailing list