Changeset 13441 in josm for trunk/scripts


Ignore:
Timestamp:
2018-02-18T22:04:03+01:00 (7 years ago)
Author:
Don-vip
Message:

see #15880, see #15970 - ignore equatorial stereographic projections for now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/scripts/BuildProjectionDefinitions.java

    r13395 r13441  
    4646    private static int noEsri = 0;
    4747    private static int noOmercNoBounds = 0;
     48    private static int noEquatorStereo = 0;
    4849
    4950    /**
     
    111112                System.out.println(String.format(" * projection is Oblique Mercator (requires bounds), but no bounds specified: %d entries", noOmercNoBounds));
    112113            }
     114            if (noEquatorStereo > 0) {
     115                System.out.println(String.format(" * projection is Equatorial Stereographic (see #15970): %d entries", noEquatorStereo));
     116            }
    113117            System.out.println();
    114118            System.out.println(String.format("written %d entries from %s", noJosm, JOSM_EPSG_FILE));
     
    194198            noOmercNoBounds++;
    195199        }
     200        // TODO: implement equatorial stereographic, see https://josm.openstreetmap.de/ticket/15970
     201        if (result && "stere".equals(proj) && "0".equals(parameters.get(CustomProjection.Param.lat_0.key))) {
     202            result = false;
     203            noEquatorStereo++;
     204        }
    196205
    197206        return result;
Note: See TracChangeset for help on using the changeset viewer.