<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi again,<br>
</p>
<p><br>
</p>
<p>By studying the source code I found out the following modification works:<br>
</p>
<p><br>
</p>
<div>  OGRCoordinateTransformationOptions opts;                                                                                                                                       </div>
<div>  opts.SetTargetCenterLong(180);                                                                                                                                                 </div>
<div>  auto* trans = OGRCreateCoordinateTransformation(&source, &target, opts);   <br>
</div>
<p><br>
</p>
<p>However, the SetTargetCenterLong API is clearly unsupported/undocumented, and is not quite the</p>
<p>same thing anyway as being able <span style="font-size: 12pt;">to specify the central longitude in the projection string. Git blame</span></p>
<p><span style="font-size: 12pt;">shows the hidden API has been created to solve what seems to be a completely different issue.</span></p>
<p></p>
<p><br>
</p>
<p>Regards,<br>
</p>
<p><br>
</p>
<p>Mika Heiskanen<br>
</p>
<p><br>
</p>
</body>
</html>