<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>Hello,<br>
</p>
<p><br>
</p>
<p>GDAL now warns that the +init syntax is deprecated. The documentation explains that for example</p>
<p>instead of +init=epsg:4326 one should just use epsg:4326. However, it does not seem to explain what</p>
<p>do to <span style="font-size: 12pt;">if one wants to modify the crs as in the following example:</span></p>
<p><br>
</p>
<div>> echo "25w 60n" | /usr/proj70/bin/cs2cs -f "%.8f" +from +init=epsg:4326 +to +init=epsg:4326 +lon_wrap=180</div>
<div>335.00000000<span style="white-space:pre"> </span>60.00000000 0.00000000</div>
<div>> echo "60n 25w" | /usr/proj70/bin/cs2cs -f "%.8f" +from epsg:4326 +to +init=epsg:4326 +lon_wrap=180</div>
<div>335.00000000<span style="white-space:pre"> </span>60.00000000 0.00000000</div>
<div>> echo "60n 25w" | /usr/proj70/bin/cs2cs -f "%.8f" +from epsg:4326 +to epsg:4326 +lon_wrap=180</div>
<div>proj_create: crs not found</div>
<div><br>
</div>
<div>It seems like one would have to replace epsg:4326 on the right hand side with the respective PROJ-string,</div>
<div>which is quite inconvenient. Is this the only solution once the +init syntax has been removed?</div>
<div>​</div>
<div>Regards,</div>
<div><br>
</div>
<div>Mika Heiskanen</div>
<div><br>
<br>
</div>
<p><br>
</p>
</body>
</html>