Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.5-M0, 2.5-M1, 2.5-M2, 2.5-M3, 2.5-RC0, 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.5.5, 2.5.6, 2.5.7, 2.5.8
-
Fix Version/s: None
-
Component/s: render
-
Labels:None
Description
On the ProjectionHandler preProcess method if the intersection is empty the geometry is completely outside of the valid area we should skip it.
Basically we should add the follwing check to the method
...
ReferencedEnvelope envIntWgs84 = new ReferencedEnvelope(validArea.intersection(geWGS84), WGS84);
// if the intersection is empty the geometry is completely outside of the valid area, skip it
if(envIntWgs84.isEmpty())
return null;
ReferencedEnvelope envInt = envIntWgs84.transform(geomCRS, true);
...