Skip to content

Sld export error with expression based labels #63402

Description

@daydinodakent

What is the bug or the crash?

When labelling contains round($length,2) then sld export gives error. QGIS version is 3.44.3

Image

Steps to reproduce the issue

  1. Double click on a line layer and open "Properties" panel.
  2. Go to Labelling tab, and write "round($length,2)" as expression
  3. Save this style as sld file.

Versions

QGIS 3.44.3

Supported QGIS version

  • I'm running a supported QGIS version according to the roadmap.

New profile

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugEither a bug report, or a bug fix. Let's hope for the latter!SLD support

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions