[Proj] GDM2000 for Malaysia
Bjørn Krangnes
bkr at devonor.com
Mon May 7 07:32:31 EDT 2007
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 ....
>> From: Bjørn Krangnes
>> Date: Fri, 4 May 2007 15:51:40 +0200 (CEST)
>> Subject: [Proj] GDM2000 for Malaysia
>>
>> I am trying convert GDM2000 – MRSO (Peninsular)
>> I am using C# and GDAL
>> The code look 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_defs <>");
>> xyz[0] = 1.827764875;
>> xyz[1] = 103.64025987222223;
>> xyz[2] = 10.0;
> .....
>
>> The expected result is :
>> Easting = 627096.132 m
>> Northing = 202122.062 m
>>
>> Anyone who knows what the problem is ?
>
> Yep. There really should be some tutorial, at least for the oblique
> mercator
> and some stereographic projections, since the same questions are put time
> after time again.
> Your PROJ string is not complete. The correct results could emerge if you
> add the options no_uoff rot_conv.
> See also the entry <malay> in the /nad/world file in the PROJ
> distribution.
> With my stuff I get 627096.13171, 202122.06248 m.
>
>
>
> _______________________________________________
> Proj mailing list
> Proj at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/proj
>
Bjørn Krangnes
Devonor AS
Telephone: +47 32 29 96 90
Direct Line: +47 32 29 96 91
Mobile: +47 45035640
E-mail: bkr at devonor.com
Web: www.devonor.com
More information about the Proj
mailing list