Revision 4447 trunk/extensions/extGeoProcessing/src/com/iver/gvsig/geoprocessing/impl/spatialjoin/SpatialJoinVisitor.java
SpatialJoinVisitor.java | ||
---|---|---|
45 | 45 |
* |
46 | 46 |
* $Id$ |
47 | 47 |
* $Log$ |
48 |
* Revision 1.3 2006-03-14 18:32:46 fjp |
|
48 |
* Revision 1.4 2006-03-15 18:34:31 azabala |
|
49 |
* *** empty log message *** |
|
50 |
* |
|
51 |
* Revision 1.3 2006/03/14 18:32:46 fjp |
|
49 | 52 |
* Cambio con LayerDefinition para que sea compatible con la definici?n de tablas tambi?n. |
50 | 53 |
* |
51 | 54 |
* Revision 1.2 2006/03/07 21:01:33 azabala |
... | ... | |
67 | 70 |
import com.iver.gvsig.geoprocessing.model.FeatureProcessor; |
68 | 71 |
import com.iver.gvsig.geoprocessing.model.GeoprocessException; |
69 | 72 |
|
73 |
/** |
|
74 |
* Spatial Join is a geoprocess that tries to relate two layers |
|
75 |
* from its geometry field. To do that it could establish two strategies: |
|
76 |
* <ul> |
|
77 |
*<li> |
|
78 |
* Relate a geometry with the nearest geometry of the second layer |
|
79 |
* (1-1 cardinality). |
|
80 |
* </li> |
|
81 |
* <li> |
|
82 |
* Relate a geometry with all the geometries of second layer that verifies |
|
83 |
* a spatial relationship: contained, intersects, etc (1-M cardinality). |
|
84 |
* </li> |
|
85 |
* </ul> |
|
86 |
* SpatialJoinVisitor is a base interface for Visitor that does the |
|
87 |
* process of relationship |
|
88 |
* @author azabala |
|
89 |
* |
|
90 |
*/ |
|
70 | 91 |
public interface SpatialJoinVisitor extends FeatureVisitor { |
92 |
/** |
|
93 |
* Responsability to create ILayerDefinition is of the visitor, |
|
94 |
* because differents visitor will create differents layer definitions |
|
95 |
* (1-1 join or 1-N join) |
|
96 |
* @return |
|
97 |
* @throws GeoprocessException |
|
98 |
*/ |
|
71 | 99 |
public ILayerDefinition getResultLayerDefinition() throws GeoprocessException; |
72 | 100 |
public void setFeatureProcessor(FeatureProcessor processor); |
73 | 101 |
public void setCancelableStrategy(Strategy secondLyrStrategy); |
Also available in: Unified diff