<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Thank you!</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> grass-dev <grass-dev-bounces@lists.osgeo.org> on behalf of Markus Metz <markus.metz.giswork@gmail.com><br>
<b>Sent:</b> Monday, January 25, 2021 2:25 PM<br>
<b>To:</b> GRASS developers list <grass-dev@lists.osgeo.org><br>
<b>Subject:</b> [EXTERNAL] [GRASS-dev] PROJ6+ / WKT2 support</font>
<div> </div>
</div>
<div>
<p> </p>
<div>
<table border="2" cellspacing="4" cellpadding="0" style="border-color:black; background-color:yellow; margin-left:auto; margin-right:auto">
<tbody>
<tr>
<td>
<p style="text-align:center"><strong> This email has been received from outside of DOI - Use caution before clicking on links, opening attachments, or responding.  </strong></p>
</td>
</tr>
</tbody>
</table>
</div>
<p><br>
<br>
</p>
<div>
<div dir="ltr">
<div>Dear all,</div>
<div><br>
</div>
<div>I have prepared a rather large PR [0] to include proper support for PROJ6+ and WKT2.</div>
<div><br>
</div>
<div>The reason is that PROJ6+ uses a new mechanism based on spatial reference id (authority name and code) and WKT2 for coordinate transformations. The good old GRASS projection definition, a derivate of PROJ4-style definition, is not able to capture details
 of all currently available coordinate reference systems. With the recent substantial enhancements in PROJ, it is time for GRASS to use these new enhancements. Current support for PROJ6+ in G78 is not complete and still contains some bugs.</div>
<div></div>
<div>
<p>This PR (together with previous commits) would fix bugs also present in G78:</p>
CRS mismatch [1] between input and output when creating a location from some GDAL/OGR recognized input, importing to this location and exporting again. The CRS should be exactly preserved. This bug happens when GRASS is compiled with PROJ6+ and GDAL3.
<p>A bug in PROJ can cause PROJ to select a wrong coordinate operation with a datum transformation grid that does not cover the whole area of interest. In these cases, reprojection fails. This PR takes care of this bug.</p>
<p>Fixing these bugs in G78 requires that all changes related to the new SRID and WKT2 handling including all affected import and export modules need to be backported.</p>
</div>
<div>Therefore I want to backport all relevant changes from master to G78 in order to fix these bugs. These changes do not modify existing function definitions, but add new functions to the GRASS headers.</div>
<div><br>
</div>
<div>Please let me know if you have objections regarding backporting to G78!<br>
</div>
<div><br>
</div>
<div>Markus M<br>
</div>
<div><br>
</div>
<div>[0] <a href="https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FOSGeo%2Fgrass%2Fpull%2F1240&data=04%7C01%7Cdoug_newcomb%40fws.gov%7C550af619564d4e26567d08d8c16741b8%7C0693b5ba4b184d7b9341f32f400a5494%7C0%7C0%7C637471996564902240%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=H6gkJ4hUTTsVOlEiIM0T1IpQyb%2BqufeslXHWqf9d%2FSg%3D&reserved=0" originalsrc="https://github.com/OSGeo/grass/pull/1240" shash="kHMAdHtQ2jzNMQEkn0tMuub3U6mtGEWVYIuhgfpvuXM0FWG1nzmjZs2oin5JLRIRUQZqmVaU1kQ88fZxyHRvg30+keQwCIgd4Eu2F1two2mJzIQgQrddeKUsEGXUt2D9R05dNgeA3vFZFefjPMbXNzIw5cJyPPQWdfLEdfEBidI=">
https://github.com/OSGeo/grass/pull/1240</a></div>
<div>[1] <a href="https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fqgis%2FQGIS%2Fissues%2F18596%23issuecomment-753481210&data=04%7C01%7Cdoug_newcomb%40fws.gov%7C550af619564d4e26567d08d8c16741b8%7C0693b5ba4b184d7b9341f32f400a5494%7C0%7C0%7C637471996565400114%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=Z1qamIKurYhkWhJMHuXV7vgmN2mDChd%2BaZ0X7KkUqeI%3D&reserved=0" originalsrc="https://github.com/qgis/QGIS/issues/18596#issuecomment-753481210" shash="dvxJBUuZvLhh6JVrgtr1NlUzZ2pE5DyK9THEI+quY+voy3u/I0M03utH3V7hVY6NnWg8vOZSyXRrF6Too+zLjyLzAbg08+Jk7Pz1yogOvyvauQG9ali1tU7uRkZBqSPob8JeoXH/3JOYxp6UH2L4lW7pDopY7ho/YpGbKTVcQtM=">
https://github.com/qgis/QGIS/issues/18596#issuecomment-753481210</a></div>
</div>
</div>
</div>
</body>
</html>