Revision 38557 branches/v2_0_0_prep/libraries/libFMap_mapcontext/src/org/gvsig/fmap/mapcontext/layers/vectorial/IntersectsGeometryEvaluator.java
IntersectsGeometryEvaluator.java | ||
---|---|---|
35 | 35 |
this.geometry = geometry; |
36 | 36 |
this.geometryTrans = geometry.cloneGeometry(); |
37 | 37 |
this.srs = projection.getAbrev(); |
38 |
ICoordTrans ct = projection.getCT(fad.getSRS()); |
|
38 |
ICoordTrans ct = null; |
|
39 |
|
|
40 |
IProjection ipro = fad.getSRS(); |
|
41 |
if (ipro != null) { |
|
42 |
ct = projection.getCT(ipro); |
|
43 |
} |
|
44 |
|
|
39 | 45 |
if (ct != null) { |
40 | 46 |
geometryTrans.reProject(ct); |
41 | 47 |
} |
Also available in: Unified diff