[PROJ] Can't obtain meridian convergence and scale factor

Jose Gonçalves jagoncal at gmail.com
Thu Nov 5 09:56:48 PST 2020


Your input is projected coordinates. You should do the inverse:

echo 600000 2200000 | proj -I +init=IGNF:LAMBE -SV

Regards

José Gonçalves

Em qui., 5 de nov. de 2020 às 15:08, Nicolas Bellaiche
<Nicolas.Bellaiche at ign.fr> escreveu:
>
> Hi,
>
> I'm struggling computing the scale factor and the meridian convergence from a PJ object. I'm working with the C++ API, but even with the executable proj, it doesn't seem to work properly:
>
> echo 600000 2200000 | proj +init=IGNF:LAMBE -SV
>
>
> sends back
>
> #Lambert Conformal Conic
>
> # Conic, Sph&Ell
>
> # lat_1= and lat_2= or lat_0, k_0=
>
> # +init=IGNF:LAMBE +proj=lcc +lat_1=46.8 +lat_0=46.8 +lon_0=0 +k_0=0.99987742
>
> # +x_0=600000 +y_0=2200000 +ellps=clrk80ign +pm=paris +units=m +no_defs
>
> #--- following specified but NOT used
>
> # +type=crs
>
> #Final Earth figure: ellipsoid
>
> #  Major axis (a): 6378249.200
>
> #  1/flattening: 293.466021
>
> #  squared eccentricity: 0.006803487646
>
> Rel. 7.0.0, March 1st, 2020
>
> <proj>: while processing file: <stdin>, line 1
>
> latitude or longitude exceeded limits
>
>
> What's wrong? Bug in the code or misunderstanding from me.
>
>
> Thanks a lot,
>
>
> Nicolas Bellaiche
>
>
>
> _______________________________________________
> PROJ mailing list
> PROJ at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/proj


More information about the PROJ mailing list