nl.idgis.giserver.dynamicsegmentation
Class DynamicSegmentationTransformer

java.lang.Object
  extended by nl.idgis.giserver.dynamicsegmentation.DynamicSegmentationTransformer

public final class DynamicSegmentationTransformer
extends java.lang.Object

Dynamic segmentation for line geometries. These geometries will be split up in again line geometries, the algorithm for splitting will be dictated by a collection of point geometries.

Author:
bretelerjj

Constructor Summary
DynamicSegmentationTransformer()
           
 
Method Summary
static java.util.Vector<org.deegree.model.feature.FeatureCollection> transformFeatureColection(org.deegree.model.feature.FeatureCollection fc, DataSetLayer dataSetLayer)
          Transform a feature collection into a new collection with features.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DynamicSegmentationTransformer

public DynamicSegmentationTransformer()
Method Detail

transformFeatureColection

public static java.util.Vector<org.deegree.model.feature.FeatureCollection> transformFeatureColection(org.deegree.model.feature.FeatureCollection fc,
                                                                                                      DataSetLayer dataSetLayer)
                                                                                               throws org.deegree.model.spatialschema.GeometryException,
                                                                                                      org.deegree.datatypes.UnknownTypeException
Transform a feature collection into a new collection with features. Each new feature will be kept a segment/line. All the segment/lines together will be represent the lines offered by the feature input collection.

Parameters:
fc - feature collection
dataSetLayer - concerning data set layer
Returns:
new feature collections with old features split up in segments
Throws:
org.deegree.model.spatialschema.GeometryException
org.deegree.datatypes.UnknownTypeException