<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;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Plain Text Char";
        margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        color:#2F5496;
        mso-fareast-language:EN-US;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        font-size:10.0pt;
        font-family:"Courier New";}
span.PlainTextChar
        {mso-style-name:"Plain Text Char";
        mso-style-priority:99;
        mso-style-link:"Plain Text";
        font-family:"Calibri",sans-serif;
        color:#2F5496;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        mso-fareast-language:EN-US;}
span.EmailStyle23
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
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=en-NL link="#0563C1" vlink=purple style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Hi Even,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=FR style='color:#1F497D'>Merci beaucoup; ça marche !<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Bart<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='mso-fareast-language:#0C00'>From:</span></b><span lang=EN-US style='mso-fareast-language:#0C00'> Even Rouault <even.rouault@spatialys.com> <br><b>Sent:</b> Saturday, 9 July 2022 16:13<br><b>To:</b> Bart.Duijndam@ziggo.nl; proj@lists.osgeo.org<br><b>Subject:</b> Re: [PROJ] Affine transformation using DERIVEDPROJCRS<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p><o:p> </o:p></p><div><p class=MsoNormal>Le 09/07/2022 à 16:05, <a href="mailto:Bart.Duijndam@ziggo.nl">Bart.Duijndam@ziggo.nl</a> a écrit :<o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoPlainText><span lang=EN-US>Hi Even,</span><o:p></o:p></p><p class=MsoPlainText><span lang=EN-US> </span><o:p></o:p></p><p class=MsoPlainText><span lang=EN-US>You mentioned that in order to have </span>ID["EPSG",9624]]<span lang=EN-US> included into the WKT2 string, you</span> need to add it to the PropertyMap with<o:p></o:p></p><p class=MsoPlainText> <o:p></o:p></p><p class=MsoPlainText><span lang=EN-US style='color:#C00000'>    </span><span style='color:#C00000'>.set(metadata::Identifier::CODESPACE_KEY, metadata::Identifier::EPSG)</span><o:p></o:p></p><p class=MsoPlainText><span lang=EN-US style='color:#C00000'>    </span><span style='color:#C00000'>.set(metadata::Identifier::CODE_KEY, 9624)</span><o:p></o:p></p><p class=MsoPlainText> <o:p></o:p></p><p class=MsoPlainText><span lang=EN-US>I appreciate this, but the question is *where* do this.</span><o:p></o:p></p></blockquote><p>Well, on the object where this is relevant :-)<o:p></o:p></p><p>So on the property map of the conversion method, that is the one of<o:p></o:p></p><p>PropertyMap().set(IdentifiedObject::NAME_KEY, "Affine parametric transformation"), <o:p></o:p></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoPlainText><span lang=EN-US> </span><o:p></o:p></p><p class=MsoPlainText><span lang=EN-US style='color:black'> </span><o:p></o:p></p><p class=MsoPlainText><span lang=EN-US style='color:black'>Obviously, I have similar problems with the Affine transformation parameters: 8623, 8624, 8625, 8639, 8640 and 8641.</span><o:p></o:p></p></blockquote><p>Same here on the respective property map of each operation parameter.<o:p></o:p></p><p>so something like<o:p></o:p></p><p>Conversion::create <br>     ( <br>         PropertyMap().set(IdentifiedObject::NAME_KEY, "Affine"), <br>         PropertyMap().set(IdentifiedObject::NAME_KEY, "Affine parametric transformation")<span style='color:#C00000'> </span><span style='color:#C00000'>.set(metadata::Identifier::CODESPACE_KEY, metadata::Identifier::EPSG).set(metadata::Identifier::CODE_KEY, 9624)</span> ,<br>         std::vector<OperationParameterNNPtr> <br>         { <br>             OperationParameter::create(PropertyMap().set( <br>                 IdentifiedObject::NAME_KEY, "A0")<span style='color:#C00000'> </span><span style='color:#C00000'>.set(metadata::Identifier::CODESPACE_KEY, metadata::Identifier::EPSG).set(metadata::Identifier::CODE_KEY, 8623)</span>), <br>             OperationParameter::create(PropertyMap().set( <br>                 IdentifiedObject::NAME_KEY, "A1")), <br>             OperationParameter::create(PropertyMap().set( <br>                 IdentifiedObject::NAME_KEY, "A2")), <br>             OperationParameter::create(PropertyMap().set( <br>                 IdentifiedObject::NAME_KEY, "B0")), <br>             OperationParameter::create(PropertyMap().set( <br>                 IdentifiedObject::NAME_KEY, "B1")), <br>             OperationParameter::create(PropertyMap().set( <br>                 IdentifiedObject::NAME_KEY, "B2")), <br>         }, <o:p></o:p></p><p><o:p> </o:p></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoPlainText> <o:p></o:p></p><p class=MsoPlainText><span lang=EN-US style='color:black'>Kind regards,</span><o:p></o:p></p><p class=MsoPlainText><span lang=EN-US style='color:black'> </span><o:p></o:p></p><p class=MsoPlainText><span lang=EN-US style='color:black'>Bart</span><o:p></o:p></p><p class=MsoPlainText><span lang=EN-US style='color:black'> </span><o:p></o:p></p></blockquote><pre>-- <o:p></o:p></pre><pre><a href="http://www.spatialys.com">http://www.spatialys.com</a><o:p></o:p></pre><pre>My software is free, but my time generally not.<o:p></o:p></pre></div></body></html>