Bug report #7800

Export SLD creates file with double-depth <filter> tags

Added by Jonathan Moules over 7 years ago. Updated over 4 years ago.

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:not reproducable
Crashes QGIS or corrupts data:No Copied to github as #:16692

Description

I exported a categorised SLD. It created double depth filter tags, so:

&lt;ogc:Filter&gt;
&lt;ogc:Filter&gt;
&lt;ogc:PropertyIsEqualTo&gt;
&lt;ogc:PropertyName&gt;RESPONSIBILTY&lt;/ogc:PropertyName&gt;
&lt;ogc:Literal&gt;Highways Agency (HA)&lt;/ogc:Literal&gt;
&lt;/ogc:PropertyIsEqualTo&gt;
&lt;/ogc:Filter&gt;
&lt;/ogc:Filter&gt;

Attached is the SLD and QML.

asdf.qml (11.7 KB) Jonathan Moules, 2013-05-10 07:03 AM

asdf.sld (2.39 KB) Jonathan Moules, 2013-05-10 07:03 AM

History

#1 Updated by Jonathan Moules over 7 years ago

Oh yes - Using build 1959182 on Windows 7 64bit

#2 Updated by Giuseppe Sucameli over 7 years ago

It was broken in commit 837ac4de5c while refactoring OGC filter stuff.

#3 Updated by Sebastian Dietrich over 4 years ago

I can not reproduce in master (19a47fec29a35b264e42893e7b56f22a5759ffc5). I applied the asdf.qml and saved the style as SLD, everything is fine.

Is this still an issue?

#4 Updated by Nyall Dawson over 4 years ago

  • Status changed from Open to Feedback

#5 Updated by Giovanni Manghi over 4 years ago

  • Resolution set to not reproducable
  • Status changed from Feedback to Closed

Closing for lack of feedback, please reopen if necessary,

Also available in: Atom PDF