Skip to content

Using GeoRasterLayer.smooth_add_value_at_position() requires to clean and rebuild overviews to show effect #74

@MathiasBaumgartinger

Description

@MathiasBaumgartinger

The function (at least on a GPKG) will not show immediate effects in the landscapelab. QGIS showed the added values, but only on a specific zoom level. Rebuilding overviews is necessary:

  1. gdaladdo -clean GPKG:LL.gpkg:dhm
  2. gdaladdo -r nearest GPKG:LL.gpkg:dhm

The geopackage might not be flushed properly. It also weirdly adds a journal and wal file which summed up made almost half a gigabyte.

This would also explain another problematic behavior, which causes crashes when using the function multiple times on the same dataset.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions