OpenLayers OpenLayers

Ticket #1545 (closed bug: fixed)

Opened 2 months ago

Last modified 2 months ago

PointSymbolizer Size is misinterpreted in Format.SLD

Reported by: ahocevar Assigned to: tschaub
Priority: minor Milestone: 2.7 Release
Component: Format.SLD Version: 2.6
Keywords: Cc:
State: Complete

Description

Format.SLD sets the Size property of a PointSymbolizer directly as the pointRadius property of the OpenLayers symbolizer. According to the SLD spec, "The Size element gives the absolute size of the graphic in pixels ...".

To correct that, the size has to be divided by two before applying it to the pointRadius property of the symbolizer.

Attachments

1545-r7148-A0.patch (1.1 kB) - added by ahocevar on 05/13/08 07:37:57.

Change History

05/13/08 07:03:08 changed by ahocevar

  • owner set to tschaub.
  • component changed from general to Format.SLD.

05/13/08 07:37:57 changed by ahocevar

  • attachment 1545-r7148-A0.patch added.

05/13/08 07:39:06 changed by ahocevar

  • state set to Review.

1545-r7148-A0.patch makes the proposed changes. All tests still pass. Please review.

05/13/08 16:05:58 changed by elemoine

  • state changed from Review to Commit.

05/13/08 16:26:14 changed by ahocevar

  • status changed from new to closed.
  • state changed from Commit to Complete.
  • resolution set to fixed.

(In [7160]) Divide/multiply PointSymbolizer's Size by 2 on read/write to match OpenLayers symbolizer's pointRadius. r=elemoine (closes #1545)