Class GeoJsonConstants


  • public final class GeoJsonConstants
    extends java.lang.Object
    Contains constants used throughout the GeoJson classes.
    Since:
    3.0.0
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static double MAX_LATITUDE
      While on a Mercator projected map the width (longitude) has a finite values, the height (latitude) can be infinitely long.
      static double MAX_LONGITUDE
      A Mercator project has a finite longitude values, this constant represents the highest value available to represent a geolocation.
      static double MIN_LATITUDE
      While on a Mercator projected map the width (longitude) has a finite values, the height (latitude) can be infinitely long.
      static double MIN_LONGITUDE
      A Mercator project has a finite longitude values, this constant represents the lowest value available to represent a geolocation.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • MIN_LONGITUDE

        public static final double MIN_LONGITUDE
        A Mercator project has a finite longitude values, this constant represents the lowest value available to represent a geolocation.
        Since:
        3.0.0
        See Also:
        Constant Field Values
      • MAX_LONGITUDE

        public static final double MAX_LONGITUDE
        A Mercator project has a finite longitude values, this constant represents the highest value available to represent a geolocation.
        Since:
        3.0.0
        See Also:
        Constant Field Values
      • MIN_LATITUDE

        public static final double MIN_LATITUDE
        While on a Mercator projected map the width (longitude) has a finite values, the height (latitude) can be infinitely long. This constant restrains the lower latitude value to -90 in order to preserve map readability and allows easier logic for tile selection.
        Since:
        3.0.0
        See Also:
        Constant Field Values
      • MAX_LATITUDE

        public static final double MAX_LATITUDE
        While on a Mercator projected map the width (longitude) has a finite values, the height (latitude) can be infinitely long. This constant restrains the upper latitude value to 90 in order to preserve map readability and allows easier logic for tile selection.
        Since:
        3.0.0
        See Also:
        Constant Field Values