public class MultiserverPrintUtils
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static float |
DOTS_PER_INCH_MAPSERVER |
static float |
DOTS_PER_INCH_OGC |
static java.util.HashMap<java.lang.String,java.lang.Double> |
INCHES_PER_UNIT |
Constructor and Description |
---|
MultiserverPrintUtils() |
Modifier and Type | Method and Description |
---|---|
static java.util.List<MapTile> |
createTileList(BBox bbox,
int width_px,
int height_px,
java.lang.Double tilePrintWidth,
java.lang.Double tilePrintHeight,
float opacity) |
static BBox |
getBounds(double scale,
java.lang.String unit,
int width_px,
int height_px,
double mapx,
double mapy,
double dpi) |
static Dimension2D |
getDimension(double scale,
java.lang.String unit,
BBox bbox,
double dpi) |
public static final java.util.HashMap<java.lang.String,java.lang.Double> INCHES_PER_UNIT
public static final float DOTS_PER_INCH_MAPSERVER
public static final float DOTS_PER_INCH_OGC
public static BBox getBounds(double scale, java.lang.String unit, int width_px, int height_px, double mapx, double mapy, double dpi)
scale
- unit
- larghezza
- altezza
- mapx
- mapy
- public static Dimension2D getDimension(double scale, java.lang.String unit, BBox bbox, double dpi)
scale
- unit
- larghezza
- altezza
- mapx
- mapy
-