Ignore:
Timestamp:
2018-04-05T19:03:04+02:00 (6 years ago)
Author:
Don-vip
Message:

see #16129 - add new projections and support for new format of ESRI file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/data/projection/ProjectionTest.java

    r11324 r13598  
    2424    String text;
    2525
     26    /**
     27     * Tests that projections are numerically stable in their definition bounds (round trip error < 1e-5)
     28     */
    2629    @Test
    2730    public void testProjections() {
     
    5558            testProjection(Projections.getProjectionByCode("EPSG:"+Integer.toString(3942+i))); // Lambert CC9 Zones France
    5659        }
     60
     61        for (int i = 0; i <= 17; ++i) {
     62            testProjection(Projections.getProjectionByCode("EPSG:"+Integer.toString(102421+i))); // WGS_1984_ARC_System Zones
     63        }
     64
     65        testProjection(Projections.getProjectionByCode("EPSG:102016")); // North Pole
     66        testProjection(Projections.getProjectionByCode("EPSG:102019")); // South Pole
    5767
    5868        if (error) {
     
    104114    Collection<String> projIds;
    105115
     116    /**
     117     * Tests that projections are numerically stable in their definition bounds (round trip error &lt; epsilon)
     118     */
    106119    @Test
    107120    public void testProjs() {
     
    127140        testProj("merc", 1e-5, "");
    128141        testProj("sinu", 1e-4, "");
     142        testProj("aeqd", 1e-5, "+lon_0=0dE +lat_0=90dN");
     143        testProj("aeqd", 1e-5, "+lon_0=0dE +lat_0=90dS");
     144        testProj("eqc", 1e-5, "");
    129145
    130146        if (error2) {
Note: See TracChangeset for help on using the changeset viewer.