public void dispose() { try { if (ftp != null) ftp.disconnect(); ftp = null; tile.dispose(); tile = null; } catch (Exception e) { // } }
public BufferWrapper getElevationsFromMemory(TileKey tileKey) { ElevationTile tile = getTileFromMemory(tileKey); if (tile == null) return null; return tile.getElevations(); }