Skip to content

Commit

Permalink
More quiet logging
Browse files Browse the repository at this point in the history
  • Loading branch information
timlinux committed Nov 13, 2024
1 parent bcbf195 commit 8e55fcf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions geest/core/tasks/study_area.py
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ def create_and_save_grid(self, geom: QgsGeometry, bbox: QgsRectangle) -> None:
# Create cell rectangle
rect = QgsRectangle(x, y, x + step, y + step)
grid_geom = QgsGeometry.fromRect(rect)
log_message(f"Creating rect: {rect}")
# log_message(f"Creating rect: {rect}")
# Intersect check
if spatial_index.intersects(
grid_geom.boundingBox()
Expand All @@ -666,7 +666,7 @@ def create_and_save_grid(self, geom: QgsGeometry, bbox: QgsRectangle) -> None:
feature.setAttributes([feature_id])
feature_batch.append(feature)
feature_id += 1
log_message(f"Feature ID {feature_id} created.")
# log_message(f"Feature ID {feature_id} created.")

# Commit in batches
if len(feature_batch) >= features_per_batch:
Expand Down

0 comments on commit 8e55fcf

Please sign in to comment.