Re: Lat/Lon to Local Time



Anna wrote:

<snip>
I actually must go by political local times, not UT. So although I'd
love to write that ONE line of code, it's not what they have asked of
me. I am sure I am going to have to use a table for all the different
political boundaries. I guess I was just hoping that the solution was
small enough I could avoid it.

How about if you turned the actual meanderings of the perimeter of each time zone into a closed object. Then maybe you could determine which object each lat/long position is in.

Jack

--
Jack Erbes in Ellsworth, Maine, USA - jackerbes at adelphia dot net
(also receiving email at jacker at midmaine.com)
.



Relevant Pages

  • Re: MCX connector repair (in UK) (only vaguely on topic I admit)
    ... Ming wrote: ... Some of the most enlightening explanations and best advice here comes from software and hardware developers and sellers who are willing to take off their "salesmen's hats" and discuss things objectively. ... Jack Erbes in Ellsworth, Maine, USA - jackerbes at adelphia dot net ...
    (sci.geo.satellite-nav)
  • Re: AIS ship data: everibody have seen this? - why do we use GPS to track buoys??
    ... geezers about the undisputed reliability of the simple magnetic compass and the paper map. ... Coastal Maine is not a good place for relying on one thing, I like the warm fuzzy feeling I got when I have two or three things telling me that I probably am where I think I am. ... Jack Erbes in Ellsworth, Maine, USA - jackerbes at adelphia dot net ...
    (rec.boats.electronics)
  • Re: Micrologic GPS battery
    ... don't ever mention Raymarine radars here if you can avoid it. ... If Robert does not want it, the next first taker can have it. ... Jack Erbes in Ellsworth, Maine, USA - jackerbes at adelphia dot net ...
    (rec.boats.electronics)
  • Re: HX350 Standard Handheld vhf
    ... (sorry for the wordwrapping this long URL) ... Bookmarking this site http://tinyurl.com and clicking on it from a long url will give you a url like this: ... Jack Erbes in Ellsworth, Maine, USA - jackerbes at adelphia dot net ...
    (rec.boats.electronics)

Loading