public class TileDaoUtils extends Object
| Constructor and Description |
|---|
TileDaoUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
adjustTileMatrixLengths(TileMatrixSet tileMatrixSet,
List<TileMatrix> tileMatrices)
Adjust the tile matrix lengths if needed.
|
static Long |
getClosestZoomLevel(double[] widths,
double[] heights,
List<TileMatrix> tileMatrices,
double length)
Get the closest zoom level for the provided width and height in the
default units
|
static Long |
getClosestZoomLevel(double[] widths,
double[] heights,
List<TileMatrix> tileMatrices,
double width,
double height)
Get the closest zoom level for the provided width and height in the
default units
|
static double |
getMaxLength(double[] widths,
double[] heights)
Get the max distance length that matches the tile widths and heights
|
static double |
getMinLength(double[] widths,
double[] heights)
Get the min distance length that matches the tile widths and heights
|
static Long |
getZoomLevel(double[] widths,
double[] heights,
List<TileMatrix> tileMatrices,
double length)
Get the zoom level for the provided width and height in the default units
|
static Long |
getZoomLevel(double[] widths,
double[] heights,
List<TileMatrix> tileMatrices,
double width,
double height)
Get the zoom level for the provided width and height in the default units
|
public static void adjustTileMatrixLengths(TileMatrixSet tileMatrixSet, List<TileMatrix> tileMatrices)
tileMatrixSet - tileMatrices - public static Long getZoomLevel(double[] widths, double[] heights, List<TileMatrix> tileMatrices, double length)
widths - sorted widthsheights - sorted heightstileMatrices - tile matriceslength - in default unitspublic static Long getZoomLevel(double[] widths, double[] heights, List<TileMatrix> tileMatrices, double width, double height)
widths - sorted widthsheights - sorted heightstileMatrices - tile matriceswidth - in default unitsheight - in default unitspublic static Long getClosestZoomLevel(double[] widths, double[] heights, List<TileMatrix> tileMatrices, double length)
widths - sorted widthsheights - sorted heightstileMatrices - tile matriceslength - in default unitspublic static Long getClosestZoomLevel(double[] widths, double[] heights, List<TileMatrix> tileMatrices, double width, double height)
widths - sorted widthsheights - sorted heightstileMatrices - tile matriceswidth - in default unitsheight - in default unitspublic static double getMaxLength(double[] widths,
double[] heights)
widths - sorted tile matrix widthsheights - sorted tile matrix heightspublic static double getMinLength(double[] widths,
double[] heights)
widths - sorted tile matrix widthsheights - sorted tile matrix heightsCopyright © 2017 National Geospatial-Intelligence Agency. All rights reserved.