com.supermap.services.wmts

Class WellknownScaleSets

  • java.lang.Object
    • com.supermap.services.wmts.WellknownScaleSets


  • public class WellknownScaleSets
    extends java.lang.Object
    

    General scale set tool class.

    • Constructor Detail

      • WellknownScaleSets

        public WellknownScaleSets()
        

        The Constructor.

    • Method Detail

      • getWellknownScale

        public static WellknownScale getWellknownScale(java.lang.String wkss)
        

        Get general scale set by the name.

        Parameters:
        wkss - the name of the general scale set tool.
        Returns:
        the general scale set.
      • getScaleMemberSize

        public final int getScaleMemberSize(WellknownScale wks)
        

        Gets the number of scale contained in the specified general scale set.

        Parameters:
        wks - the specified general scale set.
        Returns:
        the scale number.
      • getWellknownScaleInfo

        public static WellknownScaleSets.WellknownScaleInfo getWellknownScaleInfo(WellknownScale wks)
        

        According to the well-known scale set to obtain information, including the corresponding projection information and predefined Bounds

        Parameters:
        wks - the enumeration of the general scale set.
        Returns:
        Common scale information
      • getScaleMemberList

        public final java.util.List<ScaleMember> getScaleMemberList(WellknownScale wks)
        

        Gets the list of scale contained in the specified general scale set.

        Parameters:
        wks - the specified general scale set.
        Returns:
        the scale list.
      • getScaleMember

        public ScaleMember getScaleMember(WellknownScale wks,
                                 int index)
        

        Gets the scale with specific index contained in the specified general scale set.

        Parameters:
        wks - the specified general scale set.
        index - the scale index to get,
        Returns:
        the scale.
      • fillCustomScaleMembers

        public final void fillCustomScaleMembers(double[] scales,
                                  double[] pixelSizes)
        

        Fill customized scale set.

        Parameters:
        scales - customized scale array.
        pixelSizes - Custom pixel display unit.