Changeset 23068 in osm
- Timestamp:
- 2010-09-07T23:25:52+02:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/irsrectify/src/irsrectify/IRSRectifyPlugin.java
r23064 r23068 110 110 111 111 private boolean isOffsetLayer( OsmDataLayer l ) { 112 if( l == null || l.data == null ) return false; 112 113 for( Way way : l.data.getWays() ) { 113 System.out.println("Found way " + way);114 114 if( !way.isDeleted() && (way.getNodesCount() != 2 || !way.hasKey("timestamp") || !way.hasKey("user")) ) 115 115 return false; 116 116 } 117 System.out.println("isOffsetlayer: OK");118 117 return true; 119 118 }
Note:
See TracChangeset
for help on using the changeset viewer.