[mapguide-users] Plot to DWF (eplot) - plot wrong -> islands/holes filled

Jackie Ng jumpinjackie at gmail.com
Wed Mar 14 07:22:50 PDT 2018


An update.

This problem previously existed for polygons:
https://trac.osgeo.org/mapguide/ticket/1089

But it appears that fix doesn't properly handle the multi-polygon case.

A speculative fix would be to remove/comment out lines 2186 and 2187 in
DWFRenderer.cpp in Renderers
(https://trac.osgeo.org/mapguide/browser/trunk/MgDev/Common/Renderers/DWFRenderer.cpp#L2186).
A code patch that does this is included in the ticket:
https://trac.osgeo.org/mapguide/ticket/2777

A MgRenderers.dll built with this code change applied no longer fills holes
in multipolygons in the tests I've done.

However, I'm not comfortable with this being the general solution as I am
not knowledgeable enough with the DWF Toolkit to say this is the definitive
fix.

- Jackie



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html


More information about the mapguide-users mailing list