com.neatech.climbplan.geographicinformationgathering
Class MapOperations
java.lang.Object
com.neatech.climbplan.geographicinformationgathering.MapOperations
public class MapOperations
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
private static final org.apache.log4j.Logger logger
INC_STEP
private static final double INC_STEP
- See Also:
- Constant Field Values
ARCSECOND_TO_DEGREE
public static final double ARCSECOND_TO_DEGREE
- See Also:
- Constant Field Values
MAPS_FOLDER
public static final String MAPS_FOLDER
- See Also:
- Constant Field Values
SHAPE_FILES_FOLDES
public static final String SHAPE_FILES_FOLDES
- See Also:
- Constant Field Values
map
private MapModel map
gcVisual
private org.geotools.coverage.grid.GridCoverage2D gcVisual
gcElevation
private org.geotools.coverage.grid.GridCoverage2D gcElevation
MapOperations
public MapOperations(MapModel map)
mapChanged
public void mapChanged(MapModel map)
setMap
private void setMap(MapModel map)
getVisualLayer
public org.geotools.coverage.grid.GridCoverage2D getVisualLayer()
getElevationLayer
public org.geotools.coverage.grid.GridCoverage2D getElevationLayer()
readGeoTiff
private org.geotools.coverage.grid.GridCoverage2D readGeoTiff(String path)
readDTED
private org.geotools.coverage.grid.GridCoverage2D readDTED(String path)
getPeekAndLowest
private void getPeekAndLowest(WorldPoint peek,
WorldPoint lowest)
evaluatePoint
public double evaluatePoint(WorldPoint wp)
readElevationLayer
public org.geotools.coverage.grid.GridCoverage2D readElevationLayer()
isElevationLayerLoaded
public boolean isElevationLayerLoaded()
getElevationInfo
public String[] getElevationInfo()
readVisualLayer
public org.geotools.coverage.grid.GridCoverage2D readVisualLayer()
isVisualLayerLoaded
public boolean isVisualLayerLoaded()
getVisualInfo
public String[] getVisualInfo()
readVector
public void readVector(uk.ac.leeds.ccg.geotools.Viewer view,
JTextArea textArea)