Changeset 11415 in josm for trunk/scripts/SyncEditorImageryIndex.groovy
- Timestamp:
- 2016-12-22T20:41:52+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/scripts/SyncEditorImageryIndex.groovy
r11414 r11415 359 359 } 360 360 } else if(!js.size() && s.size()) { 361 myprintln "- No JOSM shape: ${getDescription(j)}" 361 // don't report boundary like 5 point shapes as difference 362 if (s.size() != 1 || s[0].getPoints().size() != 5) { 363 myprintln "- No JOSM shape: ${getDescription(j)}" 364 } 362 365 } else if(s.size() != js.size()) { 363 366 myprintln "* Different number of shapes (${s.size()} != ${js.size()}): ${getDescription(j)}" … … 417 420 l.add(s) 418 421 } 419 if (l.size() == 1 && l[0].getPoints().size() == 5) {420 return [] // ignore a bounds equivalent shape421 }422 422 return l 423 423 }
Note:
See TracChangeset
for help on using the changeset viewer.