<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p><br>
</p>
<div class="moz-cite-prefix">Le 09/07/2022 à 16:05,
<a class="moz-txt-link-abbreviated" href="mailto:Bart.Duijndam@ziggo.nl">Bart.Duijndam@ziggo.nl</a> a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:010201d8939c$f403ca60$dc0b5f20$@ziggo.nl">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style>@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;}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;}span.PlainTextChar
{mso-style-name:"Plain Text Char";
mso-style-priority:99;
mso-style-link:"Plain Text";
font-family:"Calibri",sans-serif;
color:#2F5496;}.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}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]-->
<div class="WordSection1">
<p class="MsoPlainText"><span lang="EN-US">Hi Even,<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US"><o:p> </o:p></span></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 style="color:#C00000" lang="EN-US">
</span><span style="color:#C00000">.set(metadata::Identifier::CODESPACE_KEY,
metadata::Identifier::EPSG)<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="color:#C00000" lang="EN-US">
</span><span style="color:#C00000">.set(metadata::Identifier::CODE_KEY,
9624)<o:p></o:p></span></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></p>
</div>
</blockquote>
<p>Well, on the object where this is relevant :-)</p>
<p>So on the property map of the conversion method, that is the one
of<br>
</p>
<p>PropertyMap().set(IdentifiedObject::NAME_KEY, "Affine parametric
transformation"),
</p>
<blockquote type="cite"
cite="mid:010201d8939c$f403ca60$dc0b5f20$@ziggo.nl">
<div class="WordSection1">
<p class="MsoPlainText"><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US"><o:p> </o:p></span></p>
<span style="color:black" lang="EN-US"><o:p></o:p></span>
<p class="MsoPlainText"><span style="color:black" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span style="color:black" lang="EN-US">Obviously,
I have similar problems with the Affine transformation
parameters: 8623, 8624, 8625, 8639, 8640 and 8641.</span></p>
</div>
</blockquote>
<p>Same here on the respective property map of each operation
parameter.</p>
<p>so something like<br>
</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"
lang="EN-US"> </span><span style="color:#C00000">.set(metadata::Identifier::CODESPACE_KEY,
metadata::Identifier::EPSG)</span><span style="color:#C00000"
lang="EN-US"></span><span style="color:#C00000">.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" lang="EN-US"> </span><span
style="color:#C00000">.set(metadata::Identifier::CODESPACE_KEY,
metadata::Identifier::EPSG)</span><span style="color:#C00000"
lang="EN-US"></span><span style="color:#C00000">.set(metadata::Identifier::CODE_KEY,
8623</span><span style="color:#C00000">)</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>
},
</p>
<p><br>
</p>
<blockquote type="cite"
cite="mid:010201d8939c$f403ca60$dc0b5f20$@ziggo.nl">
<div class="WordSection1">
<p class="MsoPlainText"><span style="color:black" lang="EN-US"><o:p></o:p></span></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><span style="color:black" lang="EN-US">Kind
regards,<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="color:black" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span style="color:black" lang="EN-US">Bart<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="color:black" lang="EN-US"><o:p> </o:p></span></p>
</div>
</blockquote>
<pre class="moz-signature" cols="72">--
<a class="moz-txt-link-freetext" href="http://www.spatialys.com">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
</body>
</html>