org.deegree.rendering.r2d.utils
Class Raster2Feature
java.lang.Object
org.deegree.rendering.r2d.utils.Raster2Feature
public class Raster2Feature
- extends Object
Creates a Feature from a Raster. The resulting feature contains the raster outline as a geometry and other
information about the raster as attributes.
- Version:
- $Revision: 22645 $, $Date: 2010-02-19 11:38:04 +0100 (Fr, 19 Feb 2010) $
- Author:
- Andrei Aiordachioaie, last edited by: $Author: rbezema $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Raster2Feature
public Raster2Feature()
transformToFeature
public static GenericSimpleFeature transformToFeature(AbstractRaster raster)
createPolygonGeometry
public static Polygon createPolygonGeometry(AbstractRaster raster)
- Return the bounding geometry of a raster as a polygon (but is actually a rectangle).
- Parameters:
raster
-
- Returns:
- bounding polygon
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org]]>