<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi,</p>
<p>this issue will be fixed per
<a class="moz-txt-link-freetext" href="https://github.com/OSGeo/gdal/pull/13243">https://github.com/OSGeo/gdal/pull/13243</a></p>
<p>Even<br>
</p>
<div class="moz-cite-prefix">Le 14/10/2025 à 14:50, Andrey VI via
gdal-dev a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:1760446211.704752137@f470.i.mail.ru">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div class="cl-a81men5ufz">
<div class="cl-nosyhfo193">
<div class="js-helper_mr_css_attr js-readmsg-msg_mr_css_attr">
<div id="style_17603886261714766290_mr_css_attr">
<div id="style_17603886261714766290_BODY_mr_css_attr">
<div>Hello.</div>
<div> </div>
<div><span lang="en"><span><span>I can't reproject data
from a </span></span></span>Polar Stereographic
projection (EPSG:3996)<span lang="en"><span><span> to
a geographic projection (EPSG:4326) correctly
using ogr2ogr. Command:</span></span></span></div>
<div>
<div>
<div>
<div>
<div>ogr2ogr -t_srs EPSG:4326 -wrapdateline
polys_4326.shp polys.shp</div>
<div>
<div>
<div>
<div>
<pre
style="background-color:#ebecef;border-radius:4px;display:inline-block;font-family:"Andale mono","Lucida Console",Monaco,monospace;font-size:15px;font-style:normal;font-weight:normal;line-height:22px;margin-bottom:0;margin-left:0;margin-right:0;margin-top:0;min-height:22px;min-width:12px;padding:12px"><span
style="font-size:13px;line-height:20px">ERROR 1: IllegalArgumentException: Points of LinearRing do not form a closed linestring
ERROR 1: IllegalArgumentException: Points of LinearRing do not form a closed linestring
ERROR 1: IllegalArgumentException: Points of LinearRing do not form a closed linestring
ERROR 1: IllegalArgumentException: Points of LinearRing do not form a closed linestring
ERROR 1: IllegalArgumentException: Points of LinearRing do not form a closed linestring
ERROR 1: IllegalArgumentException: Points of LinearRing do not form a closed linestring</span></pre>
<div> </div>
</div>
As a result some polygons are broken and
also some polygons appears with artifacts.</div>
<div><img style="width:922px"
src="cid:part1.ZqDN2QEO.0JECxh0c@spatialys.com" class=""></div>
</div>
</div>
</div>
</div>
</div>
</div>
<div><span lang="en"><span><span>The data used and the
result (58 MB): </span></span></span><a
href="https://drive.google.com/file/d/176jtROjjeTlAQTITAJ75tBT1GwiUzSUm/view?usp=sharing"
moz-do-not-send="true" class="moz-txt-link-freetext">https://drive.google.com/file/d/176jtROjjeTlAQTITAJ75tBT1GwiUzSUm/view?usp=sharing</a><span
lang="en"><span><span>.</span></span></span></div>
<div> </div>
<div><span lang="en"><span><span>How to reproject from
a </span></span></span>projection naturally
crossing the anti-meridian to a geographic CRS<span
lang="en"><span><span> without any errors using
ogr2ogr?</span></span></span></div>
<div>--<br>
Andrey</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
gdal-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/gdal-dev">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
<a class="moz-txt-link-freetext" href="http://www.spatialys.com">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
</body>
</html>