<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p><br>
</p>
<div class="moz-cite-prefix">Le 30/05/2023 à 19:24, Nicolas
Bellaiche a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:889940692.8524263.1685467485664.JavaMail.zimbra@ign.fr">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div style="font-family: arial, helvetica, sans-serif; font-size:
12pt; color: #000000">
<div><br>
</div>
<div>Ok, i kind of fixed my issue even if that's not all very
clear to me. </div>
<div>One of the things that I can't understand is that outdated
"+init="</div>
<div><br data-mce-bogus="1">
</div>
<div>For instance if I try to use</div>
<div>
<p style="margin: 0px; font-style: normal; font-variant-caps:
normal; font-weight: normal; font-stretch: normal;
font-size: 11px; line-height: normal; font-family: Menlo;
color: rgb(0, 0, 0);" data-mce-style="margin: 0px;
font-style: normal; font-variant-caps: normal; font-weight:
normal; font-stretch: normal; font-size: 11px; line-height:
normal; font-family: Menlo; color: #000000;"><span
style="font-variant-ligatures: no-common-ligatures;"
data-mce-style="font-variant-ligatures:
no-common-ligatures;"><span class="Apple-converted-space"> </span>echo
2d20\'11.5\"E<span class="Apple-converted-space"> </span>46d47\'59.775\"N
<span class="Apple-converted-space"> </span>|<span
class="Apple-converted-space"> </span>./bin/proj<span
class="Apple-converted-space"> </span>IGNF:LAMBE -S<span
style="font-family: arial, helvetica, sans-serif;
font-size: 12pt;" data-mce-style="font-family: arial,
helvetica, sans-serif; font-size: 12pt;"> without the</span>
+init= syntax<span style="font-family: arial, helvetica,
sans-serif; font-size: 12pt;"
data-mce-style="font-family: arial, helvetica,
sans-serif; font-size: 12pt;"> I get</span></span></p>
<p style="margin: 0px; font-style: normal; font-variant-caps:
normal; font-weight: normal; font-stretch: normal;
font-size: 11px; line-height: normal; font-family: Menlo;
color: rgb(0, 0, 0);" data-mce-style="margin: 0px;
font-style: normal; font-variant-caps: normal; font-weight:
normal; font-stretch: normal; font-size: 11px; line-height:
normal; font-family: Menlo; color: #000000;"><span
style="font-variant-ligatures: no-common-ligatures;"
data-mce-style="font-variant-ligatures:
no-common-ligatures;"><br data-mce-bogus="1">
</span></p>
</div>
<div>
<p style="margin: 0px; font-style: normal; font-variant-caps:
normal; font-weight: normal; font-stretch: normal;
font-size: 11px; line-height: normal; font-family: Menlo;
color: rgb(0, 0, 0);" data-mce-style="margin: 0px;
font-style: normal; font-variant-caps: normal; font-weight:
normal; font-stretch: normal; font-size: 11px; line-height:
normal; font-family: Menlo; color: #000000;"><span
style="font-variant-ligatures: no-common-ligatures;"
data-mce-style="font-variant-ligatures:
no-common-ligatures;">proj_create: unrecognized format /
unknown name</span></p>
<p style="margin: 0px; font-style: normal; font-variant-caps:
normal; font-weight: normal; font-stretch: normal;
font-size: 11px; line-height: normal; font-family: Menlo;
color: rgb(0, 0, 0);" data-mce-style="margin: 0px;
font-style: normal; font-variant-caps: normal; font-weight:
normal; font-stretch: normal; font-size: 11px; line-height:
normal; font-family: Menlo; color: #000000;"><span
style="font-variant-ligatures: no-common-ligatures;"
data-mce-style="font-variant-ligatures:
no-common-ligatures;">Rel. 9.1.1, December 1st, 2022</span></p>
<p style="margin: 0px; font-style: normal; font-variant-caps:
normal; font-weight: normal; font-stretch: normal;
font-size: 11px; line-height: normal; font-family: Menlo;
color: rgb(0, 0, 0);" data-mce-style="margin: 0px;
font-style: normal; font-variant-caps: normal; font-weight:
normal; font-stretch: normal; font-size: 11px; line-height:
normal; font-family: Menlo; color: #000000;"><span
style="font-variant-ligatures: no-common-ligatures;"
data-mce-style="font-variant-ligatures:
no-common-ligatures;"><proj>:<span
class="Apple-converted-space"> </span></span></p>
<p style="margin: 0px; font-style: normal; font-variant-caps:
normal; font-weight: normal; font-stretch: normal;
font-size: 11px; line-height: normal; font-family: Menlo;
color: rgb(0, 0, 0);" data-mce-style="margin: 0px;
font-style: normal; font-variant-caps: normal; font-weight:
normal; font-stretch: normal; font-size: 11px; line-height:
normal; font-family: Menlo; color: #000000;"><span
style="font-variant-ligatures: no-common-ligatures;"
data-mce-style="font-variant-ligatures:
no-common-ligatures;">projection initialization failure</span></p>
<p style="margin: 0px; font-style: normal; font-variant-caps:
normal; font-weight: normal; font-stretch: normal;
font-size: 11px; line-height: normal; font-family: Menlo;
color: rgb(0, 0, 0);" data-mce-style="margin: 0px;
font-style: normal; font-variant-caps: normal; font-weight:
normal; font-stretch: normal; font-size: 11px; line-height:
normal; font-family: Menlo; color: #000000;"><span
style="font-variant-ligatures: no-common-ligatures;"
data-mce-style="font-variant-ligatures:
no-common-ligatures;">cause: Invalid PROJ string syntax</span></p>
<p style="margin: 0px; font-style: normal; font-variant-caps:
normal; font-weight: normal; font-stretch: normal;
font-size: 11px; line-height: normal; font-family: Menlo;
color: rgb(0, 0, 0);" data-mce-style="margin: 0px;
font-style: normal; font-variant-caps: normal; font-weight:
normal; font-stretch: normal; font-size: 11px; line-height:
normal; font-family: Menlo; color: #000000;"><span
style="font-variant-ligatures: no-common-ligatures;"
data-mce-style="font-variant-ligatures:
no-common-ligatures;">program abnormally terminated</span></p>
<p style="margin: 0px; font-style: normal; font-variant-caps:
normal; font-weight: normal; font-stretch: normal;
font-size: 11px; line-height: normal; font-family: Menlo;
color: rgb(0, 0, 0);" data-mce-style="margin: 0px;
font-style: normal; font-variant-caps: normal; font-weight:
normal; font-stretch: normal; font-size: 11px; line-height:
normal; font-family: Menlo; color: #000000;"><span
style="font-variant-ligatures: no-common-ligatures;"
data-mce-style="font-variant-ligatures:
no-common-ligatures;"><br data-mce-bogus="1">
</span></p>
<p style="margin: 0px; font-style: normal; font-variant-caps:
normal; font-weight: normal; font-stretch: normal;
font-size: 11px; line-height: normal; font-family: Menlo;
color: rgb(0, 0, 0);" data-mce-style="margin: 0px;
font-style: normal; font-variant-caps: normal; font-weight:
normal; font-stretch: normal; font-size: 11px; line-height:
normal; font-family: Menlo; color: #000000;"><span
style="font-variant-ligatures: no-common-ligatures;"
data-mce-style="font-variant-ligatures:
no-common-ligatures;">Is it normal?</span></p>
</div>
</div>
</blockquote>
<p>Maybe? the old proj utility works with coordinate operations,
actually only map projections, but not CRS definitions. In PROJ
4.x era, there was no such distinction. IGNF:LAMBE is a CRS
definition now. Furthermore the proj utility has not been updated
to resolve objects by code/names. (with the +init= prefix, proj
errors out with "can't initialize operations that take non-angular
input coordinates" for me. likely some mismatch between radian vs
degree input expectations). I presume it could be enhanced to work
with projected CRS definitions, although it is not totally clear
to me what should be the expectations regarding input/output axis
order.<br>
</p>
<p>Even<br>
</p>
<blockquote type="cite"
cite="mid:889940692.8524263.1685467485664.JavaMail.zimbra@ign.fr">
<div style="font-family: arial, helvetica, sans-serif; font-size:
12pt; color: #000000">
<div>
<p style="margin: 0px; font-style: normal; font-variant-caps:
normal; font-weight: normal; font-stretch: normal;
font-size: 11px; line-height: normal; font-family: Menlo;
color: rgb(0, 0, 0);" data-mce-style="margin: 0px;
font-style: normal; font-variant-caps: normal; font-weight:
normal; font-stretch: normal; font-size: 11px; line-height:
normal; font-family: Menlo; color: #000000;"><span
style="font-variant-ligatures: no-common-ligatures;"
data-mce-style="font-variant-ligatures:
no-common-ligatures;"><br data-mce-bogus="1">
</span></p>
<p style="margin: 0px; font-style: normal; font-variant-caps:
normal; font-weight: normal; font-stretch: normal;
font-size: 11px; line-height: normal; font-family: Menlo;
color: rgb(0, 0, 0);" data-mce-style="margin: 0px;
font-style: normal; font-variant-caps: normal; font-weight:
normal; font-stretch: normal; font-size: 11px; line-height:
normal; font-family: Menlo; color: #000000;"><span
style="font-variant-ligatures: no-common-ligatures;"
data-mce-style="font-variant-ligatures:
no-common-ligatures;">Sincerely,</span></p>
<p style="margin: 0px; font-style: normal; font-variant-caps:
normal; font-weight: normal; font-stretch: normal;
font-size: 11px; line-height: normal; font-family: Menlo;
color: rgb(0, 0, 0);" data-mce-style="margin: 0px;
font-style: normal; font-variant-caps: normal; font-weight:
normal; font-stretch: normal; font-size: 11px; line-height:
normal; font-family: Menlo; color: #000000;"><span
style="font-variant-ligatures: no-common-ligatures;"
data-mce-style="font-variant-ligatures:
no-common-ligatures;"><br data-mce-bogus="1">
</span></p>
<p style="margin: 0px; font-style: normal; font-variant-caps:
normal; font-weight: normal; font-stretch: normal;
font-size: 11px; line-height: normal; font-family: Menlo;
color: rgb(0, 0, 0);" data-mce-style="margin: 0px;
font-style: normal; font-variant-caps: normal; font-weight:
normal; font-stretch: normal; font-size: 11px; line-height:
normal; font-family: Menlo; color: #000000;"><span
style="font-variant-ligatures: no-common-ligatures;"
data-mce-style="font-variant-ligatures:
no-common-ligatures;">N.B.</span></p>
</div>
<div><br>
</div>
<hr id="zwchr" data-marker="__DIVIDER__">
<div data-marker="__HEADERS__"><b>De: </b>"Even Rouault"
<a class="moz-txt-link-rfc2396E" href="mailto:even.rouault@spatialys.com"><even.rouault@spatialys.com></a><br>
<b>À: </b>"Nicolas Bellaiche"
<a class="moz-txt-link-rfc2396E" href="mailto:nicolas.bellaiche@ign.fr"><nicolas.bellaiche@ign.fr></a><br>
<b>Cc: </b>"proj" <a class="moz-txt-link-rfc2396E" href="mailto:proj@lists.osgeo.org"><proj@lists.osgeo.org></a><br>
<b>Envoyé: </b>Mardi 30 Mai 2023 14:43:03<br>
<b>Objet: </b>Re: [PROJ] Migrating to PROJ-9<br>
</div>
<div><br>
</div>
<div data-marker="__QUOTED_TEXT__">
<p>Weird indeed:<br>
</p>
<p>and what about trying directly the pipeline with cct :</p>
<p>echo 652760.73700000 7033791.24300000 43.64200000 | cct
+proj=pipeline +step +inv +proj=lcc +lat_0=46.5 +lon_0=3
+lat_1=44 +lat_2=49 +x_0=700000 +y_0=6600000 +ellps=GRS80
+step +proj=cart +ellps=GRS80<br>
</p>
<p>you should get:</p>
<p> 4070327.2514 166078.9321 4891298.6149 inf<br>
<br>
</p>
<div class="moz-cite-prefix">Le 30/05/2023 à 14:35, Nicolas
Bellaiche a écrit :<br>
</div>
<blockquote>
<div style="font-family:'arial' , 'helvetica' ,
sans-serif;font-size:12pt;color:#000000">
<div>
<p
style="margin:0px;font-style:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:'menlo';color:rgb(
0 , 0 , 0 )">Bonjour M. Rouault,</p>
<p
style="margin:0px;font-style:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:'menlo';color:rgb(
0 , 0 , 0 )"><strong><br>
</strong></p>
<p
style="margin:0px;font-stretch:normal;line-height:normal"><font
face="Menlo"><span
style="font-weight:normal;font-size:11px">Voilà ce
que </span><span style="font-size:11px">j'obtiens:</span></font></p>
<p
style="margin:0px;font-style:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:'menlo';color:rgb(
0 , 0 , 0 )"><strong><br>
</strong></p>
<p
style="margin:0px;font-style:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:'menlo';color:rgb(
0 , 0 , 0 )"><strong>PROJ9:</strong></p>
<p
style="margin:0px;font-style:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:'menlo';color:rgb(
0 , 0 , 0 )"><strong><br>
</strong></p>
<p
style="margin:0px;font-style:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:'menlo';color:rgb(
0 , 0 , 0 )"><strong>Release % PROJ_DEBUG=3 projinfo
-s IGNF:LAMB93 -t IGNF:RGF93 -o PROJ</strong></p>
<p
style="margin:0px;font-style:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:'menlo';color:rgb(
0 , 0 , 0 );min-height:13px"><br>
</p>
<p
style="margin:0px;font-style:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:'menlo';color:rgb(
0 , 0 , 0 );min-height:13px"><br>
</p>
<p
style="margin:0px;font-style:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:'menlo';color:rgb(
0 , 0 , 0 )">pj_open_lib(proj.ini): call
fopen(/Users/nbellaiche/dev/sd-externs/macosx-clang/proj-9.1.1/nad/proj.ini)
- succeeded</p>
<p
style="margin:0px;font-style:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:'menlo';color:rgb(
0 , 0 , 0 )">pj_open_lib(proj.db): call
fopen(/Users/nbellaiche/dev/sd-externs/macosx-clang/proj-9.1.1/nad/proj.db)
- succeeded</p>
<p
style="margin:0px;font-style:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:'menlo';color:rgb(
0 , 0 , 0 )">Candidate operations found: 1</p>
<p
style="margin:0px;font-style:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:'menlo';color:rgb(
0 , 0 , 0 )">-------------------------------------</p>
<p
style="margin:0px;font-style:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:'menlo';color:rgb(
0 , 0 , 0 )">Operation No. 1:</p>
<p
style="margin:0px;font-style:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:'menlo';color:rgb(
0 , 0 , 0 );min-height:13px"><br>
</p>
<p
style="margin:0px;font-style:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:'menlo';color:rgb(
0 , 0 , 0 )">unknown id, Inverse of LAMBERT-93 +
Conversion from RGF93 geographiques (dms) to RGF93
cartesiennes geocentriques, 0 m, World</p>
<p
style="margin:0px;font-style:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:'menlo';color:rgb(
0 , 0 , 0 );min-height:13px"><br>
</p>
<p
style="margin:0px;font-style:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:'menlo';color:rgb(
0 , 0 , 0 )">PROJ string:</p>
<p
style="margin:0px;font-style:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:'menlo';color:rgb(
0 , 0 , 0 )">+proj=pipeline</p>
<p
style="margin:0px;font-style:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:'menlo';color:rgb(
0 , 0 , 0 )"><span class="Apple-converted-space"> </span>+step
+inv +proj=lcc +lat_0=46.5 +lon_0=3 +lat_1=44
+lat_2=49 +x_0=700000</p>
<p
style="margin:0px;font-style:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:'menlo';color:rgb(
0 , 0 , 0 )"><span class="Apple-converted-space">
</span>+y_0=6600000 +ellps=GRS80</p>
<p
style="margin:0px;font-style:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:'menlo';color:rgb(
0 , 0 , 0 )"><span class="Apple-converted-space"> </span>+step
+proj=cart +ellps=GRS80</p>
<p
style="margin:0px;font-style:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:'menlo';color:rgb(
0 , 0 , 0 )"><br>
</p>
<p
style="margin:0px;font-style:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:'menlo';color:rgb(
0 , 0 , 0 )"><br>
</p>
<p
style="margin:0px;font-style:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:'menlo';color:rgb(
0 , 0 , 0 )"><strong> Release % echo 652760.73700000
7033791.24300000 43.64200000 | cs2cs
+init=IGNF:LAMB93 +to +init=IGNF:RGF93</strong></p>
<p
style="margin:0px;font-style:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:'menlo';color:rgb(
0 , 0 , 0 )">4070355.05<span class="Apple-tab-span" style="white-space:pre"> </span>166080.07
4891332.24</p>
<p
style="margin:0px;font-style:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:'menlo';color:rgb(
0 , 0 , 0 )"><br>
</p>
<p
style="margin:0px;font-style:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:'menlo';color:rgb(
0 , 0 , 0 )"><br>
</p>
<p
style="margin:0px;font-style:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:'menlo';color:rgb(
0 , 0 , 0 )"><strong> Release % echo $PROJ_DATA</strong></p>
<p
style="margin:0px;font-style:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:'menlo';color:rgb(
0 , 0 , 0 )">/Users/nbellaiche/dev/sd-externs/macosx-clang/proj-9.1.1/nad</p>
<p
style="margin:0px;font-style:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:'menlo';color:rgb(
0 , 0 , 0 )"><br>
</p>
</div>
<div>
<p style="color:rgb( 0 , 0 , 0
);font-style:normal;font-weight:normal;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:'menlo'"><strong> Release
% echo $PROJ_LIB</strong></p>
<p style="color:rgb( 0 , 0 , 0
);font-style:normal;font-weight:normal;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:'menlo'">/Users/nbellaiche/dev/sd-externs/macosx-clang/proj-9.1.1/nad</p>
<p style="color:rgb( 0 , 0 , 0
);font-style:normal;font-weight:normal;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:'menlo'"><br>
</p>
<p style="color:rgb( 0 , 0 , 0
);font-style:normal;font-weight:normal;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:'menlo'"><br>
</p>
<p style="color:rgb( 0 , 0 , 0
);font-style:normal;font-weight:normal;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:'menlo'">je
ne vois pas de différence. Je n'ai pas le début d'une
idée de comment identifier le problème...</p>
<p style="color:rgb( 0 , 0 , 0
);font-style:normal;font-weight:normal;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:'menlo'"><br>
</p>
<p style="color:rgb( 0 , 0 , 0
);font-style:normal;font-weight:normal;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:'menlo'">N.</p>
<p style="color:rgb( 0 , 0 , 0
);font-style:normal;font-weight:normal;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:'menlo'"><br>
</p>
<p style="color:rgb( 0 , 0 , 0
);font-style:normal;font-weight:normal;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:'menlo'"><br>
</p>
</div>
<div><br>
</div>
<hr id="zwchr">
<div><b>De: </b>"Even Rouault" <a
href="mailto:even.rouault@spatialys.com"
target="_blank" rel="nofollow noopener noreferrer"
moz-do-not-send="true"><even.rouault@spatialys.com></a><br>
<b>À: </b>"proj" <a href="mailto:proj@lists.osgeo.org"
target="_blank" rel="nofollow noopener noreferrer"
moz-do-not-send="true"><proj@lists.osgeo.org></a><br>
<b>Envoyé: </b>Vendredi 26 Mai 2023 21:50:27<br>
<b>Objet: </b>Re: [PROJ] Migrating to PROJ-9<br>
</div>
<div><br>
</div>
<div>
<p>Ah, and you should avoid using the "+init=" prefix.
This is a deprecated legacy syntax that doesn't
enforce axis order of the CRS definition (without
practical consequence for IGNF: CRS since they use
"GIS friendly" axis order)<br>
</p>
<p>To help debugging this, please provide the output of:<br>
</p>
<p>PROJ_DEBUG=3 projinfo -s IGNF:LAMB93 -t IGNF:RGF93 -o
PROJ<br>
</p>
<p>On my system I get:<br>
</p>
<p>pj_open_lib(proj.ini): call
fopen(/home/even/proj/install-proj-master/share/proj/proj.ini)
- succeeded<br>
pj_open_lib(proj.db): call
fopen(/home/even/proj/install-proj-master/share/proj/proj.db)
- succeeded<br>
Candidate operations found: 1<br>
-------------------------------------<br>
Operation No. 1:<br>
<br>
unknown id, Inverse of LAMBERT-93 + Conversion from
RGF93 geographiques (dms) to RGF93 cartesiennes
geocentriques, 0 m, World<br>
<br>
PROJ string:<br>
+proj=pipeline<br>
+step +inv +proj=lcc +lat_0=46.5 +lon_0=3 +lat_1=44
+lat_2=49 +x_0=700000<br>
+y_0=6600000 +ellps=GRS80<br>
+step +proj=cart +ellps=GRS80<br>
<br>
</p>
<div class="moz-cite-prefix">Le 26/05/2023 à 21:46, Even
Rouault a écrit :<br>
</div>
<blockquote>
<p>Hi,</p>
<p>I get the expected 4070327.25 166078.93 4891298.61
result with proj 6.0.0, 7.2.1, 9.2.0 and master</p>
<p>There's no grid involved in this operation, just
inverse LCC projection on the RGF93 datum</p>
<p>I also tried to reproduce your issue if the PROJ
< 6 IGNF file is found in the PROJ resource
path(s) (non nominal situation - this file is not
needed any more, and will generally lead to
suboptimal results. Its content is included in the
proj.db file), but even with that I get the expected
result. So no idea why you get wrong results<br>
</p>
<p>Even</p>
<p><br>
</p>
<div class="moz-cite-prefix">Le 26/05/2023 à 20:54,
Nicolas Bellaiche a écrit :<br>
</div>
<blockquote>
<div style="font-family:'arial' , 'helvetica' ,
sans-serif;font-size:12pt;color:#000000">
<div>Hi all,</div>
<div><br>
</div>
<div>I'm migrating my C++ code from PROJ4 to PROJ9
and I meet a worrying issue with the
computation. Some of my regress tests don't pass
so I've tested with cs2cs and gets the same
difference:</div>
<div><br>
</div>
<div>
<p style="color:rgb( 0 , 0 , 0
);font-style:normal;font-weight:normal;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:'menlo'"><span
class="Apple-converted-space">PROJ4</span></p>
<p style="color:rgb( 0 , 0 , 0
);font-style:normal;font-weight:normal;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:'menlo'"><span
class="Apple-converted-space"> </span>echo<span
class="Apple-converted-space"> </span><span
class="Object"
id="OBJ_PREFIX_DWT157_com_zimbra_phone"
style="color:#005a95;text-decoration:none"><a
style="color:#005a95;text-decoration:none"
moz-do-not-send="true">652760.73700000</a></span><span
class="Apple-converted-space"> </span><span
class="Object"
id="OBJ_PREFIX_DWT158_com_zimbra_phone"
style="color:#005a95;text-decoration:none"><a
style="color:#005a95;text-decoration:none"
moz-do-not-send="true">7033791.24300000 43</a></span>.64200000
| cs2cs +init=IGNF:LAMB93 +to
+init=IGNF:RGF93: </p>
<p style="color:rgb( 0 , 0 , 0
);font-style:normal;font-weight:normal;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:'menlo'">4070327.25<span class="Apple-tab-span" style="white-space:pre"> </span><span
class="Object"
id="OBJ_PREFIX_DWT159_com_zimbra_phone"
style="color:#005a95;text-decoration:none"><a
style="color:#005a95;text-decoration:none"
moz-do-not-send="true">166078.93
4891298.61</a></span></p>
<p style="color:rgb( 0 , 0 , 0
);font-style:normal;font-weight:normal;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:'menlo';min-height:13px"><br>
</p>
<p style="color:rgb( 0 , 0 , 0
);font-style:normal;font-weight:normal;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:'menlo';min-height:13px">PROJ7
or PROJ9</p>
<p style="color:rgb( 0 , 0 , 0
);font-style:normal;font-weight:normal;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:'menlo'"><span
class="Apple-converted-space"> </span>echo<span
class="Apple-converted-space"> </span><span
class="Object"
id="OBJ_PREFIX_DWT160_com_zimbra_phone"
style="color:#005a95;text-decoration:none"><a
style="color:#005a95;text-decoration:none"
moz-do-not-send="true">652760.73700000</a></span><span
class="Apple-converted-space"> </span><span
class="Object"
id="OBJ_PREFIX_DWT161_com_zimbra_phone"
style="color:#005a95;text-decoration:none"><a
style="color:#005a95;text-decoration:none"
moz-do-not-send="true">7033791.24300000 43</a></span>.64200000
| cs2cs +init=IGNF:LAMB93 +to
+init=IGNF:RGF93:<span
class="Apple-converted-space"> </span></p>
<p style="color:rgb( 0 , 0 , 0
);font-style:normal;font-weight:normal;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:'menlo'">4070355.05<span class="Apple-tab-span" style="white-space:pre"> </span><span
class="Object"
id="OBJ_PREFIX_DWT162_com_zimbra_phone"
style="color:#005a95;text-decoration:none"><a
style="color:#005a95;text-decoration:none"
moz-do-not-send="true">166080.07
4891332.24</a></span></p>
<p style="color:rgb( 0 , 0 , 0
);font-style:normal;font-weight:normal;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:'menlo'"><span
class="Object"
style="color:#005a95;text-decoration:none"><br>
</span></p>
<p style="color:rgb( 0 , 0 , 0
);font-style:normal;font-weight:normal;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:'menlo'"><span
class="Object"
style="color:#005a95;text-decoration:none"><br>
</span></p>
</div>
<div><br>
</div>
<div>I suspect that PROJ7 and PROJ9 don't read
properly the geoid file but I'm not sure.
Someone can help me tracking and fixing this
problem?</div>
<div><br>
Thanks,</div>
<div><br>
</div>
<div>Nicolas Bellaiche</div>
<div>Institut Géographique National France</div>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre">_______________________________________________
PROJ mailing list
<a href="mailto:PROJ@lists.osgeo.org" rel="nofollow noopener noreferrer nofollow noopener noreferrer" target="_blank" moz-do-not-send="true" class="moz-txt-link-freetext">PROJ@lists.osgeo.org</a>
<a href="https://lists.osgeo.org/mailman/listinfo/proj" rel="nofollow noopener noreferrer nofollow noopener noreferrer" target="_blank" moz-do-not-send="true" class="moz-txt-link-freetext">https://lists.osgeo.org/mailman/listinfo/proj</a>
</pre>
</blockquote>
<pre class="moz-signature">--
<a href="http://www.spatialys.com" rel="nofollow noopener noreferrer nofollow noopener noreferrer" target="_blank" moz-do-not-send="true" class="moz-txt-link-freetext">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre">_______________________________________________
PROJ mailing list
<a href="mailto:PROJ@lists.osgeo.org" rel="nofollow noopener noreferrer nofollow noopener noreferrer" target="_blank" moz-do-not-send="true" class="moz-txt-link-freetext">PROJ@lists.osgeo.org</a>
<a href="https://lists.osgeo.org/mailman/listinfo/proj" rel="nofollow noopener noreferrer nofollow noopener noreferrer" target="_blank" moz-do-not-send="true" class="moz-txt-link-freetext">https://lists.osgeo.org/mailman/listinfo/proj</a>
</pre>
</blockquote>
<pre class="moz-signature">--
<a href="http://www.spatialys.com" rel="nofollow noopener noreferrer nofollow noopener noreferrer" target="_blank" moz-do-not-send="true" class="moz-txt-link-freetext">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
<br>
_______________________________________________<br>
PROJ mailing list<br>
<a href="mailto:PROJ@lists.osgeo.org" target="_blank"
rel="nofollow noopener noreferrer"
moz-do-not-send="true" class="moz-txt-link-freetext">PROJ@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/proj"
target="_blank" rel="nofollow noopener noreferrer"
moz-do-not-send="true" class="moz-txt-link-freetext">https://lists.osgeo.org/mailman/listinfo/proj</a><br>
</div>
</div>
</blockquote>
<pre class="moz-signature">--
<a href="http://www.spatialys.com" target="_blank" rel="nofollow noopener noreferrer" moz-do-not-send="true" class="moz-txt-link-freetext">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
<br>
</div>
</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>