diff --git a/oshdb-util/src/main/java/org/heigit/bigspatialdata/oshdb/util/celliterator/CellIterator.java b/oshdb-util/src/main/java/org/heigit/bigspatialdata/oshdb/util/celliterator/CellIterator.java index 27dbac6d4..9a2bfef1d 100644 --- a/oshdb-util/src/main/java/org/heigit/bigspatialdata/oshdb/util/celliterator/CellIterator.java +++ b/oshdb-util/src/main/java/org/heigit/bigspatialdata/oshdb/util/celliterator/CellIterator.java @@ -363,10 +363,8 @@ public Stream iterateByTimestamps(GridOSHEntity cell) { geom = constructClippedGeometry(osmEntity, timestamp, fullyInside); } else { // old style multipolygons: return only the inner holes of the geometry -> this is then - // used to "fix" the - // results obtained from calculating the geometry on the object's outer way which - // doesn't know about the - // inner members of the multipolygon relation + // used to "fix" the results obtained from calculating the geometry on the object's + // outer way which doesn't know about the inner members of the multipolygon relation // todo: check if this is all valid? GeometryFactory gf = new GeometryFactory(); geom = new LazyEvaluatedObject<>(() -> { @@ -557,7 +555,7 @@ public Stream iterateByContribution(GridOSHEntity cell) { if (!oshEntityPreFilter.test(oshEntity) || !allFullyInside && ( !oshEntity.getBoundingBox().intersects(boundingBox) - || (isBoundByPolygon && bboxOutsidePolygon.test(oshEntity.getBoundingBox())) + || (isBoundByPolygon && bboxOutsidePolygon.test(oshEntity.getBoundingBox())) )) { // this osh entity doesn't match the prefilter or is fully outside the requested // area of interest -> skip it @@ -570,7 +568,7 @@ public Stream iterateByContribution(GridOSHEntity cell) { boolean fullyInside = allFullyInside || ( oshEntity.getBoundingBox().isInside(boundingBox) - && (!isBoundByPolygon || bboxInPolygon.test(oshEntity.getBoundingBox())) + && (!isBoundByPolygon || bboxInPolygon.test(oshEntity.getBoundingBox())) ); Map changesetTs = OSHEntities.getChangesetTimestamps(oshEntity);