<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:3.0cm 2.0cm 3.0cm 2.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DA" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">And as ever Even delivers in faster-than-the-speed-of-light mode:
<a href="https://github.com/OSGeo/proj.4/pull/1203">https://github.com/OSGeo/proj.4/pull/1203</a><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">This is a fairly invasive pull request so I would like to ask interested parties (i.e. PSC members) to take a look at
 it and voice their opinions on the matters raised in the comments.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">/Kristian<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Fra:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> PROJ <proj-bounces@lists.osgeo.org>
<b>På vegne af </b>Kurt Schwehr<br>
<b>Sendt:</b> 18. december 2018 21:12<br>
<b>Til:</b> Even Rouault <even.rouault@spatialys.com><br>
<b>Cc:</b> proj@lists.osgeo.org<br>
<b>Emne:</b> Re: [PROJ] What's the difference between PJ and PJ_OBJ?<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">I was going to suggest getting everything to build as C++ in the lib.  Thanks Kristian for beating me to the suggestion and to Even for all the hard work!!!<o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Tue, Dec 18, 2018 at 10:57 AM Even Rouault <<a href="mailto:even.rouault@spatialys.com">even.rouault@spatialys.com</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<p class="MsoNormal">> Since we require compilation with a C++ compiler now it is too far-fetched<br>
> an idea to compile everything as C++. It would be interesting to see if<br>
> this is possible without too much extra work.<br>
> <br>
<br>
I'm taking a crack at that right now. Seems doable.<br>
What C++ doesn't like at all is the implict cast from void* to <br>
something_else*, that need to be explicited in C++ as static_cast<>()<br>
<br>
Beyond those errors, a lot warnings which seem to be exclusively instances of<br>
-Wzero-as-null-pointer-constant. clang-tidy should be able to convert those.<br>
<br>
> I guess that modification of proj_create-functions wouldn't take too much<br>
> work<br>
 since most is already done in the C++ parts of the code. We still<br>
> have to keep pj_init() and friends alive for a little while longer. Will<br>
> that pose a problem or can all the work be delegate to<br>
> PROJStringParser::createFromPROJString() ? <br>
> In case of the technical objects, could that be handled by using the<br>
> recently proposed "noop" operation?<br>
<br>
I think that an "invalid" operation would be a better fit for those. We don't <br>
want such objects to be confused with valid coordinate transformation<br>
"noop" is a valid operation when there is nothing to do except passthrough <br>
coordinates. If the PJ object you got is let's say a prime meridian, it is <br>
better if proj_trans() returns an error rather than the input values.<br>
(but that's just a detail)<br>
<br>
Even<br>
<br>
-- <br>
Spatialys - Geospatial professional services<br>
<a href="http://www.spatialys.com" target="_blank">http://www.spatialys.com</a><br>
_______________________________________________<br>
PROJ mailing list<br>
<a href="mailto:PROJ@lists.osgeo.org" target="_blank">PROJ@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/proj" target="_blank">https://lists.osgeo.org/mailman/listinfo/proj</a><o:p></o:p></p>
</blockquote>
</div>
<p class="MsoNormal"><br clear="all">
<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal">-- <o:p></o:p></p>
<div>
<p class="MsoNormal">--<o:p></o:p></p>
<div>
<p class="MsoNormal"><a href="http://schwehr.org" target="_blank">http://schwehr.org</a><o:p></o:p></p>
</div>
</div>
</div>
</body>
</html>