Go Back   GPS Discussion > General GPS Forums > General GPS Discussion

Notices

General GPS Discussion Discussion of anything GPS related that doesn't fit into a more specific forum.


Reply
LinkBack Thread Tools
Unread 03-09-2010, 4:07 PM   #1
 
Join Date: Mar 09 2010
Location: france
Posts: 6
[Convert HEX to decimal] URGENT

Hi

My GPS sends latitude and longitude like this:

68c68f,5378d3

I have searched very much in google and in this forum but there is no response with a script (in C, python, perl or whatever you want) to convert automatically HEX coordinates to decimal.

Can someone helps me?

Thanks very much
cyrilparis is offline  
View cyrilparis's Profile Find More Posts by cyrilparis
Reply With Quote
Unread 03-09-2010, 9:37 PM   #2
zee
 
Join Date: Feb 10 2010
Location: USA
Posts: 90
Re: [Convert HEX to decimal] URGENT

From my Windows XP: Start>Programs>Accessories>Calculator> View Tab, select Scientific.
The best that I can come up with.
zee is offline  
View zee's Profile Find More Posts by zee
Reply With Quote
Unread 03-10-2010, 3:33 AM   #3
 
Join Date: Mar 09 2010
Location: france
Posts: 6
Re: [Convert HEX to decimal] URGENT

Thks for reply but that s really not so easy :-)

Someone can help?
cyrilparis is offline  
View cyrilparis's Profile Find More Posts by cyrilparis
Reply With Quote
Unread 03-10-2010, 10:05 AM   #4
zee
 
Join Date: Feb 10 2010
Location: USA
Posts: 90
Re: [Convert HEX to decimal] URGENT

On my "plain jane" attempts at conversion, I came up with:

6866575
5470419

Bet they are not in the same country, that you are looking for.
At least I learned how to do the simple stuff, anyway.
Auto conversion, that's a biggie.
zee is offline  
View zee's Profile Find More Posts by zee
Reply With Quote
Unread 03-10-2010, 3:12 PM   #5
 
Join Date: Mar 09 2010
Location: france
Posts: 6
Re: [Convert HEX to decimal] URGENT

I know to convert a hexa in decimal

I need to convert in LATITUDE AND LOGITUDE DECIMAL FORM
(or degree)
cyrilparis is offline  
View cyrilparis's Profile Find More Posts by cyrilparis
Reply With Quote
Unread 03-12-2010, 4:34 PM   #6
 
Join Date: Mar 02 2010
Location: Minnesota
Posts: 5
Re: [Convert HEX to decimal] URGENT

Try here..

Hex to Float conversion of GPS Latitude - C / C++ answers
bkra13 is offline  
View bkra13's Profile Find More Posts by bkra13
Reply With Quote
Unread 03-13-2010, 6:49 AM   #7
 
Join Date: Mar 09 2010
Location: france
Posts: 6
Re: [Convert HEX to decimal] URGENT

Hi

thsk it looks likes better of what i m looking for

But whei apply this fomula i don't get good results


Correct results should be something like
48.80 , 2.28

Last edited by cyrilparis; 03-13-2010 at 7:01 AM.
cyrilparis is offline  
View cyrilparis's Profile Find More Posts by cyrilparis
Reply With Quote
Unread 03-13-2010, 12:34 PM   #8
 
Join Date: Jan 17 2009
Location: Florida Panhandle
Posts: 147
Re: [Convert HEX to decimal] URGENT

When you were doing your google search did you serch for "hex to decimal conversion" or did you write "hexadecimal to decimal conversion?"

You will not get a good answer if you only write "hex." I got several good hits using the correct term.

George
GeorgeC is offline  
View GeorgeC's Profile Find More Posts by GeorgeC
Reply With Quote
Unread 03-13-2010, 12:50 PM   #9
 
Join Date: Mar 09 2010
Location: france
Posts: 6
Re: [Convert HEX to decimal] URGENT

i guess bkra13 was on a good lead

But fomula seems not working...


can you help? (goodlr haz no anser)
cyrilparis is offline  
View cyrilparis's Profile Find More Posts by cyrilparis
Reply With Quote
Unread 03-14-2010, 7:35 AM   #10
 
Join Date: Aug 20 2009
Location: Australia
Posts: 139
Re: [Convert HEX to decimal] URGENT

Quote:
Originally Posted by cyrilparis View Post
Hi

My GPS sends latitude and longitude like this:

68c68f,5378d3

I have searched very much in google and in this forum but there is no response with a script (in C, python, perl or whatever you want) to convert automatically HEX coordinates to decimal.

Can someone helps me?

Thanks very much
Lets start at the beginning! What GPS might this be ??????

Make/model and be specific.
GNSS is offline  
View GNSS's Profile Find More Posts by GNSS
Reply With Quote
Unread 03-14-2010, 10:56 AM   #11
 
Join Date: Mar 09 2010
Location: france
Posts: 6
Re: [Convert HEX to decimal] URGENT

Holux tracker 005
cyrilparis is offline  
View cyrilparis's Profile Find More Posts by cyrilparis
Reply With Quote
Reply

Tags
convert, decimal, hex

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
GPS data HEX interpretation divya General GPS Discussion 9 01-11-2010 6:13 AM
A program/script to Converting from NMEA to Binary Hex (or vice versa) kocoman General GPS Discussion 3 05-07-2009 4:19 AM


About Contact Staff Rules Legal Privacy Top

GPSDiscussion.com RSS2 Feed   Add to Google   Add to My Yahoo!   Add to My MSN



Copyright © 2007, GPSDiscussion.com. GPSDiscussion.com is not affiliated with, nor endorsed by, any GPS manufacturers.
Best viewed at a resolution of 1024x768 or higher. All times are GMT -5. The time now is 8:00 PM.
Powered by vBulletin. Copyright ©2000 - 2012, Jelsoft Enterprises Ltd. SEO by vBSEO ©2008, Crawlability, Inc.