jwo.landserf.process
Class CombinePointsWithRasterThread
java.lang.Object
java.lang.Thread
jwo.landserf.process.LSThread
jwo.landserf.process.CombinePointsWithRasterThread
- All Implemented Interfaces:
- Runnable, JWInterruptionListener
public class CombinePointsWithRasterThread
- extends LSThread
Adds the attributes of the primary raster to those of the points
in the primary vector.
- Version:
- 2.3, 17th July, 2006.
- Author:
- Jo Wood
Method Summary |
void |
doProcessing()
Adds the attributes of each raster cell that coincides with a vector point
to the primary vector map. |
SpatialObject |
getVectorMap()
Retrieves the Vector map containing the newly amended points containing
raster values. |
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 |
CombinePointsWithRasterThread
public CombinePointsWithRasterThread(GISFrame gisFrame)
- Adds the raster attributes at the point values stored in the primary
vector map stored in the gisFrame.
- Parameters:
gisFrame
- Frame holding the spatial objects to combine.
doProcessing
public void doProcessing()
- Adds the attributes of each raster cell that coincides with a vector point
to the primary vector map. To retrieve the amended vector map either call
getVectorMap()
from this class or call gisFrame.getVectorMap1();
after this method has completed.
Note that this method will be called automatically if this is run as a threaded
process (e.g. myCombinePointsWithRasterThread.start()). Alternatively it can be
called directly as a non-threaded process.
- Specified by:
doProcessing
in class LSThread
- See Also:
GISFrame
getVectorMap
public SpatialObject getVectorMap()
- Retrieves the Vector map containing the newly amended points containing
raster values.
- Returns:
- Vector map with additional raster attributes.
Copyright Jo Wood, 1996-2009, last modified, 17th April, 2009