[postgis-users] Lines crossing longitude 180 -180

paul.malm at lfv.se paul.malm at lfv.se
Tue Sep 24 00:18:22 PDT 2019


Hi,
I'm creating a table with LineStrings in SRID 4326 from lines with coordinates like this:
S37323578E178560795
S38161687W179595994
S38270000W179440000
S38414463E179595994
S39394800E178553000
S40224800E178060600
S41504422E176164722
S42513000E175030000
S43372622E174062536
S45135100E172134000
S48090000E168160000
S45550000E165180000
S42254200E169201800
S41580000E169501800
S41253091E170232389
As you can see the crosses 180/-180 longitude several times which results in long line segments all over the map from east to west.
Is there anyone who have solved this problem in a fairly easy way?
I appreciate all help I can get.

Kind regards,
Paul Malm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20190924/dca14479/attachment.html>


More information about the postgis-users mailing list