|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
jwo.landserf.process.LSThread
jwo.landserf.process.PeakClassificationThread
Creates a new raster identifying peaks from a given DEM. This requires parameters such as minimum height and minimum drop to be supplied allowing Munros, Corbetts, Hewitts, Marilyns etc. to be identified.
Field Summary |
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
PeakClassificationThread(GISFrame gisFrame,
float minHeight,
float minDrop,
boolean doPeakedness,
boolean doSummits,
boolean doHierarchy)
Classifies the DEM according to the peak classification parameters. |
Method Summary | |
void |
doProcessing()
Processes DEM stored as the primary raster in the GISFrame provided
to the constructor and creates a raster map of peaks. |
RasterMap |
getFuzzyPeakMap()
Retrieves the newly created raster map containing fuzzy peak memberships. |
RasterMap |
getPeakHierarchyMap()
Retrieves the newly created raster map containing nested peak catchments. |
RasterMap |
getPeakMap()
Retrieves the newly created raster map containing peaks and summits. |
VectorMap |
getSummitMap()
Retrieves the newly created vector map containing summits and their drops. |
Methods inherited from class jwo.landserf.process.LSThread |
checkStoppedThread, interruptionRequested, resetTimer, run, setErrorMessage, setMessage |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public PeakClassificationThread(GISFrame gisFrame, float minHeight, float minDrop, boolean doPeakedness, boolean doSummits, boolean doHierarchy)
gisFrame
- GISFrame holding DEM to process.minHeight
- Minimum height of peak.minDrop
- Minimum drop surrounding peak.doPeakedness
- Peakedness calculation performed if true.doSummits
- Calculates vector summit locations if true.Method Detail |
public void doProcessing()
GISFrame
provided
to the constructor and creates a raster map of peaks. Depending on options given
to the constructor, can also generate a raster map of nested peak catchments, a
raster map representing fuzzy peak extents and a vector map containing summits
and drops. The newly created raster map containing the peaks is added to the
GISFrame
provided to the constructor as a secondary raster. This
can be retrieved directly via this class's method getPeakMap(), or by calling
gisFrame.getRaster2();
. If summit vector map output has been chosen,
the newly created vector map containing the summits and drops is added to the
GISFrame
provided to the constructor as a primary vector map. This
can be retrieved directly via this class's method getSummitMap(), or by calling
gisFrame.getVector1();
. If the fuzzy peak or peak hierarchy options
are selected, these raster maps can be retrieved directly via this class's
getFuzzyPeakMap()
and getPeakHierarchyMap()
methods.
Alternatively, they can be retrieved via the GISFrame's getRasterMaps()
method (the last one/two map(s) added).
doProcessing
in class LSThread
GISFrame
public RasterMap getPeakMap()
public RasterMap getFuzzyPeakMap()
public RasterMap getPeakHierarchyMap()
public VectorMap getSummitMap()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |