Issue #1935 Fixed date line spanning issue
Change-Id: I2627453867afb5f9402457029b88468ccd0d1ad0 Former-commit-id:0a5954ce0c
[formerlyb37b34d806
[formerly 3464f0714d157641c159ad2cebf4a9fe1474221e]] Former-commit-id:b37b34d806
Former-commit-id:1aeb283e0a
This commit is contained in:
parent
2b588a387d
commit
d186b6fdb6
1 changed files with 4 additions and 5 deletions
|
@ -55,6 +55,7 @@ import com.vividsolutions.jts.geom.Coordinate;
|
|||
* ------------ ---------- ----------- --------------------------
|
||||
* 03/13/08 #1030 randerso Initial port
|
||||
* 04/24/08 #1047 randerso Made all fields private and created getters
|
||||
* 04/24/13 #1935 randerso Fixed date line spanning issue
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
|
@ -192,10 +193,6 @@ public class ProjectionData implements ISerializableObject {
|
|||
return;
|
||||
}
|
||||
|
||||
// fix up corner lons
|
||||
this.latLonLL.x = MapUtil.correctLon(this.latLonLL.x);
|
||||
this.latLonUR.x = MapUtil.correctLon(this.latLonUR.x);
|
||||
|
||||
try {
|
||||
// transform the projection corner points to CRS units
|
||||
MathTransform mt = MapUtil.getTransformFromLatLon(getCrs());
|
||||
|
@ -287,7 +284,9 @@ public class ProjectionData implements ISerializableObject {
|
|||
break;
|
||||
|
||||
case LATLON:
|
||||
crs = MapUtil.LATLON_PROJECTION;
|
||||
crs = MapUtil.constructEquidistantCylindrical(
|
||||
MapUtil.AWIPS_EARTH_RADIUS, MapUtil.AWIPS_EARTH_RADIUS,
|
||||
this.lonCenter, 0);
|
||||
break;
|
||||
|
||||
case NONE:
|
||||
|
|
Loading…
Add table
Reference in a new issue