[comp.sys.mac.programmer] Is Map cdev info available?

rcfische@polyslo.CalPoly.EDU (Raymond C. Fischer) (10/24/89)

I'm working on a little doohicky that needs to know where in the world
it is, or at least what time zone it's in.  The Map cdev keeps
this information somewhere and has a user interface that has already
been written for me.  The question I've not been able to answer is; where
are the time zone and current world coordinates stored and in what format?

I haven't seen the answer to this in any of the tech notes nor in Inside
Mac.  Am I not looking somewhere I should be for this information?  Should
I not even be considering trying to use Map?  Any info would be appreciated,
as well as comments in general.

Ray Fischer
rcfische@polyslo.calpoly.edu

oster@dewey.soe.berkeley.edu (David Phillip Oster) (10/24/89)

The Map CDEV is documented in the new version of the Script Manager
manual, which was sent to all registered developers, and is on Phil &
Dave's Excellent CD (Thanks Apple, can we get the rest of Inside Mac
on-line on the next CD?) Unfortunately, my copy seems to have disappeared
in the earthquake. Perhaps some other kind soul could answer the
question.

minow@mountn.dec.com (Martin Minow) (10/24/89)

In article <1989Oct24.013643.11768@polyslo.CalPoly.EDU>
rcfische@polyslo.CalPoly.EDU (Raymond C. Fischer) asks about
the Map cdev database.

The information is in the recent update to the ScriptManager (it was
sent with a Tech Note distribution earlier this year).  You can also
read my article in the September MacTutor, which gives the format and
shows how the information can be unpacked.  Essentially, latitude
and longitude are expressed as 32-bit fractions of a circle, while
the timezone offset is a signed 24-bit "seconds East of UTC" (the
upper 8 bits are reserved for daylight savings time).

Martin Minow
minow@thundr.enet.dec.com