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

Nicolas Bellaiche Nicolas.Bellaiche at ign.fr
Thu Nov 5 07:08:48 PST 2020


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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/proj/attachments/20201105/f0b81372/attachment.html>


More information about the PROJ mailing list