Bug report #6256
SLD: import both plain values and ogc:Literal tags within se:SvgParameter tag (and others)
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | Symbology | ||
Affected QGIS version: | master | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | end of life |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 15562 |
Description
Some SLD (and SE) tags are defined by extending the ParameterValueType
type.
Here's its definition (from SE spec.):
In this moment QGis supports only one of them depending on the tag:<xsd:complexType name="ParameterValueType" mixed="true"> <xsd:sequence minOccurs="0" maxOccurs="unbounded"> <xsd:element ref="ogc:expression"/> </xsd:sequence> </xsd:complexType>The parameter values are allowed to be complex expressions for maximum flexibility.
The ‘mixed="true"’ definition means that regular text may be mixed in with various sub-expressions, implying a text-substitution model for parameter values. Numeric and character-string data types are not distinguished, which may cause some complications.
Here are some usage examples:<SvgParameter name="stroke-width">3</SvgParameter><SvgParameter name="stroke-width"> <ogc:Literal>3</ogc:Literal> </SvgParameter><SvgParameter name="stroke-width"> <ogc:Add> <ogc:PropertyName>A</ogc:PropertyName> <ogc:Literal>2</ogc:Literal> </ogc:Add> </SvgParameter>
SvgParameter
andCssParameter
tags must contain a valueRotation
andOpacity
tags must contain a ogc:Literal element
History
#1
Updated by Paolo Cavallini almost 12 years ago
- Target version set to Version 2.0.0
#2
Updated by Jürgen Fischer about 10 years ago
- Target version changed from Version 2.0.0 to Future Release - Lower Priority
#3
Updated by Giovanni Manghi over 7 years ago
- Easy fix? set to No
- Regression? set to No
#4
Updated by Andrea Aime almost 7 years ago
- Description updated (diff)
- Subject changed from SLD: support both plain values and ogc:Literal tags within se:SvgParameter tag (and others) to SLD: import both plain values and ogc:Literal tags within se:SvgParameter tag (and others)
#5
Updated by Giovanni Manghi over 5 years ago
- Resolution set to end of life
- Status changed from Open to Closed
End of life notice: QGIS 2.18 LTR
Source:
http://blog.qgis.org/2019/03/09/end-of-life-notice-qgis-2-18-ltr/