There appears to be a bug in polygon shapefile drawing such that the shape fills on the exterior of the polygon.
It is dependent on the zoom level (or more likely the scale), as it only occurs at a high zoom factor.
I have been debugging
CShapefileDrawer::AddPolygonToPath assuming the issue was that the polygon was not closed or perhaps something in the
Graphics::FillPath API but neither seems to be the case.
I can reproduce in MapWindow5 (5.2.0). I’m using MapWinGIS 5.0.1 built from source on Windows 7.
See attached files. Zoom to [4.135 deg, 9.755 deg]. From zoom 16 to 17 it occurs and remains such for higher zoom levels as well.
Thanks for any insight.
ne_10m_ocean.zip (3.4 MB)