public class WellknownScaleSets
extends java.lang.Object
General scale set tool class.
Modifier and Type | Class and Description |
---|---|
static class |
WellknownScaleSets.WellknownScaleInfo
Scale set information class
|
Constructor and Description |
---|
WellknownScaleSets()
The Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
fillCustomScaleMembers(double[] scales, double[] pixelSizes)
Fill customized scale set.
|
ScaleMember |
getScaleMember(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.
|
int |
getScaleMemberSize(WellknownScale wks)
Gets the number of scale contained in the specified general scale set.
|
static WellknownScale |
getWellknownScale(java.lang.String wkss)
Get general scale set by the name.
|
static WellknownScaleSets.WellknownScaleInfo |
getWellknownScaleInfo(WellknownScale wks)
According to the well-known scale set to obtain information, including the corresponding projection information and predefined Bounds
|
public static WellknownScale getWellknownScale(java.lang.String wkss)
Get general scale set by the name.
wkss
- the name of the general scale set tool.public final int getScaleMemberSize(WellknownScale wks)
Gets the number of scale contained in the specified general scale set.
wks
- the specified general scale set.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
wks
- the enumeration of the general scale set.public final java.util.List<ScaleMember> getScaleMemberList(WellknownScale wks)
Gets the list of scale contained in the specified general scale set.
wks
- the specified general scale set.public ScaleMember getScaleMember(WellknownScale wks, int index)
Gets the scale with specific index contained in the specified general scale set.
wks
- the specified general scale set.index
- the scale index to get,public final void fillCustomScaleMembers(double[] scales, double[] pixelSizes)
Fill customized scale set.
scales
- customized scale array.pixelSizes
- Custom pixel display unit.