|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.data.WorldFileWriter
public class WorldFileWriter
This class is responsible for creating a world file from a
MathTransform
or AffineTransform
.
The content of a world file describes an affine transformation which was used by the ESRI software to map from the rater world to the spatial world (what we usually call a grid to world transform).
Specifically a world file should be as follows: scalex shearx sheary scaley upperleftx upperlefty which translates into the following affine transformation. | : | | scalex shearx : translatex| | : | | sheary scaley : transaltey| |----------------------------| | 0 0 : 1 | | : |
Note that a world file usually takes as reference the centre of the pixel.
Field Summary | |
---|---|
static int |
DEFAULT_BUFFER_SIZE
Default buffer size we wil luse to write out. |
Constructor Summary | |
---|---|
WorldFileWriter(java.io.File outLocation,
java.awt.geom.AffineTransform transform)
Constructor. |
|
WorldFileWriter(java.io.File outLocation,
java.awt.geom.AffineTransform transform,
int buffSize)
Constructor. |
|
WorldFileWriter(java.io.File outLocation,
org.opengis.referencing.operation.MathTransform transform)
Constructor. |
|
WorldFileWriter(java.io.File outLocation,
org.opengis.referencing.operation.MathTransform transform,
int buffSize)
Constructor. |
|
WorldFileWriter(java.io.OutputStream outLocation,
java.awt.geom.AffineTransform transform)
Constructor. |
|
WorldFileWriter(java.io.OutputStream outLocation,
java.awt.geom.AffineTransform transform,
int buffSize)
Constructor. |
|
WorldFileWriter(java.io.OutputStream outLocation,
org.opengis.referencing.operation.MathTransform transform)
Constructor. |
|
WorldFileWriter(java.io.OutputStream outLocation,
org.opengis.referencing.operation.MathTransform transform,
int buffSize)
Constructor. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int DEFAULT_BUFFER_SIZE
Constructor Detail |
---|
public WorldFileWriter(java.io.File outLocation, java.awt.geom.AffineTransform transform) throws java.io.IOException
outLocation
- where to create the world file.transform
- the transformation that we want to write out.
java.io.IOException
- in case something bad happens.public WorldFileWriter(java.io.File outLocation, java.awt.geom.AffineTransform transform, int buffSize) throws java.io.IOException
outLocation
- where to create the world file.transform
- the transformation that we want to write out.buffSize
- size of the buffer to use.
java.io.IOException
- in case something bad happens.public WorldFileWriter(java.io.OutputStream outLocation, java.awt.geom.AffineTransform transform) throws java.io.IOException
outLocation
- where to create the world file.transform
- the transformation that we want to write out.
java.io.IOException
- in case something bad happens.public WorldFileWriter(java.io.OutputStream outLocation, java.awt.geom.AffineTransform transform, int buffSize) throws java.io.IOException
outLocation
- where to create the world file.transform
- the transformation that we want to write out.buffSize
- size of the buffer to use.
java.io.IOException
- in case something bad happens.public WorldFileWriter(java.io.OutputStream outLocation, org.opengis.referencing.operation.MathTransform transform) throws java.io.IOException
Note that the MathTransform
must be a 2D affine transform.
outLocation
- where to create the world file.transform
- the transformation that we want to write out.
java.io.IOException
- in case something bad happens.public WorldFileWriter(java.io.OutputStream outLocation, org.opengis.referencing.operation.MathTransform transform, int buffSize) throws java.io.IOException
Note that the MathTransform
must be a 2D affine transform.
outLocation
- where to create the world file.transform
- the transformation that we want to write out.buffSize
- size of the buffer to use.
java.io.IOException
- in case something bad happens.public WorldFileWriter(java.io.File outLocation, org.opengis.referencing.operation.MathTransform transform, int buffSize) throws java.io.IOException
Note that the MathTransform
must be a 2D affine transform.
outLocation
- where to create the world file.transform
- the transformation that we want to write out.buffSize
- size of the buffer to use.
java.io.IOException
- in case something bad happens.public WorldFileWriter(java.io.File outLocation, org.opengis.referencing.operation.MathTransform transform) throws java.io.IOException
Note that the MathTransform
must be a 2D affine transform.
outLocation
- where to create the world file.transform
- the transformation that we want to write out.
java.io.IOException
- in case something bad happens.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |