TLfnScaleUtil
instead.public class TLfnScaleUtil extends Object
Modifier and Type | Method and Description |
---|---|
static int |
computeScaleDenominator(ILcdModel aModel,
ILcdStatusListener aStatusListener)
Deprecated.
Compute the scale of a model.
|
static int |
convertPixelDensityToScaleDenominator(double aPixelDensity,
ILcdGeoReference aGeoReference)
Deprecated.
Calculates the scale denominator that corresponds to the pixel density, assuming a pixel size
of 0.28 mm.
|
static int |
getMaxLevel(ILcdBounds aBounds,
ILcdGeoReference aGeoReference,
long aLevel0Rows,
long aLevel0Columns,
List<TLfnVectorAssetMetadata> aAllAssetMetadata)
Deprecated.
Computes the most detailed level that is needed for the assets in a coverage.
|
static int |
getOptimalScaleDenominator(ILcdBounds aBounds,
ILcdGeoReference aGeoReference,
long aLevel0Rows,
long aLevel0Columns,
int aLevel)
Deprecated.
Compute the optimal scale of a coverage at the specified level.
|
public static int convertPixelDensityToScaleDenominator(double aPixelDensity, ILcdGeoReference aGeoReference)
aPixelDensity
- the pixel density in pixels per square model unitaGeoReference
- the geographic referencepublic static int getMaxLevel(ILcdBounds aBounds, ILcdGeoReference aGeoReference, long aLevel0Rows, long aLevel0Columns, List<TLfnVectorAssetMetadata> aAllAssetMetadata)
aBounds
- the coverage boundsaGeoReference
- the coverage geographic referenceaLevel0Rows
- the number of rows at level 0 in the coverageaLevel0Columns
- the number of columns at level 0 in the coverageaAllAssetMetadata
- the assetspublic static int getOptimalScaleDenominator(ILcdBounds aBounds, ILcdGeoReference aGeoReference, long aLevel0Rows, long aLevel0Columns, int aLevel)
aBounds
- the coverage boundsaGeoReference
- the coverage geographic referenceaLevel0Rows
- the number of rows at level 0aLevel0Columns
- the number of columns at level 0aLevel
- the levelpublic static int computeScaleDenominator(ILcdModel aModel, ILcdStatusListener aStatusListener)
aModel
- the modelaStatusListener
- the status listener or null