Wednesday, 16 August 2017

Filled Polygons on the Edge of a Map - ArcMap 10.1



Today while making a map I encountered a problem with the fill from one of the displayed polygons flooding the whole map: enter image description here


Notice the upper right corner where the polygon appears hollow, it should have the dots inside of it, not the other way around.


Thinking back to my days of playing with MS Paint it occurred to me that the fill was acting like the 'Flood Fill' tool does when the area you are trying to fill isn't entirely closed.


On a whim, I moved the map slightly to the west, so that the polygon didn't break on the edge of the map, and amazingly, the problem immediately dissappeared: enter image description here


So, the question here is: Has anyone else encountered this type of drawing error? And secondarily, WTF?!



Answer



This occurs when geometries are "not simple". In your case I'm guessing the ring directions of the geometries are incorrect. Run the Repair Geometry tool to fix the problems.


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...