Feature request #19928

Add support for rule-based labeling in SLD styles

Added by Alexander Novikov about 6 years ago. Updated about 6 years ago.

Status:Open
Priority:Normal
Assignee:-
Category:Labelling
Pull Request or Patch supplied:No Resolution:
Easy fix?:No Copied to github as #:27752

Description

1). Create some labeling rule.

Attribute = 'value'

2). Save style as .qgs file.
3). Check that file consists information about this rule.

<ogc:Filter xmlns:ogc="http://www.opengis.net/ogc">
<ogc:PropertyIsEqualTo>
<ogc:PropertyName>Attribute</ogc:PropertyName>
<ogc:Literal>value</ogc:Literal>
</ogc:PropertyIsEqualTo>
</ogc:Filter>

4). Reload your project and try to import the .qgs file.

Rule-based filter would be loaded like single lable

History

#1 Updated by Alexander Novikov about 6 years ago

Sorry, I meant .sld file of course

#2 Updated by Giovanni Manghi about 6 years ago

  • Subject changed from Rule-based labeling SLD-file import to Ass support for rule-based labeling in SLD styles
  • Tracker changed from Bug report to Feature request

#3 Updated by Alessandro Pasotti about 6 years ago

  • Subject changed from Ass support for rule-based labeling in SLD styles to Add support for rule-based labeling in SLD styles

Also available in: Atom PDF