|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.coverage.raster.io.WorldFileAccess
public class WorldFileAccess
Class representation of a ESRI world file. A world file may defines bounding coordinates centered on the outer pixel
(e.g. ESRI software) or outside the bounding pixels (e.g.Oracle spatial). Reading a worldfile this must be considered
so the type of a worldfile must be passed. For this a enum named TYPE ist defined.
| Constructor Summary | |
|---|---|
WorldFileAccess()
|
|
| Method Summary | |
|---|---|
static RasterGeoReference |
readWorldFile(java.io.File filename,
RasterIOOptions options)
|
static RasterGeoReference |
readWorldFile(java.io.InputStream stream,
RasterIOOptions options)
|
static RasterGeoReference |
readWorldFile(java.io.Reader reader,
RasterIOOptions options)
|
static void |
writeWorldFile(RasterGeoReference renv,
java.io.File file)
writes a RasterReference into a world file (with .wld extension). |
static void |
writeWorldFile(RasterGeoReference renv,
java.io.File file,
java.lang.String extension)
writes a RasterReference into a world file. |
static void |
writeWorldFile(RasterGeoReference renv,
java.io.PrintWriter writer)
writes a RasterReference into a world file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WorldFileAccess()
| Method Detail |
|---|
public static RasterGeoReference readWorldFile(java.io.InputStream stream,
RasterIOOptions options)
throws java.io.IOException
stream - the stream pointing to a world file.options - set for this stream.
java.io.IOException
public static RasterGeoReference readWorldFile(java.io.Reader reader,
RasterIOOptions options)
throws java.io.IOException
reader - to a world file.options - set for this stream.
java.io.IOException
public static RasterGeoReference readWorldFile(java.io.File filename,
RasterIOOptions options)
throws java.io.IOException
filename - the image/raster file (including path and file extension)options - set for this file.
java.io.IOException
public static void writeWorldFile(RasterGeoReference renv,
java.io.File file)
throws java.io.IOException
renv - the envelopefile - the raster file
java.io.IOException
public static void writeWorldFile(RasterGeoReference renv,
java.io.File file,
java.lang.String extension)
throws java.io.IOException
renv - the envelopefile - the raster fileextension - the file extension for the world file (eg. 'wld', 'tfw', etc)
java.io.IOException
public static void writeWorldFile(RasterGeoReference renv,
java.io.PrintWriter writer)
throws java.io.IOException
renv - the envelopewriter - to write the worldfile to.
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||