Revision 40413 branches/v2_0_0_prep/libraries/libFMap_mapcontext/src/org/gvsig/fmap/mapcontext/layers/vectorial/ContainsEnvelopeEvaluator.java

View differences:

ContainsEnvelopeEvaluator.java
77 77
				throw new DataEvaluatorRuntimeException(e);
78 78
			}
79 79
		}
80
		return " contains(GeomFromText('" + envelopeWKT + "', '" + srs
81
				+ "'), envelope(" + geomName + ")) ";
80
		return " ST_contains(ST_GeomFromText('" + envelopeWKT + "', '" + srs
81
				+ "'), ST_envelope(" + geomName + ")) ";
82 82
	}
83 83

  
84 84
}

Also available in: Unified diff