jwo.landserf.process
Class VectorToRasterThread

java.lang.Object
  extended byjava.lang.Thread
      extended byjwo.landserf.process.LSThread
          extended byjwo.landserf.process.VectorToRasterThread
All Implemented Interfaces:
Runnable

public class VectorToRasterThread
extends LSThread

Performs a vector to raster transformation. Requires an input vector and raster. The raster provided determines the resolution of the transformed data. Priority is given to points over lines over areas. In other words, all points appear 'on top' of lines which appear 'on top' of areas.

Version:
2.1, 3rd September, 2004.
Author:
Jo Wood

Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
VectorToRasterThread(GISFrame gisFrame, VectorMap vectorMap, RasterMap rasterMap)
          Transforms the given vectormap into a raster.
 
Method Summary
 void doProcessing()
          Converts the vector into a raster.
 
Methods inherited from class jwo.landserf.process.LSThread
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

VectorToRasterThread

public VectorToRasterThread(GISFrame gisFrame,
                            VectorMap vectorMap,
                            RasterMap rasterMap)
Transforms the given vectormap into a raster.

Parameters:
gisFrame - GUI in which to report results.
vectorMap - Vector to transform.
rasterMap - Raster holding transformed data. This raster defines bounds and resolution of output.
Method Detail

doProcessing

public void doProcessing()
Converts the vector into a raster.

Specified by:
doProcessing in class LSThread


Copyright Jo Wood, 1996-2004, last modified, 3rd September, 2004