Changeset 13528 in josm for trunk/scripts
- Timestamp:
- 2018-03-14T19:11:36+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/scripts/SyncEditorLayerIndex.groovy
r13527 r13528 665 665 def all = Projections.getAllProjectionCodes() 666 666 def oldproj = new HashMap<String, String>() 667 def ignoreproj = new LinkedList<String>() 667 668 oldproj.put("EPSG:3785", "EPSG:3857") 669 oldproj.put("EPSG:31297", "EPGS:31287") 668 670 oldproj.put("EPSG:102100", "EPSG:3857") 669 671 oldproj.put("EPSG:102113", "EPSG:3857") 670 672 oldproj.put("EPSG:900913", "EPGS:3857") 673 ignoreproj.add("EPSG:4267") 674 ignoreproj.add("EPSG:5221") 675 ignoreproj.add("EPSG:5514") 676 ignoreproj.add("EPSG:102066") 677 ignoreproj.add("EPSG:102067") 671 678 for (def url : josmUrls.keySet()) { 672 679 def j = josmUrls.get(url) … … 685 692 } else if(oldproj.containsKey(p)) { 686 693 old.add(p) 687 } else if(!all.contains(p) ) {694 } else if(!all.contains(p) && !ignoreproj.contains(p)) { 688 695 unsupported.add(p) 689 696 }
Note:
See TracChangeset
for help on using the changeset viewer.