skrueger.geotools.io
Class GeoImportUtilURL
java.lang.Object
schmitzm.geotools.io.GeoImportUtil
skrueger.geotools.io.GeoImportUtilURL
public class GeoImportUtilURL
- extends GeoImportUtil
Erweiterungen von Martin's GeoImportUtil
classe fuer die konsequente
Benutzung mit URL
s. TODO Diese Klasse sollte vielleicht mit der
GeoImportUtil
zusammengefuegt werden.
- Author:
- Stefan Alfons Krüger
Method Summary |
static GridCoverage2D |
readGridFromGeoTiff(Object input,
CoordinateReferenceSystem crs,
GeneralParameterValue[] readParams)
|
static GridCoverage2D |
readGridFromImage(URL url)
Read a GridCoverage2D from an image file. .prj and .wld files are
usually expected |
static GridCoverage2D |
readGridFromImage(URL url,
CoordinateReferenceSystem crs)
Read a GridCoverage2D from an image file. .wld file is usually
expected also. |
Methods inherited from class schmitzm.geotools.io.GeoImportUtil |
createGridReaderFromGeoTiff, createGridReaderFromGeoTiff, determineProjection, determineProjection, getAsciiRasterImportMode, getDefaultCRS, readDataStoreFromShape, readFeaturesFromShapeFile, readFeaturesFromShapeURL, readGeometriesFromShapeFile, readGridFromArcInfoASCII, readGridFromArcInfoASCII, readGridFromGeoTiff, readGridFromGeoTiff, readGridRasterFromArcInfoASCII, readGridRasterFromArcInfoASCII, readGridRasterFromGeoTiff, readGridRasterFromGeoTiff, readProjectionFile, readProjectionFile, readProjectionString, readWorldFile, readWorldFile, setAsciiRasterImportMode, setDefaultCRS |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GeoImportUtilURL
public GeoImportUtilURL()
readGridFromImage
public static GridCoverage2D readGridFromImage(URL url)
throws IOException
- Read a
GridCoverage2D
from an image file. .prj and .wld files are
usually expected
- Throws:
IOException
readGridFromImage
public static GridCoverage2D readGridFromImage(URL url,
CoordinateReferenceSystem crs)
throws IOException
- Read a
GridCoverage2D
from an image file. .wld file is usually
expected also. The CRS can be given as the crs parameter. null is valid.
- Throws:
IOException
readGridFromGeoTiff
public static GridCoverage2D readGridFromGeoTiff(Object input,
CoordinateReferenceSystem crs,
GeneralParameterValue[] readParams)
throws IOException
- Parameters:
input
- URL, File oder InputStream to a GeoTIFF-Filecrs
- erzwungenes CoordinateReferenceSystem fuer das Raster (kann
null
sein)readParams
- May be NullPointerException
. Otherwise an array of
GeneralParameterValue
s
- Throws:
IOException