Revision 43739 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/OutGeometryEvaluator.java
OutGeometryEvaluator.java | ||
---|---|---|
41 | 41 |
private final boolean isDefault; |
42 | 42 |
private final ExpressionBuilder builder; |
43 | 43 |
private final IProjection projection; |
44 |
private final FeatureAttributeDescriptor fad; |
|
44 | 45 |
|
45 | 46 |
/** |
46 | 47 |
* @param geometry |
... | ... | |
71 | 72 |
String geomName, |
72 | 73 |
ExpressionBuilder builder |
73 | 74 |
) { |
74 |
FeatureAttributeDescriptor fad = (FeatureAttributeDescriptor) featureType |
|
75 |
.get(geomName); |
|
75 |
fad = (FeatureAttributeDescriptor) featureType.get(geomName); |
|
76 | 76 |
this.isDefault = featureType.getDefaultGeometryAttributeName().equals(geomName); |
77 | 77 |
this.geometry = geometry; |
78 | 78 |
this.geometryTrans = geometry.cloneGeometry(); |
... | ... | |
127 | 127 |
builder.not( |
128 | 128 |
builder.ST_Contains( |
129 | 129 |
builder.geometry(geometry, projection), |
130 |
builder.column(geomName)
|
|
130 |
builder.column(fad)
|
|
131 | 131 |
) |
132 | 132 |
) |
133 | 133 |
).toString(); |
Also available in: Unified diff