<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
  </head>
  <body>
    <p>There are at least 2 issues:</p>
    <p>- your pipeline is incorrect. You should debug it first with the
      cct utility. It should rather be something like:</p>
    <p>    +proj=pipeline +step +proj=axisswap +order=2,1 +step
      +proj=unitconvert +xy_in=deg +xy_out=rad +step +proj=tmerc
      +lat_0=0 +lon_0=25 +k=1 +x_0=25500000 +y_0=0 +ellps=GRS80 +step
      +proj=helmert +convention=coordinate_frame +x=-6685321.2964
      +y=-25439452.96812 +rx=1.00001130081 +ry=-0.00120233218 +theta=0</p>
    <p>- EPSG:36122 is an invalid CRS code<br>
      <span style="mso-fareast-language:EN-US"></span></p>
    <div class="moz-cite-prefix">Le 09/09/2021 à 13:18, Schupp, Leon a
      écrit :<br>
    </div>
    <blockquote type="cite"
cite="mid:AM0PR09MB35883B5B4965CA661D1DDF72B5D59@AM0PR09MB3588.eurprd09.prod.outlook.com">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <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;}a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}pre
        {mso-style-priority:99;
        mso-style-link:"HTML Vorformatiert Zchn";
        margin:0cm;
        font-size:10.0pt;
        font-family:"Courier New";}span.HTMLVorformatiertZchn
        {mso-style-name:"HTML Vorformatiert Zchn";
        mso-style-priority:99;
        mso-style-link:"HTML Vorformatiert";
        font-family:Consolas;}span.E-MailFormatvorlage20
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.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]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US">Hello
            Even,<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US">these
            are the SQL INSERT statements i used:<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US">INSERT
            INTO "main"."other_transformation"<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US">("auth_name",
            "code", "name", "method_auth_name", "method_code",
            "method_name", "source_crs_auth_name", "source_crs_code",
            "target_crs_auth_name", "target_crs_code", "accuracy",
            "deprecated")<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US">VALUES
            ('PROJ', 'P0001', 'ETRS89 to VVJ', 'PROJ', 'PROJString',
            '+proj=pipeline
            <o:p></o:p></span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US">+step
            +type=proj4 +to=+proj=tmerc +lat_0=0 +lon_0=25 +k=1
            +x_0=25500000 +y_0=0 +ellps=GRS80 +units=m +no_defs<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US">+from=+proj=longlat
            +ellps=WGS84 +units=m +no_defs
            <o:p></o:p></span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US">+step
            +proj=helmert +convention=coordinate_frame +x=-6685321.2964
            +y=-25439452.96812 +rx=1.00001130081 +ry=-0.00120233218',
            'EPSG', '4258', 'EPSG', '36122', 1.0, 0);<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US">INSERT
            INTO "main"."usage" ("auth_name", "code",
            "object_table_name", "object_auth_name", "object_code",
            "extent_auth_name", "extent_code", "scope_auth_name",
            "scope_code")
            <o:p></o:p></span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US">VALUES
            ('PROJ', 'U0002', 'other_transformation', 'PROJ', 'P0001',
            'EPSG', '3333', 'EPSG', '1024');<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"
          style="margin-bottom:8.0pt;line-height:105%"><span
style="font-size:10.0pt;line-height:105%;font-family:"Arial",sans-serif;color:black">Mit
            freundlichen Grüßen / Best regards<br>
            <br>
            Leon Schupp<br>
          </span><span
style="font-size:8.0pt;line-height:105%;font-family:"Arial",sans-serif;color:black">Student
            – Development Engineer<br>
          </span><span
style="font-size:10.0pt;line-height:105%;font-family:"Arial",sans-serif;color:black"><br>
            <br>
          </span><span style="mso-fareast-language:EN-US"><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>Von:</b> Even Rouault
              <a class="moz-txt-link-rfc2396E" href="mailto:even.rouault@spatialys.com"><even.rouault@spatialys.com></a> <br>
              <b>Gesendet:</b> Donnerstag, 9. September 2021 11:56<br>
              <b>An:</b> Schupp, Leon <a class="moz-txt-link-rfc2396E" href="mailto:LSchupp@moba.de"><LSchupp@moba.de></a>;
              <a class="moz-txt-link-abbreviated" href="mailto:proj@lists.osgeo.org">proj@lists.osgeo.org</a><br>
              <b>Betreff:</b> Re: [PROJ] 2D Helmert transformation after
              the map projection and PROJ won't use added transformation
              from the database<o:p></o:p></p>
          </div>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Leon, <o:p></o:p></p>
        <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
          <div>
            <p class="MsoNormal"
              style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                lang="EN-US">First question:</span><o:p></o:p></p>
            <p class="MsoNormal"
              style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                lang="EN-US">Is it possible to add a 2D Helmert
                transformation to the proj.db database. I tried adding
                it to the helmert_transformation_table, but proj.db
                didn’t let me choose a projected crs as source
                transformation.</span><o:p></o:p></p>
          </div>
        </blockquote>
        <p class="MsoNormal">Yes as designed currently it is limited to
          source and target CRS being geographic CRS<br>
          <br>
          <o:p></o:p></p>
        <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
          <div>
            <p class="MsoNormal"
              style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                lang="EN-US">I want to add a helmert transformation
                which uses ETRS89/GK25 as source crs and transforms it
                into the finnish VVJ crs.</span><o:p></o:p></p>
            <p class="MsoNormal"
              style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                lang="EN-US"> </span><o:p></o:p></p>
            <p class="MsoNormal"
              style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                lang="EN-US">My second question is:
              </span><o:p></o:p></p>
            <p class="MsoNormal"
              style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                lang="EN-US">I tried adding the helmert transformation
                as a proj string to the other_transformation table, but
                proj won’t use it. I also added an entry into the usage
                table for the transformation. </span><o:p></o:p></p>
            <p class="MsoNormal"
              style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                lang="EN-US">When I add a normal helmert transformation
                or a grid transformation, proj has no problem using them
                after they are added, but not when I add a
                transformation in other_transformation.</span><o:p></o:p></p>
          </div>
        </blockquote>
        <p>Show your SQL INSERT statements<o:p></o:p></p>
        <p class="MsoNormal">Even <o:p></o:p></p>
        <pre>-- <o:p></o:p></pre>
        <pre><a href="http://www.spatialys.com" moz-do-not-send="true">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>
    </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>