Class JoinAttributes
- java.lang.Object
-
- org.openjump.core.attributeoperations.JoinAttributes
-
public class JoinAttributes extends Object
joins attribute values according to some spatial and statistical criterion- Author:
- sstein
-
-
Constructor Summary
Constructors Constructor Description JoinAttributes()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FeaturecopyFeature(Feature feature, FeatureSchema newSchema)Copy the input feature to a new Schema whereby the new Feature Schema must be an extended or shortened onestatic FeatureSchemacopyFeatureSchema(FeatureSchema oldSchema)Copy/clone the input featureSchema since it is not proper implemented in Jumpstatic FeatureDatasetjoinAttributes(Collection sourceFeatures, Collection targetFeatures, String attributeName, int attributeOp, int spatialRelation, double bufferRadius, TaskMonitor monitor)
-
-
-
Method Detail
-
joinAttributes
public static FeatureDataset joinAttributes(Collection sourceFeatures, Collection targetFeatures, String attributeName, int attributeOp, int spatialRelation, double bufferRadius, TaskMonitor monitor)
- Parameters:
sourceFeatures- source featurestargetFeatures- target featuresattributeName- attribute nameattributeOp- attribute operationspatialRelation- spatial relationbufferRadius- buffer radiusmonitor- task monitor- 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- old schema- Returns:
- a clone of oldSchema
-
copyFeature
public static Feature copyFeature(Feature feature, FeatureSchema newSchema)
Copy the input feature to a new Schema whereby the new Feature Schema must be an extended or shortened one- Parameters:
feature- the Feature to copynewSchema- the taget schema- Returns:
- a new Feature with newSchema as Schema and feature values
-
-