deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.framework.util
Class FeatureUtils

java.lang.Object
  extended by org.deegree.framework.util.FeatureUtils

public class FeatureUtils
extends java.lang.Object

The FeatureUtils class offeres several static methods for handling features. TODO add class documentation here.

Version:
$Revision: 22732 $, $Date: 2010-02-24 15:38:35 +0100 (Mi, 24 Feb 2010) $
Author:
Judit Mays, last edited by: $Author: jmays $

Constructor Summary
FeatureUtils()
           
 
Method Summary
static FeatureCollection[] separateFeaturesForShapes(FeatureCollection fc)
          This method separates the features in the given FeatureCollection according to their geometry type into Points, MulitPoints, (Multi-)Curves, (Multi-)Surfaces. features with geometries that do not match these geometry types are collected in a five group (others).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FeatureUtils

public FeatureUtils()
Method Detail

separateFeaturesForShapes

public static FeatureCollection[] separateFeaturesForShapes(FeatureCollection fc)
This method separates the features in the given FeatureCollection according to their geometry type into Points, MulitPoints, (Multi-)Curves, (Multi-)Surfaces. features with geometries that do not match these geometry types are collected in a five group (others). The separation according to geometryType is needed to prepare the feature collections for creating shape files.

Parameters:
fc -
Returns:
an array of five feature collections, containing the features of the original fc separated according to their geometry type. The first entry contains Points, the second contains MultiPoints, the third contains Curves and MultiCurves, the fourth contains Surfaces and MultiSurfaces. If the original fc contains features with MultiGeoemetries, these features are added to the fourth fc.

deegree 2.5 (2011/06/29 09:44 build-8-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org