AWRA banner
Advancing Water Resources Research and Management

Symposium on Water Resources and the World Wide Web
Seattle, Washington, December 5-9, 1999
  /**
   * format of states, counties, and rivers binary files:
   * x and y are in java-conus-1 coords, which vary from 0 to 32000
   * for each segment:
   *    x  of first point (short, signed integer)
   *    y  ditto
   *    packed subsequent points as follows:
   *       pack = short, signed integer
   *       if pack = -32768, this marks the end of the segment
   *       else
   *         pack = 256 * pack_x + pack_y ,
   *         if pack_x < 126,
   *             dx = pack_x
   *         else
   *             dx = the next short, signed integer
   *         if pack_y < 126
   *             dy = pack_y
   *         else
   *             dy = the next short, signed integer
   *
   *         where dx and dy are the incremental change from the last point
   */

AWRA
Symposium TOC AWRA Home page

Maintainer: AWRA Webserver Team
Copyright © 1999 American Water Resources Association