Revision 39282 branches/v2_0_0_prep/libraries/libFMap_mapcontext/src/org/gvsig/fmap/mapcontext/layers/vectorial/DisjointGeometryEvaluator.java

View differences:

DisjointGeometryEvaluator.java
40 40
		this.geometry = geometry;
41 41
		this.geometryTrans = geometry.cloneGeometry();
42 42
		this.srs = projection.getAbrev();
43
		ICoordTrans ct = projection.getCT(fad.getSRS());
43
		
44
		IProjection fad_proj = fad.getSRS();
45
		ICoordTrans ct = null;
46
		
47
		if (fad_proj != null && !fad_proj.equals(projection)) {
48
		    ct = projection.getCT(fad_proj);
49
		}
50

  
44 51
		if (ct != null) {
45 52
			geometryTrans.reProject(ct);
46 53
		}

Also available in: Unified diff