Re: [OpenMap Users] Issue with nmea/kml conversion

From: Mulone <andrea.ballatore_at_ucd.ie>
Date: Fri, 10 Jul 2009 11:25:14 -0700 (PDT)

Issue fixed... In the NMEA format the string 5318.56460 means 53* 18.56460'
and NOT 53* 18' 56.46''. I'm such a noob :-)

Thanks again for your help guys!


Mulone wrote:
>
> Thanks for the example. I'm trying to see what's different from my version
> ( which is this small java class http://www.copypastecode.com/6963 ) and I
> couldn't find any...
> I'm sure there is a mistake somewhere.
>
> Thanks again!
> Mulone
>
>
>
> Mulone wrote:
>>
>> Hi everybody,
>>
>> I’m still messing with gps on openmap.
>> When I convert a GPGLL message (containing DMS coordinates) to decimal
>> degrees I get a point pretty close to the right one but still wrong,
>> while if I load the same message into a nmea2kml converter (such as
>> http://www.h-schmidt.net/NMEA ), I get exactly the right coordinates. So
>> I’m missing something in the conversion. I’m just converting the dms
>> value (e.g. 5318.56460 -> 53* 18’ 56,46'' -> 53.31568), what else do I
>> need to do to get the right position?
>>
>> E.g.
>>
>> INPUT Nmea message $GPGLL,5318.56460,N,00613.46033,W,110812.000,A,A*48
>> OUTPUT My app: user position: 53.31568 -6.2294536 (wrong)
>> OUTPUT Kml converter:
>> <coordinates>-6.22434117,53.30940850,40</coordinates> (correct)
>>
>> INPUT Nmea message $GPGLL,5318.56451,N,00613.46047,W,110814.000,A,A*4F
>> OUTPUT My app: user position: 53.31568 -6.2294574 (wrong)
>> OUTPUT Kml converter:
>> <coordinates>-6.22434117,53.30940850,40</coordinates> (correct)
>>
>
>

-- 
View this message in context: http://www.nabble.com/Issue-with-nmea-kml-conversion-tp24352929p24432456.html
Sent from the OpenMap mailing list archive at Nabble.com.
--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Fri Jul 10 2009 - 14:26:12 EDT

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:09 EDT