public static class GLHeatMap.Dted
extends java.lang.Object
Constructor and Description |
---|
Dted(int chunkSize) |
Modifier and Type | Method and Description |
---|---|
double |
chunkLatitudeToPixelY(int chunkY,
double lat) |
double |
chunkLongitudeToPixelX(int chunkX,
double lng) |
double |
chunkPixelXToLongitude(int chunkX,
double px) |
double |
chunkPixelYToLatitude(int chunkY,
double py) |
java.nio.ByteBuffer |
getChunk() |
int |
getChunkColumns() |
int |
getChunkRows() |
int |
getChunkX(double leftLng,
double longitude) |
int |
getChunkY(double upperLat,
double latitude) |
float |
getHeight(java.nio.channels.FileChannel channel,
double latitude,
double longitude) |
int |
getNumChunksX() |
int |
getNumChunksY() |
void |
loadChunk(java.nio.channels.FileChannel channel,
int chunkX,
int chunkY) |
void |
readHeader(java.nio.channels.FileChannel channel,
double cellLat,
double cellLng) |
public int getChunkX(double leftLng, double longitude)
public int getChunkY(double upperLat, double latitude)
public double chunkPixelXToLongitude(int chunkX, double px)
public double chunkPixelYToLatitude(int chunkY, double py)
public double chunkLongitudeToPixelX(int chunkX, double lng)
public double chunkLatitudeToPixelY(int chunkY, double lat)
public void readHeader(java.nio.channels.FileChannel channel, double cellLat, double cellLng) throws java.io.IOException
java.io.IOException
public float getHeight(java.nio.channels.FileChannel channel, double latitude, double longitude) throws java.io.IOException
java.io.IOException
public void loadChunk(java.nio.channels.FileChannel channel, int chunkX, int chunkY) throws java.io.IOException
java.io.IOException
public int getChunkColumns()
public int getChunkRows()
public int getNumChunksX()
public int getNumChunksY()
public java.nio.ByteBuffer getChunk()