Bug report #17057

sld importer rounds values in rules to 1.12308e+06, which then doesn't match the actual value

Added by Paul van Genuchten over 6 years ago. Updated about 5 years ago.

Status:Closed
Priority:High
Assignee:-
Category:Symbology
Affected QGIS version:2.18.0 Regression?:No
Operating System:macos Easy fix?:Yes
Pull Request or Patch supplied:No Resolution:no timely feedback
Crashes QGIS or corrupts data:No Copied to github as #:24956

Description

an sld fragment like this

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

is imported as rule

AANT_INW = 1.12308e+06

which then does not match the original value anymore

History

#1 Updated by Jürgen Fischer over 5 years ago

  • Status changed from Open to Feedback

Please test with QGIS 3.4 - QGIS 2.18 reached it's end of life.

#2 Updated by Giovanni Manghi about 5 years ago

  • Resolution set to no timely feedback
  • Status changed from Feedback to Closed

Also available in: Atom PDF