Terrain Elevation Data Operations in Computational Cartography

Terrain Elevation

z=f(x,y)
Possible formats:
  1. gridded (in a matrix),
  2. Triangulated Irregular Network (TIN),
  3. contours.

Variations

  1. combined with a spline,
  2. lossily compressed, (Said and Pearlman's wavelets)
Measure of goodness:
  1. RMS error,
  2. the accuracy of derivative properties such as
    1. visibility indices, and
    2. drainage patterns.

So What's New?

Computational cartography has existed for over 30 years now. But now new:

Special or General Algorithm?

Question: Use a special-purpose compression algorithm (say, TIN) or general-purpose (image processing algorithms)?

Reflect on: Lisp machines, floating point processors, database engines, special graphics engines, and parallel machines. Dead!

A lot of money has been spent improving general-purpose compression algorithms.

Sample Data

NameStdev ElevsGzip, KBProgcode, KBLossless, bpp
Aberdeen E36.2221670.93
Baker E377.1,3956263.48
Caliente E335.1,2645342.96
Dalhart E87.4312621.46
Eagle E88.4942731.52
Fairmont E34.3672401.33
Gadsden E74.8724402.44
Hailey E516.1,5666103.39
Idaho Fls E145.4552701.50
Jacksonl W7.7120930.52
Kalispell E343.1,4216823.78
La Crosse E49.1,0286123.40
Average166.7533822.12

Lossy Compression

Hailey-E, Lossless

Hailey-E, 0.03 bpp

5400 bytes. Median error=37 m, worst error=224 m. (Elevation range=2646 m.)

Hailey-E, 0.005 bpp

Compressing Hurts Interactivity?

Effect on Visibility Index

Question: Does lossily compressing data affect visibility index calculations?

Hailey-E, Visibility Indices

Hailey-E, 0.03 bpp, Visibility Indices

Quantify that?

Point by point comparison of difference in visibility indices: Less aggressive compression is even better. Comparing original visibility indices with that of the cell compressed to 0.3 bpp.

Transformations: Contour to Gridded

  1. An old problem, but
  2. We can do it better.
  3. Mike Gousie's PhD work.

Techniques

  1. Lagrangian PDE: the surface ``droops'' unacceptably between the contour lines.
  2. Thin plate equation: Generated surfaces oscillate.
  3. Other PDEs?
  4. Interpolating gradients (lofting)
  5. Interpolating Splines:
  6. Techniques From Medical Imaging: No.
  7. {Interpolation by Compression}

Transformations: Gridded to Planar TIN

  1. I did it first (1973).
  2. TINs are obvious.
  3. Do they deserve their reputation?
Note that:
  1. Inherently lossy.
  2. Topology takes space.
  3. Surprisingly hard to implement
  4. Even when implemented correctly, the topology can take ten times as much storage as the heights. This seems excessive. Experimenting with the succinct data structures mentioned above is a possible future research area.
  5. Probably, in the limit, all compression methods would take the same space for the same accuracy.
  6. The remaining question would be algorithm complexity and programmer time.

Planar TIN to Spline TIN

  1. No new info, but
  2. Might increase accuracy.
  3. Real world not always $C^0$.

Transformations: Gridded to Visibility

  1. Where to play the good guys to watch the bad guys?
  2. Clark Ray's PhD thesis

N37E127 DTED Cell

Visibility Index For Each Point

Visibility Index vs Elevation of Some Random Points

Visibility Indices to Features

Negative of Visibility Index of Baboon

Fitting the Pieces Together

Towards a General Model of Surfaces

  1. Is available data statistically representative of the real world?
  2. Much existing input, e.g., autocorrelations or fractals.
  3. With enough parameters, anything works, c.f., Ptolemaic planetary model.
  4. Shallow or deep model?

Implementation Details

  1. Sun Sparc IPC and 10/30 workstations,
  2. SunOS Unix,
  3. about 32MB of memory,
  4. C++ with the Apogee compiler.
  5. Tomas Rokicki's dvips,
  6. Jef Poskanzer's Portable Bit Map (PBM) package, Netpbm version,
  7. John Bradley's xv.

Conclusions

  1. Unified view of various terrain representation data structures.
  2. Sometime generic (IP) algorithms are best.
  3. Multimedia research is forcing continuous research: better algorithms in the future.
  4. Future: Effect of compression on drainage etc.

Wm. Randolph Franklin, Associate Professor
Email: wrfATecse.rpi.edu
http://wrfranklin.org/
☎ +1 (518) 276-6077; Fax: -6261
ECSE Dept., 6026 JEC, Rensselaer Polytechnic Inst, Troy NY, 12180 USA
(GPG and PGP keys available)