org.openjump.core.attributeoperations
Class JoinAttributes

java.lang.Object
  extended by org.openjump.core.attributeoperations.JoinAttributes

public class JoinAttributes
extends java.lang.Object

joins attribute values according to some spatial and statistical criterion

Author:
sstein

Constructor Summary
JoinAttributes()
           
 
Method Summary
static Feature copyFeature(Feature feature, FeatureSchema newSchema)
          copy the input feature to a new Schema whereby the new Feature Schema musst be an extended or shortened one
static FeatureSchema copyFeatureSchema(FeatureSchema oldSchema)
          copy/clone the input featureSchema since it is not proper implemented in Jump
static FeatureDataset joinAttributes(java.util.Collection sourceFeatures, java.util.Collection targetFeatures, java.lang.String attributeName, int attributeOp, int spatialRelation, double bufferRadius, TaskMonitor monitor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JoinAttributes

public JoinAttributes()
Method Detail

joinAttributes

public static FeatureDataset joinAttributes(java.util.Collection sourceFeatures,
                                            java.util.Collection targetFeatures,
                                            java.lang.String attributeName,
                                            int attributeOp,
                                            int spatialRelation,
                                            double bufferRadius,
                                            TaskMonitor monitor)
Parameters:
sourceFeatures -
targetFeatures -
attributeName -
attributeOp -
spatialRelation -
bufferRadius -
Returns:
a feature dataset

copyFeatureSchema

public static FeatureSchema copyFeatureSchema(FeatureSchema oldSchema)
copy/clone the input featureSchema since it is not proper implemented in Jump

Parameters:
oldSchema -
Returns:

copyFeature

public static Feature copyFeature(Feature feature,
                                  FeatureSchema newSchema)
copy the input feature to a new Schema whereby the new Feature Schema musst be an extended or shortened one

Parameters:
oldSchema -
Returns:
Feature