Changeset 687 in josm for trunk/src/org
- Timestamp:
- 2008-07-08T10:31:39+02:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/projection/Lambert.java
r657 r687 62 62 * Because josm cannot work correctly if two zones are displayed, we allow some overlapping 63 63 */ 64 public static final double cMaxOverlappingZones = Math.toRadians( 0.5 * 0.9);64 public static final double cMaxOverlappingZones = Math.toRadians(1.5 * 0.9); 65 65 66 66 public static int layoutZone = -1; 67 67 68 68 /** 69 * @param p 70 * a WGS84 lat/lon (ellipsoid GRS80) (in degree) 69 * @param p WGS84 lat/lon (ellipsoid GRS80) (in degree) 71 70 * @return eastnorth projection in Lambert Zone (ellipsoid Clark) 72 71 */ … … 108 107 || (currentZone > layoutZone && Math.abs(zoneLimits[layoutZone] - lt) > cMaxOverlappingZones)) { 109 108 JOptionPane.showMessageDialog(Main.parent, 110 tr("Some data are positionned far away from current Lambert zone limits.\n" 111 +"Split long ways to avoid distortions.")); 109 tr("IMPORTANT : data positionned far away from\n" 110 +"the current Lambert zone limits.\n" 111 +"Undo your last action, Save your work \n" 112 +"and Start a new layer on the new zone.")); 112 113 layoutZone = -1; 113 114 } else { 114 115 System.out.println("temporarily extends Lambert zone " + layoutZone 115 116 + " projection at lat,lon:" + lt + "," + lg); 116 117 } 117 118 }
Note:
See TracChangeset
for help on using the changeset viewer.