Changeset 9667 in josm for trunk/scripts
- Timestamp:
- 2016-01-29T10:01:54+01:00 (9 years ago)
- Location:
- trunk/scripts
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/scripts/BuildProjectionDefinitions.java
r9567 r9667 155 155 noDatumgrid++; 156 156 } 157 157 158 158 // exclude entries where we don't support the base projection 159 159 Proj bp = Projections.getBaseProjection(proj); -
trunk/scripts/sync_editor_imagery_index.groovy
r9662 r9667 14 14 * 15 15 * $ groovy -cp ../dist/josm-custom.jar sync_editor-imagery-index.groovy 16 * 16 * 17 17 * Add option "-h" to show the available command line flags. 18 18 */ … … 36 36 def eiiUrls = new HashMap<String, JsonObject>() 37 37 def josmUrls = new HashMap<String, ImageryInfo>() 38 38 39 39 static String eiiInputFile = 'imagery.json' 40 40 static String josmInputFile = 'maps.xml' … … 226 226 def reader = new ImageryReader(josmInputFile) 227 227 josmEntries = reader.parse() 228 228 229 229 for (def e : josmEntries) { 230 230 def url = getUrl(e) … … 260 260 l.sort() 261 261 } 262 262 263 263 void checkInOneButNotTheOther() { 264 264 def l1 = inOneButNotTheOther(eiiUrls, josmUrls) … … 278 278 } 279 279 } 280 280 281 281 void checkCommonEntries() { 282 282 myprintln "*** Same URL, but different name: ***" … … 291 291 } 292 292 } 293 293 294 294 myprintln "*** Same URL, but different type: ***" 295 295 for (def url : eiiUrls.keySet()) { … … 303 303 } 304 304 } 305 305 306 306 myprintln "*** Same URL, but different zoom bounds: ***" 307 307 for (def url : eiiUrls.keySet()) { … … 325 325 } 326 326 } 327 327 328 328 myprintln "*** Same URL, but different country code: ***" 329 329 for (def url : eiiUrls.keySet()) { … … 355 355 } 356 356 } 357 357 358 358 /** 359 359 * Utility functions that allow uniform access for both ImageryInfo and JsonObject.
Note:
See TracChangeset
for help on using the changeset viewer.