[Proj] GDM2000 for Malaysia

Oscar van Vlijmen ovv at hetnet.nl
Mon May 7 06:15:01 PDT 2007


> From: Bjørn Krangnes
> Date: Mon, 7 May 2007 13:32:31 +0200 (CEST)
> Subject: Re: [Proj] GDM2000 for Malaysia
> 
> I have modified my proj string and looks as follows:
> stat3 = input.ImportFromProj4("+proj=longlat +ellps=GRS80
> +no_defs  <>");
> stat4 = output.ImportFromProj4("+proj=omerc +lat_0=4
> +lonc=102.25 +alpha=323.0257964666666 +k=0.99984 +x_0=804671
> +y_0=0 +ellps=GRS80 +units=m +no_uoff +rot_conv +no_defs
> <>");
> 
> The result I get is 959373.969 and -240050.800 which again is far off.
> What am I doing doing wrong or missing ....
> 

I can reproduce your results exactly by assuming that no_uoff and rot_conv
do not work. So, by calculating a normal oblique mercator, where the
software calculates the gamma from alpha.
Your problem seems to be not PROJ related?






More information about the Proj mailing list