public class WorldFileWriter
extends java.lang.Object
WorldFileWriter
class writes ASCII text world
files that store image to map coordinate transformation parameters
as a set of floating point values. World files contain the
following lines:
Constructor and Description |
---|
WorldFileWriter(java.io.OutputStream output,
EarthImageTransform trans)
Creates a new writer using the specified output stream.
|
Modifier and Type | Method and Description |
---|---|
void |
write()
Writes a world file to the output stream.
|
public WorldFileWriter(java.io.OutputStream output, EarthImageTransform trans) throws java.io.IOException
output
- the output stream for writing.trans
- the earth image transform for earth location metadata.java.lang.IllegalArgumentException
- if the earth transform is not a
map projection.java.io.IOException