Changeset 13599 in josm for trunk/scripts
- Timestamp:
- 2018-04-06T01:42:15+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/scripts/BuildProjectionDefinitions.java
r13598 r13599 77 77 78 78 static void initMap(String baseDir, String file, Map<String, ProjectionDefinition> map) throws IOException { 79 for (ProjectionDefinition pd : Projections.loadProjectionDefinitions( 80 baseDir + File.separator + PROJ_DIR + File.separator + file)) { 79 List<ProjectionDefinition> list = Projections.loadProjectionDefinitions( 80 baseDir + File.separator + PROJ_DIR + File.separator + file); 81 if (list.isEmpty()) 82 throw new AssertionError("EPSG file seems corrupted"); 83 for (ProjectionDefinition pd : list) { 81 84 map.put(pd.code, pd); 82 85 } … … 200 203 } 201 204 String proj = parameters.get(CustomProjection.Param.proj.key); 205 if (proj == null) { 206 result = false; 207 } 202 208 203 209 // +proj=geocent is 3D (X,Y,Z) "projection" - this is not useful in
Note:
See TracChangeset
for help on using the changeset viewer.