[Proj] GDM2000 for Malaysia

Bjørn Krangnes bkr at devonor.com
Tue May 8 03:35:24 EDT 2007


I am using GDAL 1.4.0 and C#.
I am getting other coordinate transformations to work.
The TransformPoint function returns no status (void function).
You are saying that my proj strings are ok.

How should I proceed to sort out my problem ...

>> 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?
>
>
>
> _______________________________________________
> 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