Click here to Skip to main content
12,402,189 members (66,826 online)
Rate this:
 
Please Sign up or sign in to 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
return true
instead of line
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 11-May-12 23:00pm
Denonth224
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

  Permalink  
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.
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

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.
  Permalink  

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160721.1 | Last Updated 12 May 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100