concept earth in category postgis

appears as: earth, The earth, earth
PostGIS in Action, Third Edition

This is an excerpt from Manning's book PostGIS in Action, Third Edition.

  • Geography--The spheroidal geodetic type. Lines and polygons are drawn on the earth’s curved surface, so they’re curved rather than straight lines. PostGIS 2.2 introduced support for any geodetic spatial reference systems which means you can use geography for other planets such as Mars or your own made up world.
  • From outer space, our good earth appears spherical, often described as a blue marble. To anyone living on its surface, though, nothing could be further from the truth. The slick glossy surface seen from outer space devolves into mountain ranges, canyons, fissures, and ocean trenches with mind boggling depth. The surface of the earth with all its nooks and crannies resembles a slightly charred English muffin much more than a lustrous marble. Even the idea of the earth being spherical isn’t accurate, because the equator bulges out, a trip around the equator is 42.72 km longer than a trip around one of the meridians.

    In light of the fact that we have a deeply pitted and somewhat squashed orange-like ball under our feet, what can we do when it comes to identifying a point on its surface? With our new GPS toys we could conceivably represent every square meter on earth as a satellite map, assigning it a spherical 3D-coordinate, and be done with it. This is the approach taken by many digital elevation models. We may even be able to pin our reference on a celestial object (man-made or otherwise), removing the annoyance of having to use a reference point on our shifty planet. Though these measuring methodologies could certainly become the norm one day soon, we still need a simpler, more computationally cost-effective model for most use cases. Just because we can locate a point on, above, or within earth to twenty decimal places, doesn’t mean we should.

    A model, by definition, is a simplified representation of reality. All models are inherently flawed in some way or other, but in exchange for their shortcomings, they provide us with a more expedient way of solving our problems. Model must match the mission. A cartoonish map of New York City would be fine for a tourist, but disastrous for a helicopter pilot navigating the Hudson skyway. A starting point for any geodesic model is deciding on what constitutes the surface of the earth. Perhaps something you haven’t given much thought to, but do you use the mean sea level? Do you flatten the peaks and the valleys? What about the ocean? Do you consider the ocean surface or the ocean depth? And what about plate tactontics? Should our surface be the plates or the surface of the molten goo underneath? Once you start thinking about earth surface, a bewildering number of possibilities jump at you, but they all suffer from a common problem — you can’t establish a standard of measurement that would work for all portion of the planet. Take the notion of sea level. Someone in Cardiff, Wales, can say that her house is 50 meters above the sea during low tide and use this as a reference against her neighbor’s house. Suppose a fellow in Pago Pago has a small house and measures his house also to be 50 meters above sea level. What can we say about the elevation of the two houses relative to each other? Not much. Sea level varies from place to place relative to the center of the earth. And even the notion of center of the earth is ambiguous.

    Along comes Gauss, who, with the help of a crude pendulum, determined in the early nineteenth century that the surface of the earth can be defined, with some consistency, using gravitational measurements. Though he lacked a digital gravity meter, he envisioned the idea of going around the surface of the globe with such a device, like a simple pendulum, and map out a surface where gravity was constant—an equipotential surface. This is the basic idea of what we call the geoid. We take gravity readings at various sea levels to come up with a consensus and then use this constant gravitational force to map out an equigravitational surface around the globe. Many consider the geoid to be the true figure of the earth.

    Surprisingly, the geoid is far from spherical; see the below figure. You must not forget that the core of the earth isn’t homogenous. Mass is distributed unevenly, giving rise to bulges and craters that rival those found on the lunar surface. The advent of the geoid didn’t simplify matters. On the contrary, it created even more headaches. The true surface of the earth is now even less marble-like, and even a slightly squashed orange is no longer a reasonable approximation.

    Figure 3.1. The geoid representing the earth seen from different angles
    image1 1