com.supermap.services.wmts
Class WellknownScaleSets
- java.lang.Object
-
- com.supermap.services.wmts.WellknownScaleSets
-
public class WellknownScaleSets extends java.lang.ObjectGeneral scale set tool class.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static classWellknownScaleSets.WellknownScaleInfoScale set information class
-
Constructor Summary
Constructors Constructor and Description WellknownScaleSets()The Constructor.
-
Method Summary
Methods Modifier and Type Method and Description voidfillCustomScaleMembers(double[] scales, double[] pixelSizes)Fill customized scale set.ScaleMembergetScaleMember(WellknownScale wks, int index)Gets the scale with specific index contained in the specified general scale set.java.util.List<ScaleMember>getScaleMemberList(WellknownScale wks)Gets the list of scale contained in the specified general scale set.intgetScaleMemberSize(WellknownScale wks)Gets the number of scale contained in the specified general scale set.static WellknownScalegetWellknownScale(java.lang.String wkss)Get general scale set by the name.static WellknownScaleSets.WellknownScaleInfogetWellknownScaleInfo(WellknownScale wks)According to the well-known scale set to obtain information, including the corresponding projection information and predefined Bounds
-
-
-
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.
-
-