Changeset 9562 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2016-01-22T01:07:06+01:00 (9 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/data/projection
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/projection/CustomProjection.java
r9559 r9562 12 12 import java.util.regex.Matcher; 13 13 import java.util.regex.Pattern; 14 14 15 import org.openstreetmap.josm.Main; 15 16 import org.openstreetmap.josm.data.Bounds; … … 785 786 } 786 787 } 787 } catch (Exception e) {} 788 } catch (Exception e) { 789 Main.error(e); 790 } 788 791 } 789 792 } -
trunk/src/org/openstreetmap/josm/data/projection/proj/LambertAzimuthalEqualArea.java
r9560 r9562 21 21 * </ul> 22 22 * 23 * @see <A HREF="http://mathworld.wolfram.com/LambertAzimuthalEqual-AreaProjection.html">Lambert Azimuthal Equal-Area Projection on MathWorld</A>24 * @see <A HREF="http://www.remotesensing.org/geotiff/proj_list/lambert_azimuthal_equal_area.html">"Lambert_Azimuthal_Equal_Area" on RemoteSensing.org</A>25 *26 23 * @author Gerald Evenden (for original code in Proj4) 27 24 * @author Beate Stollberg 28 25 * @author Martin Desruisseaux 26 * 27 * @see <A HREF="http://mathworld.wolfram.com/LambertAzimuthalEqual-AreaProjection.html">Lambert Azimuthal Equal-Area Projection</A> 28 * @see <A HREF="http://www.remotesensing.org/geotiff/proj_list/lambert_azimuthal_equal_area.html">"Lambert_Azimuthal_Equal_Area"</A> 29 29 */ 30 30 public class LambertAzimuthalEqualArea extends AbstractProj { … … 48 48 49 49 /** The projection mode. */ 50 private enum Mode { OBLIQUE, EQUATORIAL, NORTH_POLE, SOUTH_POLE } ;50 private enum Mode { OBLIQUE, EQUATORIAL, NORTH_POLE, SOUTH_POLE } 51 51 52 52 /** The projection mode for this particular instance. */ … … 58 58 /** Coefficients for authalic latitude. */ 59 59 private double APA0, APA1, APA2; 60 60 61 61 private double latitudeOfOrigin; 62 62 … … 74 74 public void initialize(ProjParameters params) throws ProjectionConfigurationException { 75 75 super.initialize(params); 76 76 77 77 if (params.lat0 == null) 78 78 throw new ProjectionConfigurationException(tr("Parameter ''{0}'' required.", "lat_0")); 79 79 80 80 latitudeOfOrigin = Math.toRadians(params.lat0); 81 81 /*
Note:
See TracChangeset
for help on using the changeset viewer.