Click here to Skip to main content
15,886,518 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
I was posting similar post on some other site already. And I did get an answer in theory but I really need somone to help me.

So I am using this EXAMPLE for testing my GPS. What I want to do is how to get standard decimal values like 56.322415 for latitude and longitude. Because now I am getting 5304,254 value.

Funny thing is, if you look the picture that is on the project site you can see values that I really need. But when I start it I get it in British system.
I have tried to
C#
return true
instead of line
C#
return Transform(deciLat, deciLon, height);

But I am still getting same values.

So bottom line is how to get values that are in the picture?

I need it in this form because I will use this for Google maps.

Can you check code and tell me what should I left out or how to convert it to WGS84 format.

Thank you.
Posted

 
Share this answer
 
Comments
Denonth 12-May-12 5:32am    
@losmac Hi, Thank you for your afford. But I my presentation of data is for example Latitude 5604,365 and I need to something like 38.654. I think conversion is made before and I can't find it in the code. Or I have misunderstood what you tried to say. If you can give me example of how to achieve this please do.
Here is the picture that is on the codeproject site : HERE

And this is picture that I am getting when starting a program: HERE

Please help.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900