Skip to content

Edge labels in style not rendered by QGIS without plugin #1755

@visr

Description

@visr

Loading a GeoPackage directly looks the same as loading via the plugin, except for the Edge labeling. The Edge labels are set to concat("name", ' #', "edge_id"). QGIS does not show the ID for Edge, only for Node.

This is the trivial testmodel loaded outside the plugin:

image

And this is within the plugin:

image

It seems that the QGIS plugin is still setting the labeling explicitly. Ideally this code can be removed since it is part of the style. This should work since it works for Node as well.

I noticed this when reviewing #1748.

Metadata

Metadata

Assignees

No one assigned

    Labels

    QGISRibasim QGIS plugin

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions