code: public static final int degreeToInt(double deg) {
          if (deg >= Double.MAX_VALUE)
              return Integer.MAX_VALUE;
          if (deg <= -Double.MAX_VALUE)
              return -Integer.MAX_VALUE;
          return (int) (deg * DEGREE_FACTOR);
      }
docs: Converts into an integer to be compatible with the still limited DataAccess class (accepts
  only integer values). But this conversion also reduces memory consumption where the precision
  loss is acceptable. As +- 180° and +-90° are assumed as maximum values.
  <p>
  
  @return the integer of the specified degree