Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| deegree 2.4 (2010/11/11 10:47 build-27-official)
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.deegree.framework.util
Class FeatureUtils

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

    public class FeatureUtils

extends 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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| deegree 2.4 (2010/11/11 10:47 build-27-official)
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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