Revision 44043 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.mapcontext/org.gvsig.fmap.mapcontext.api/src/main/java/org/gvsig/fmap/mapcontext/layers/vectorial/TouchesGeometryEvaluator.java
TouchesGeometryEvaluator.java | ||
---|---|---|
24 | 24 |
|
25 | 25 |
import org.cresques.cts.ICoordTrans; |
26 | 26 |
import org.cresques.cts.IProjection; |
27 |
import org.gvsig.fmap.dal.ExpressionBuilder;
|
|
27 |
import org.gvsig.expressionevaluator.ExpressionBuilder;
|
|
28 | 28 |
import org.gvsig.fmap.dal.feature.Feature; |
29 | 29 |
import org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor; |
30 | 30 |
import org.gvsig.fmap.dal.feature.FeatureType; |
... | ... | |
42 | 42 |
private final ExpressionBuilder builder; |
43 | 43 |
private final IProjection projection; |
44 | 44 |
private final FeatureAttributeDescriptor fad; |
45 |
|
|
46 |
/** |
|
47 |
* @param geometry |
|
48 |
* @param projection |
|
49 |
* @param featureType |
|
50 |
* @param geomName |
|
51 |
* @deprecated use @{link org.gvsig.fmap.mapcontext.layers.vectorial.SpatialEvaluatorsFactory} |
|
52 |
*/ |
|
53 |
public TouchesGeometryEvaluator(Geometry geometry, |
|
54 |
IProjection projection, |
|
55 |
FeatureType featureType, |
|
56 |
String geomName |
|
57 |
) { |
|
58 |
this( |
|
59 |
geometry, |
|
60 |
projection, |
|
61 |
featureType, |
|
62 |
geomName, |
|
63 |
SpatialEvaluatorsFactory.getInstance().createBuilder() |
|
64 |
); |
|
65 |
} |
|
66 | 45 |
|
67 | 46 |
TouchesGeometryEvaluator(Geometry geometry, |
68 | 47 |
IProjection projection, |
... | ... | |
124 | 103 |
return this.builder.set( |
125 | 104 |
builder.ST_Touches( |
126 | 105 |
builder.geometry(geometry, projection), |
127 |
builder.column(fad) |
|
106 |
builder.column(fad.getName())
|
|
128 | 107 |
) |
129 | 108 |
).toString(); |
130 | 109 |
} |
Also available in: Unified diff