com.supermap.services.wmts

Enum WellknownScale

  • java.lang.Object
    • java.lang.Enum<WellknownScale>
      • com.supermap.services.wmts.WellknownScale
  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<WellknownScale>


    public enum WellknownScale
    extends java.lang.Enum<WellknownScale>
    

    General scale set enumeration class.

    • Enum Constant Summary

      Enum Constants 
      Enum Constant and Description
      ChinaPublicServices
      The scale set supports the scale level and screen resolution of China's geographic information public service platform electronic map data specification.
      CUSTOM
      Customized scale set.
      GlobalCRS84Pixel
      This well-known scale set is defined for global cartographic products.
      GlobalCRS84Scale
      This well-known scale set is defined for global cartographic products.
      GoogleCRS84Quad
      This well-known scale set is defined for compatibility with Google Maps and Microsoft Live Map's projection and zoom levels.
      GoogleMapsCompatible
      This well-known scale set is designed for the CRS84 coordinate system using the quadtree pyramid structure.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      static WellknownScale valueOf(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static WellknownScale[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • GlobalCRS84Scale

        public static final WellknownScale GlobalCRS84Scale
        

        This well-known scale set is defined for global cartographic products. The integer scale is chosen for intuitive map representation of vector data. The scale denominator is just right near the equator.

      • GlobalCRS84Pixel

        public static final WellknownScale GlobalCRS84Pixel
        

        This well-known scale set is defined for global cartographic products. Level 0 map resolution of 2, the next level of the map is resolved to 1, and so on in addition to 2. The scale denominator and the resolution in degrees are just accurate near the equator. The map unit of this scale is the degree.

      • GoogleCRS84Quad

        public static final WellknownScale GoogleCRS84Quad
        

        This well-known scale set is defined for compatibility with Google Maps and Microsoft Live Map's projection and zoom levels. Level 0 represents the world with a 256x256 pixel block, and the next level represents the world as 2x2 256x256 pixels, and so on. The scale denominator is just right near the equator.

      • GoogleMapsCompatible

        public static final WellknownScale GoogleMapsCompatible
        

        This well-known scale set is designed for the CRS84 coordinate system using the quadtree pyramid structure. Level 0 represents the world with a 256x256 pixel block, and the next level represents the world as 2x2 256x256 pixels, and so on. The scale denominator is just right near the equator.

      • CUSTOM

        public static final WellknownScale CUSTOM
        

        Customized scale set.

      • ChinaPublicServices

        public static final WellknownScale ChinaPublicServices
        

        The scale set supports the scale level and screen resolution of China's geographic information public service platform electronic map data specification.

    • Method Detail

      • values

        public static WellknownScale[] values()
        
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (WellknownScale c : WellknownScale.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static WellknownScale valueOf(java.lang.String name)
        
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null