after changing the classification scheme of a vector layer, the metadata viewer is still showing the old/default scheme

Issue #554 resolved
Andreas Janz created an issue

Comments (7)

  1. Benjamin Jakimow

    That’s not a bug. The layer’s vector render is independent from the layer’s data source metadata model.

    Each QgsVectorLayer can be visualized with a Classification symbol renderer, but not each QgsVectorLayer source has GDAL/OGR like classification scheme.

  2. Andreas Janz reporter

    Not quite sure what that means? The renderer defines the current classification scheme, that is needed and used by some tools and algorithms.

    In which situations is this other classification scheme relevant for the user?

    Shouldn’t the renderer scheme trump the OGR scheme?

    Where is the OGR scheme stored?

    Do we need it anymore after we decided to define classification scheme by the Categorized Symbol Renderer?

  3. Benjamin Jakimow

    The old ClassificationScheme is the renderer in a “hidden” map layer instance from the DataSource panel (something I want to remove with #430).

  4. Benjamin Jakimow

    I disabled the Categories / Classification Scheme for vector layers, as there is not ClassificationScheme pendant for OGR as we know it from GDAL

  5. Log in to comment