Changeset 2437 in josm for trunk/src/org/openstreetmap/josm/data/osm/QuadBuckets.java
- Timestamp:
- 2009-11-11T08:34:56+01:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/QuadBuckets.java
r2430 r2437 206 206 { 207 207 init(parent); 208 }209 String quads(T o)210 {211 if (o instanceof Node) {212 LatLon coor = ((Node)o).getCoor();213 if (coor == null)214 return "null node coordinates";215 return Long.toHexString(QuadTiling.quadTile(coor));216 }217 return "Way??";218 208 } 219 209 synchronized boolean remove_content(T o) … … 302 292 QBLevel child = children[new_index]; 303 293 if (debug) { 304 out("putting "+o+"(q:"+ quads(o)+") into ["+new_index+"] " + child.bbox());294 out("putting "+o+"(q:"+Long.toHexString(QuadTiling.quadTile(o.getBBox().points().get(0)))+") into ["+new_index+"] " + child.bbox()); 305 295 } 306 296 child.add(o);
Note:
See TracChangeset
for help on using the changeset viewer.