Opened 7 years ago

Last modified 7 years ago

#2777 assigned defect

DWF ePlot fill applied to holes in multi-polygons

Reported by: jng Owned by: jng
Priority: medium Milestone:
Component: Mapping Service Version:
Severity: major Keywords:
Cc: External ID:

Description

As reported by user Miguel Vivanco

http://osgeo-org.1560.x6.nabble.com/Plot-to-DWF-eplot-plot-wrong-gt-islands-holes-filled-td5356347.html

Polygon fill styles are being incorrectly applied to holes of multi-polygons in the DWF ePlot renderer.

Holes of regular (non-multi) polygons are rendered correctly.

Attachments (2)

PlotHole.mgp (11.9 KB ) - added by jng 7 years ago.
Sample package
DWFRenderer.cpp.patch (468 bytes ) - added by jng 7 years ago.
Speculative patch

Download all attachments as: .zip

Change History (3)

by jng, 7 years ago

Attachment: PlotHole.mgp added

Sample package

by jng, 7 years ago

Attachment: DWFRenderer.cpp.patch added

Speculative patch

comment:1 by jng, 7 years ago

Milestone: 3.1.1

Removing milestone as I am not comfortable with the given patch as being the general solution (even though it no longer fills the holes when plotting data from the attached test package).

Note: See TracTickets for help on using tickets.