Changeset 9567 in josm for trunk/scripts
- Timestamp:
- 2016-01-22T20:59:38+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/scripts/BuildProjectionDefinitions.java
r9532 r9567 143 143 } 144 144 145 // exclude entries where we don't support the base projection146 Proj bp = Projections.getBaseProjection(proj);147 if (!"utm".equals(proj) && bp == null) {148 result = false;149 noBaseProjection++;150 if (!"geocent".equals(proj)) {151 if (!baseProjectionMap.containsKey(proj)) {152 baseProjectionMap.put(proj, 0);153 }154 baseProjectionMap.put(proj, baseProjectionMap.get(proj)+1);155 }156 }157 158 145 // no support for NAD27 datum, as it requires a conversion database 159 146 String datum = parameters.get(CustomProjection.Param.datum.key); … … 169 156 } 170 157 158 // exclude entries where we don't support the base projection 159 Proj bp = Projections.getBaseProjection(proj); 160 if (result && !"utm".equals(proj) && bp == null) { 161 result = false; 162 noBaseProjection++; 163 if (!"geocent".equals(proj)) { 164 if (!baseProjectionMap.containsKey(proj)) { 165 baseProjectionMap.put(proj, 0); 166 } 167 baseProjectionMap.put(proj, baseProjectionMap.get(proj)+1); 168 } 169 } 170 171 171 if (result && "omerc".equals(proj) && !parameters.containsKey(CustomProjection.Param.bounds.key)) { 172 172 result = false;
Note:
See TracChangeset
for help on using the changeset viewer.