[Proj] Lat-Long to Lambert Conformal Conic(2SP) transformation inaccuracy issue

Oscar van Vlijmen ovv at hetnet.nl
Sun Feb 18 07:44:53 PST 2007


> From: "Tonu Lukk"
> Date: Sun, 18 Feb 2007 12:31:25 +0200
> Subject: Re: [Proj] Lat-Long to Lambert Conformal Conic(2SP) transformation
> inaccuracy issue

> 2.
> proj +proj=lcc +lat_1=58N +lat_2=59d20\'N +lat_0=57d31\'03.19415\"N
> +lon_0=24E +x_0=500000 +y_0=6375000 +ellps=WGS84
> 
> Input 24E 57d31'3.19415"N gives 500000.00       6375098.83
> Input 24E 57.517553N      gives 500000.00       6375098.72
> Obviously the problem is in command line parameters. Further testing
> showed that it (in my case) is caused by the +lat_0=57d31\'03.19415\"N
> parameter. Also tried with \" removed from the end, but with the same
> results. Somehow it is interpreted wrong.
> Any ideas why?

It has to be a ' or " or \' problem like mr. Evenden said.
I can reproduce your numbers (with other software) by chopping off digits at
the position where a ' or \' occurs in the lat_0:

lat=57d 31m 3.19415s; lon=24; lat0=57d 31m; lon0=24;
lat1=58; lat2=59d 20m; x0=5e5; y0=6375e3;

Result: x, y= 500000, 6375098.8268

With lat= 57.517553, y=6375098.7232





More information about the Proj mailing list