Feeling lost? Wondering about your position in life? This week we explore the technology of the Global Positioning System (GPS), used by the military, surveyors, and now consumers. We also comment on Gil Amelio’s and Ellen Hancock’s resignations from Apple, report on a new version of HTML, and note the newly released Disinfectant 3.7.1. Also, Tonya takes a break from her series about Web publishing software, but plans to continue next week.
Disinfectant 3.7.1 — On the heels of last week’s Disinfectant 3.7, John Norstad has released Disinfectant 3.7.1, which corrects an error that could cause a crash while scanning some rare types of large resource files. This release does not respond to the discovery of a new virus. If you aren’t having problems scanning files using version 3.7, you probably don’t need version 3.7.1.
We also heard from a few readers last week who were confused by the overloaded FTP server at Northwestern University. The server allows twenty simultaneous FTP users, but a new release of Disinfectant generates a lot of traffic. If you get an error, check your FTP transcript for a message, and try again in a few minutes. You can also get Disinfectant from mirror sites like the Info-Mac network. [GD]
On 09-Jul-97, Apple Computer announced Gilbert Amelio had resigned as CEO and chairman of Apple Computer. Amelio replaced Michael Spindler as Apple CEO in February of 1996, making his tenure at Apple slightly more than 17 months. Executive Vice President of Technology Ellen Hancock also announced her resignation, after following Amelio to Apple from National Semiconductor about a year ago.
Unlike previous leadership transitions, Apple has not announced a new CEO; instead, a search committee has been formed to look for candidates from outside Apple. In the meantime, Apple Chief Financial Officer Fred Anderson will take on additional responsibilities for the Apple’s daily operations, and – in a move that’s generated spirited debate in the Macintosh community – Apple co-founder and former NeXT CEO Steve Jobs will take on a wider role as a key advisor, including serving on the CEO search committee.
Analysis and speculation regarding Amelio’s resignation has been rampant in both Macintosh and mainstream media – a good deal of which has been inaccurate and even surreal. Amelio is generally credited with revising Apple’s byzantine organization and practices, streamlining operations, improving product quality, and clarifying Apple’s product line. However, Amelio’s strengths are as a technologist and manager rather than as a salesperson: his resignation was not entirely unanticipated given that Apple is attempting to become a more market-focused organization. To that end, it seems that Apple requires an articulate market- and consumer-focused CEO who can improve Apple’s sales and (perhaps more importantly) its public perception. Rather than rehash examinations and analyses of Amelio’s departure, it seems more appropriate to let Amelio speak for himself, via a surprisingly good interview in the San Jose Mercury News.
Ellen Hancock’s departure follows her central role as Chief Technology Officer in Apple’s decisions to mothball the Copland operating system effort and acquire NeXT. Following the purchase of NeXT, however, many of Hancock’s responsibilities were transferred to NeXT executives. Hancock has stated repeatedly that Apple must focus on its own market and customers rather than try to convert to a NeXT-like enterprise focus; in a MacWEEK interview, Hancock said that she’s open to the possibility of serving as Apple CEO.
Apple faces many challenges in its core business and in a seemingly constant public relations battle; switching CEOs will undoubtedly throw more fuel on the fire of Apple criticism in many circles. However, Apple clearly must begin to communicate its advantages and distinctiveness better, and that will require strong, decisive, and public leadership from the top of the company.
Those who regularly visit the Web site of the W3C (World Wide Web Consortium) have seen hints about the next version of HTML, codenamed Cougar. Last week, the W3C updated and consolidated those scattered hints by releasing them in a public draft of HTML 4.0. This release is important because it codifies a wide array of tempting new features. Many of these features will work only in new browsers, and Microsoft has already announced plans to support them in Internet Explorer 4.0.
Forms gain many improvements in HTML 4.0. Publishers can assign keyboard shortcuts to form elements and set a tab-order for form elements such that users can press Tab to move among them. Forms can have generic buttons that publishers program with scripts, and forms can utilize a new item that prompts for a file name to be uploaded. Publishers can also set elements to be disabled until they are appropriate (for example, a Submit button might be disabled until a form’s mandatory elements were completely filled out, a feature that will likely be welcomed by every Web user on the planet).
Other highlights of the draft include a new script element for adding client-side scripts; grouped columns and rows in tables which make for faster perceived presentation of a table, plus sections of a table that can scroll within a fixed header and footer; and a new character set, ISO-10646, which is a character-by-character equivalent to Unicode 2.0. (Unicode contains 38,885 characters which come from 25 different scripts, including Arabic, Cyrillic, Hebrew, Katakana, Thai, and Tibetan.)
I recommend that Web publishers take time to read the actual draft, which strikes me as more reader-friendly than much of the W3C’s previous Web publications.
Until about five years ago, the Global Positioning System (GPS) existed in the realm of high-tech military thrillers. Fictional spies would tote hand-held units that precisely displayed their locations (or that of their objectives) anywhere on earth – with street maps and 3D topographic representations to boot!
Reality imitates art. In the past ten years, three amazing things have happened. First, the U.S. military opened up the Global Positioning System for civilian use. Then, the price of receivers plummeted from the $1,000-$10,000 range to $100-$200, making them widely affordable. And last, advanced computer-controllable units have appeared, making integration with personal computers a reality. With your Macintosh and about $300 in additional hardware and software, you can do things that were science fiction just a little while ago.
In this article, I explain the technology behind the Global Positioning System and discuss some receiver units currently available. Later in this issue, TidBITS Managing Editor Jeff Carlson talks about GPS technology from a user’s perspective, and reviews GPSy, a GPS communications software package I developed for the Macintosh.
Your Tax Dollars at Work — The Global Positioning System is truly amazing. Developed by the U.S. military at a cost of several billion dollars, GPS is based on 24 orbiting satellites (space-heads call them SVs, which is short for "Space Vehicles"). These satellites broadcast a precise data signal that allow GPS receivers to locate themselves anywhere on the planet. A receiver can calculate its position (latitude and longitude), altitude, velocity, heading, and precise time of day. Most units also have a built-in mapping feature that displays their positions relative to waypoints you’ve pre-programmed into them and a plot trail that shows where you’ve travelled. Advanced models have built-in street or waterway maps, plus serial ports for computer connections.
Military and high-end survey-grade models are accurate to the millimeter level (less than one-sixteenth of an inch). However, standard over-the-counter civilian models are nominally accurate to "only" about 100 meters (roughly a city block). This is due to military-induced Selective Availability – a euphemism for scrambling the GPS signal just enough to reduce the accuracy to sub-military levels. Such scrambling leaves the signal accurate enough to find your favorite fishing hole, but prevents you from accurately dropping a cruise missile into the government’s classified Area 51 base in Nevada. One amusing consequence is that many car navigation systems that use GPS will put you slightly off the road – making it seem as though you’re driving into a river or building!
If you need better accuracy than 100 meters, an FM radio receiver called a Differential GPS unit (DGPS) used in conjunction with your GPS receiver can provide three to ten meter accuracy. The U.S. Coast Guard broadcasts DGPS signals for free along the entire coastline of the United States, and inland for a small subscription cost from various DGPS broadcast companies. The inland cost should go away soon because the Federal Aviation Administration (FAA) wants to use GPS for all aircraft and plans to begin wide-scale broadcasting of free DGPS signals around the year 2000. DGPS receivers currently go for about $500, but once the FAA plan goes into action GPS units should start to have built-in DGPS receivers.
Behind the Scenes — The 24 satellites have a staggered orbit designed so four satellites will be visible from any location on earth 95 percent of the time. This number four is important, as we will see.
Each satellite broadcasts a repeating message, indicating the position and orbital parameters of itself and the other satellites (almanac), a bill of health for the satellites (health bit), and the precise atomic time. The information is encrypted into a signal with strict timing characteristics.
In order to understand how the GPS system works, we’re going to jump into a bit of simple algebra. Remember echolocation from high school physics? If we send out a pulse of sound or radio waves and wait for them to bounce off something and come back, we can determine the distance to the object by dividing the time it took for the reply by the speed of sound (or light).
Distance = Speed * Time
Time = Distance / Speed
GPS works on much the same principle, except that unlike RADAR/SONAR, where the transmitter is also the receiver of the signal, GPS satellites only transmit the timing data pulses; GPS receiver units only receive.
So how does the system work? Imagine you and a friend had precision-synchronized watches and were standing in a football field. If she shouted, "I’m at the far right cornerpost and it’s now 5:00 and 0.0000 seconds!" and you heard this message at 5:00 and 0.333 seconds, you could determine how far away she was by the timing delay of 0.333 seconds. Estimating the speed of sound at around 300 meters per second, you can guess she’s about 100 meters away from you (or that you’re 100 meters away from the far right cornerpost).
Suppose you had another friend at the far left cornerpost and he shouted the same message at the same time and you calculated him to be 150 meters away. Could you tell where you were? Pretty much. You know that you’re 100 meters away from your first friend, so you could take a diagram of the field and draw a circle with a 100 meter radius around her known position. Then you could draw a circle with a 150 meter radius around your second friend’s known position. The two circles should intersect at two points – one of which should be your real position. With three friends, you’d have no ambiguity.
Draw this on a piece of paper if it doesn’t make sense as a written example.
Shouting from the Stars — The Global Positioning System works on this principle, although it uses much more precise clocks and the speed of light. There’s a hitch, though. The above example required that each person had precision-synchronized clocks. If each GPS unit had to have an atomic clock, it would be outrageously expensive. With three friends (or three satellites) we can solve three of these four variables:
X, Y = horizontal position
Z = altitude
t = time
With only three satellites and an imprecise clock, we have to assume altitude to be a known constant (e.g., sea level), since we can only solve for three variables using three satellites: X, Y, and time. But if we have four visible satellites, we can solve for all four variables: X (longitude), Y (latitude), Z (altitude), and t (precision time). The pleasant side effect is that not only do we have our precision location, but we also have precision time – which makes GPS valuable technology not only for geophiles, but chronophiles as well. Many people are now synchronizing their systems or network clocks to GPS signals, since it’s a cheap and highly accurate source.
However, thinking back to our example, there are some important caveats. Our friends, or the satellites, must be spaced well apart. If they’re too close together, the timing difference between their signals isn’t enough to calculate our location precisely. In GPS parlance, this is your "dilution of precision," and it greatly affects your accuracy. Also, there must be a clear path between us and them – we can’t have anything blocking our signals, or a large reflective object causing unwanted echoes ("multipath" signals). These errors can further degrade the accuracy of our location.
GPS signals work in the microwave band. They can pass through glass, but are absorbed by water molecules (wood, heavy foliage) and reflect off concrete, steel, and rock. This means that GPS units have trouble operating in rain forests, urban jungles, deep canyons, inside automobiles and boats, and in heavy snowfall – among other things. These environmental obstacles degrade positional accuracy or make it impossible to get a fix on your location.
GPS Receiver Technology — The core of GPS receivers come in two major variations: sequential single-channel and parallel multi-channel. Single-channel GPS units have only one radio receiver unit, and they must step sequentially through all possible satellites. This takes time and degrades their accuracy, since they may lose a "lock" each time they switch channels. Parallel units have from between four and twelve receivers, each dedicated to one particular satellite signal, so strong locks can be maintained on all the satellites.
There are some two-channel units out there, but in practice these are only slightly better than single-channel units. Parallel-channel units are up to 15 times faster in satellite acquisition times and they are unparalleled (sorry for the pun) in their ability to lock onto the satellite signals even in difficult situations like heavy foliage or urban skyscraper canyons.
Boaters, however, may be content with single or dual channel sequential units, since there are few environmental obstacles on the open ocean. These models are now considered outmoded technology, so you may be able to pick one up cheaply. But for others, don’t settle for anything less than a full 12-channel parallel system, especially since the price differential has closed greatly in the past six months.
Reviewing Some Receivers — Let’s take a quick peek at a few low-end consumer GPS units in the $150 to $300 range. All these units have parallel 12-channel receivers. They also all have the same 100 meter accuracy, because the U.S. government reduces all civilian GPS units in a similar fashion. If the government were to remove the SA interference, the units would be accurate to about 15 meters.
If you’re shopping for a unit, pay attention to features like form factor (handheld versus mounted); external antennas; mapping, and computer-controllability.
I’ve included on my Web site a list of resellers where you can buy these GPS units. For local shopping, try your neighborhood boating stores or outdoor sports stores, they often carry the lower-end units.
Garmin — My favorite GPS receivers are from Garmin, Inc. Their main handheld unit, the Garmin GPS 12XL, is about $250. The 12XL is designed for handheld use and fits in your palm. It runs on 4 AA batteries for about 12 hours and has a backlight for night use. Garmin also sells the lower-end GPS 12, a 12XL without an external antenna connection or audible beeper for less than $200, but otherwise sporting the same handheld form factor.
The GPS II+, on the other hand, is designed for vehicular use and sits on a dashboard or console. It has dedicated zoom buttons which make it easier for one-handed use while piloting (though not recommended while driving). Garmin also sells a nifty handlebar mount. I have an older GPS II mounted on my Honda CX500 Custom motorcycle and it’s my constant companion when I tour New England. The II+ has a battery life of around twenty hours on four AAs.
The greatest thing about Garmin units is that they have a bidirectional serial port that allows them to hook up to your computer. Though many GPS units can only transmit their current positional information, the Garmin units also allow you to transfer their waypoint databases, route tables, and other useful information. The wide availability of programs supporting the Garmin transfer protocol makes the Garmin units good choices for computer-based use.
Eagle — Eagle/Lowrance sells an inexpensive twelve-channel unit called the Eagle Explorer (approximately $200). The Explorer has a strong 12-channel GPS receiver, but unfortunately the user interface is harder to use than the Garmins. The unit also lacks an external antenna connection, which makes it more difficult to use inside vehicles. Eagle/Lowrance units have a proprietary data transfer protocol that’s not currently supported in any Macintosh products. I personally wouldn’t recommend that you buy a Eagle Explorer. It’s too difficult to use either by itself or with a computer.
If you’re into boating, Eagle also has a four-channel unit called the Accunav Sport, which has the ability to support plug-in map modules for coastal waterways. It’s a nice unit, but the receiver technology is two years old and a bit dated. Shop around for better deals.
DeLorme — DeLorme Mapping publishes CD-ROM and paper maps of the United States. Their most famous product is Street Atlas, a street level map of the entire U.S. on CD-ROM. But they also manufacture a neat little 12-channel unit called the DeLorme Tripmate. The Tripmate has no display or controls of its own and is designed strictly to be used with a computer. That said, it’s a remarkable unit with good performance – and a reasonable $150 price tag.
Data Cables — The biggest problem facing Macintosh GPS users is the unavailability of data cables. Most data cables come in PC-style DB-9 connectors, not the Macintosh-style DIN-8. Currently, the only commercial source for GPS cables for the Macintosh appears to be my company. However, you can make your own cables if you’re handy with a soldering iron or wire-crimps. My GPS Cable Page provides details.
Finding Your Way — GPS receivers aren’t yet standard equipment in cars, but with price drops and improvements, it’s only a matter of time. Ubiquitous availability of GPS devices will help eliminate the angst of finding yourself, in at least one sense.
For more information about GPS, check out resources from the U.S. Coast Guard, NOAA (National Oceanic and Atmospheric Administration), Iowa State University, and my own Web site.
[Karen Nakamura founded Global Mapping Systems, a Mac-centric mapping and GPS/GIS software development company. Her "other" day job is as a sociocultural anthropologist studying deaf social movements in Japan and United States.]
Karen Nakamura, who wrote the GPS overview article in this issue, contacted TidBITS with an interesting proposition: Would we be interested in testing some GPS units in tandem with her software, GPSy?
Although none of us on staff have a good reason to use a GPS unit in the near future, we were tantalized by three factors: the futuristic ability to pinpoint one’s position on Earth using orbiting satellites, the fact that Karen offered to write an article about a subject that interested us, and the chance to play with cool toys.
Preparing to Race Satellites — Karen shipped us a copy of GPSy and DeLorme’s Street Atlas 3.0, along with two GPS units, a Garmin GPS 12XL and a DeLorme TripMate. I can picture taking the Garmin on a mountain expedition, with its small backlit LCD display and lots of control buttons. The TripMate, on the other hand, was just a waterproof yellow pod – no controls, no screen, just a black cable snaking out of one end.
In order to use GPSy in conjunction with Street Atlas, I needed a CD-ROM drive, so I borrowed a friend’s PowerBook 3400c (which has an internal CD-ROM drive). Because I only had the GPS units for a couple of days, I drove to Adam and Tonya’s house to try everything out.
Setting up the software was simple. The fat binary version of GPSy 2.1 is only about 850K, and installation was a matter of dragging the software from a floppy disk to the PowerBook’s hard disk. (The current version, GPSy 2.5.3, was in beta when we tested the product.) Installing Street Atlas was also easy.
Our first troubles involved the hardware. Believing that any consumer device should be operated without reading the full documentation, we attempted to configure the Garmin unit. After a period of fiddling and pushing buttons, however, we resorted to the manual. The fact that it was cloudy and rainy outside also made it difficult to lock on to more than two or three satellites at a time.
Eventually we scrapped the Garmin in favor of the TripMate, which hadn’t been misconfigured by human hands, and which, in this case, was easier to hook up and send data to the PowerBook.
A World of Data — The information that the GPS units receive can seem like a fire hose of bits and bytes, and GPSy offers plenty of variations for displaying it. Clearly, GPSy is geared for the gear-head – or at least someone familiar with the many acronyms and terms associated with the field of global positioning. Here’s an example of the raw information we received from the satellites (the NMEA Data field scrolls constantly):
NMEA Device: GP – Global Positioning System (GPS)
NMEA Sentences: [ APB BWC DBT GGA GLL GSA GSV MTW VTG ]
Even with this barrage of data, we had no difficulty figuring out how to use GPSy’s main features, even if the terminology swept past us. Multiple windows for translating data can be accessed both via the Displays menu and numbered keyboard shortcuts. Command-1, for example, brings up a small window with the unit’s precise location (taking into consideration the government-mandated "selective availability").
We found windows for heading, navigation (bearing), maritime and aviation data, and (my favorite) a visual representation of the satellites currently being tracked above, color-coded according to the strength of the signal. You can also bring up a world map with your location, although a pixel on that scale could represent several towns or counties.
In addition to displaying the data, we played with options for transferring commands and data to and from the GPS unit, such as routes and waypoints. GPSy also has the capability to speak the location and other information, using Apple’s PlainTalk technology.
On the (Sometimes Nonexistent) Road Again — After playing with GPSy, it was time to throw a real-world test at it (and time for me to drive home). We launched Street Atlas and easily determined our position by choosing Locate Once from the GPSyLink menu.
Although Karen suggested that the TripMate unit would work best if duct-taped to the top of my car, I opted to preserve the paint and set the unit on my dashboard. Making sure that everything was running smoothly, I started GPSy’s logging feature, and set off for home.
I was surprised to discover that the software kept up with me, with a lag of only a second or two, even though the night was rainy. GPSy displayed my heading and location, and registered how many miles per hour I was driving (a possibly useful feature if you’re ever pulled over for speeding and want to prove your innocence, although the officer might be dubious about how well you’re paying attention to the road with such a neat gizmo next to you).
In the Street Atlas window, a tiny blue car followed roughly the same path that I drove. Again, due to the "selective availability" limitation of consumer GPS devices, the little icon wasn’t always right; I would occasionally see the car burrowing through a thatch of trees or skimming over a nearby lake. Still, it was refreshing to see such a quick response to data beamed in from above.
Lost Highways — Using GPSy and the GPS units convinced me that the idea of embedding GPS receivers into cars and other vehicles isn’t so much a pie in the sky idea as I had assumed. That’s good news for me, because despite the help of satellites and a constantly updating map, I still took a wrong turn trying to get home.
GPSy costs $30 shareware and requires at least a 68020-based Mac running System 7.0 or later. A demo version, which is limited to 15 minutes of use per launch, is available as a 750K download.