|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Thread jwo.landserf.process.LSThread jwo.landserf.process.PointDensityThread
public class PointDensityThread
Calculates the point density of a given vector coverage. Requires an input vector and raster. The raster provided determines the resolution of the density surface. The windowSize parameter determines the local area used to calculate density. Uses a linear distance decay away from centre of window to calculate density. Only point objects from the input vector map are processed.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
Thread.State, Thread.UncaughtExceptionHandler |
Field Summary |
---|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
PointDensityThread(GISFrame gisFrame)
Prepares class for calculating the density surface. |
|
PointDensityThread(GISFrame gisFrame,
VectorMap vectorMap,
RasterMap rasterMap,
int windowSize)
Prepares the class for transformation of the points in the given vector into a raster density surface. |
Method Summary | |
---|---|
boolean |
doCommand(LSCommand command)
Creates a raster map containing the density of points provided in the vector map. |
void |
doProcessing()
Converts the vector points stored in the vector map provided by the constructor or scripting into a raster of point density values. |
LSCommand |
getCommand()
Reports the syntax required to allow the density surface via a scripting command. |
GISFrame |
getGISFrame()
Retrieves the GISFrame that can be used for storing multiple spatial objects. |
Object |
getReturnedObject()
Returns a raster map holding the density surface. |
Methods inherited from class jwo.landserf.process.LSThread |
---|
checkStoppedThread, interruptionRequested, resetTimer, run, setErrorMessage, setFinalMessage, setMessage |
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, 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 PointDensityThread(GISFrame gisFrame)
gisFrame
- GUI in which to report results.public PointDensityThread(GISFrame gisFrame, VectorMap vectorMap, RasterMap rasterMap, int windowSize)
gisFrame
- GUI in which to report results.vectorMap
- Vector containing points.rasterMap
- Raster to hold density surface. This raster defines
bounds and resolution of output.windowSize
- Size of local window to use in density calculation.
Should be odd and at least 1.Method Detail |
---|
public LSCommand getCommand()
getCommand
in interface Scriptable
public boolean doCommand(LSCommand command)
doCommand
in interface Scriptable
command
- Command containing parameter values.
public Object getReturnedObject()
getReturnedObject
in interface Scriptable
public GISFrame getGISFrame()
getGISFrame
in interface Scriptable
public void doProcessing()
doProcessing
in class LSThread
GISFrame
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |