Re: How to Integer to degree,minute,second conversion...

From: Dave Patton (spam_at_trap.invalid)
Date: 10/29/04


Date: Fri, 29 Oct 2004 20:11:57 GMT

tomujtaba@hotmail.com (Mujtaba) wrote in
news:8f4f92aa.0410282304.555bff38@posting.google.com:

> Hi
>
> i am working on a software where i am working with latitude,
> longitude. I am reading input from XML file where data is in integer
> format like 408739, -11154
> etc for latitude and longitude etc. Now i have to process it in
> degree, minute and second format.

First you have to know what "408739" and "-11154" actually mean.
Just saying they are "integer format" doesn't mean much.
For example, 408739 could be:
40.8739 degrees north latitude
113 degrees, 32 minutes, 19 seconds north latitude
(otherwise known as 408739 seconds north latitude)

-- 
Dave Patton
Canadian Coordinator, Degree Confluence Project
http://www.confluence.org/
My website: http://members.shaw.ca/davepatton/


Relevant Pages

  • Re: Trying to convert from Latitude/Longitude to Radar plot?
    ... RF strength data. ... For simplicity, I will designate latitude and longitudes as. ... Suppose the original coordinates are in A and B (longitude) ... > I have taken a series of RF field strength measurements of an FM ...
    (microsoft.public.excel.charting)
  • Re: Conversions
    ... the North and East coordinates would have to be ... projected from latitude and longitude for them to have a conversion back to ... point to be rotated and where the RotatedDirection is the calulated ...
    (sci.geo.satellite-nav)
  • Re: estimating error in my GPS position.
    ... longitude coordinate and convert them to meters. ... longitude and latitude data respectively. ... The manual says the GPS is good to within 30m but this is for the ... on the surface of the ocean. ...
    (sci.geo.satellite-nav)
  • Re: GPS to grid reference
    ... That's horrendous because in my book the N pole is *defined* as 90°N and similarly the equator and S pole. ... The definitions of unit distances are not really the same thing at all as co-ordinate systems, which are a certain way of using measurements, not the measurements themselves. ... were put on a different footing only last century it's time we agreed on latitude and longitude: ...
    (uk.rec.walking)
  • Re: How to Integer to degree,minute,second conversion...
    ... I am reading input from XML file where data is in integer ... > etc for latitude and longitude etc. ... > degree, minute and second format. ...
    (sci.geo.satellite-nav)