net.simplace.util.service.GeotoolsHelper

Version: 1.0

This class provides helper methods to get compatibility with Geotools.


public class GeotoolsHelper {
// Public Constructors
public GeotoolsHelper();


// Class Methods
public static GridCoverage2D wrapToGridCoverage2D(Object aObject);

Wraps an object to a org.geotools.coverage.grid.GridCoverage2D.
returns a {@link GridCoverage2D}
public static AbstractGridCoverage2DReader wrapToGridCoverageReader(Object
aObject);

Wraps an object to an org.geotools.coverage.grid.io.AbstractGridCoverage2DReader.
returns a {@link AbstractGridCoverage2DReader}
public static FeatureCollection wrapToFeatureCollection(Object aObject);

Wraps an object to a org.geotools.feature.FeatureCollection.
returns a {@link FeatureCollection}
public static FeatureSource wrapToFeatureSource(Object aObject);

Wraps an object to a org.geotools.data.FeatureSource.
returns a {@link FeatureSource}
public static Object wrapToGeotools(Object aObject);

Wraps an object to a org.geotools.coverage.grid.GridCoverage2D, org.geotools.coverage.grid.io.AbstractGridCoverage2DReader, org.geotools.feature.FeatureCollection or org.geotools.data.FeatureSource.
returns a native Geotools-Object or {@code null} if the input object is null
public static GridZoneStatistic determineZoneStatistic(Object aValueGrid,
Object aZoneGrid);

Calculated statistical data on a raster, which is divided into zones. The zones are specified by a second raster (same value = same zone).
returns GridZoneStatistic
public static void putGridParametersToParameterMap(Object aGridObject,
String aParamPrefix, FWObservable aObservable, boolean aUseStrings);

Puts the following grid parameters to the parameter map of an net.simplace.util.FWObservable.


}