mirror of
https://github.com/meteoinfo/MeteoInfo.git
synced 2025-12-08 20:36:05 +00:00
bugfix for projectLayer function
This commit is contained in:
parent
529ccc28cb
commit
d70e2a5d90
@ -272,8 +272,10 @@ public class GeoProjectionUtil {
|
||||
if (aPLS.getExtent().maxY > cutoff) {
|
||||
aPLS = GeoComputation.clipPolylineShape_Lat(aPLS, cutoff, false);
|
||||
}
|
||||
if (aPLS.getExtent().minY < -cutoff) {
|
||||
aPLS = GeoComputation.clipPolylineShape_Lat(aPLS, -cutoff, true);
|
||||
if (aPLS != null) {
|
||||
if (aPLS.getExtent().minY < -cutoff) {
|
||||
aPLS = GeoComputation.clipPolylineShape_Lat(aPLS, -cutoff, true);
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user