org.openstreetmap.josm.data.coor
Class QuadTiling
java.lang.Object
org.openstreetmap.josm.data.coor.QuadTiling
public class QuadTiling
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NR_LEVELS
public static final int NR_LEVELS
- See Also:
- Constant Field Values
WORLD_PARTS
public static final double WORLD_PARTS
- See Also:
- Constant Field Values
TILES_PER_LEVEL_SHIFT
public static final int TILES_PER_LEVEL_SHIFT
- See Also:
- Constant Field Values
TILES_PER_LEVEL
public static final int TILES_PER_LEVEL
- See Also:
- Constant Field Values
X_PARTS
public static final int X_PARTS
- See Also:
- Constant Field Values
X_BIAS
public static final int X_BIAS
- See Also:
- Constant Field Values
Y_PARTS
public static final int Y_PARTS
- See Also:
- Constant Field Values
Y_BIAS
public static final int Y_BIAS
- See Also:
- Constant Field Values
QuadTiling
public QuadTiling()
tile2LatLon
public static LatLon tile2LatLon(long quad)
xy2tile
static long xy2tile(long x,
long y)
coorToTile
static long coorToTile(LatLon coor)
lon2x
static long lon2x(double lon)
lat2y
static long lat2y(double lat)
quadTile
public static long quadTile(LatLon coor)
index
public static int index(int level,
long quad)
index
public static int index(LatLon coor,
int level)
JOSM