I am encountering a problem using *geom_polygon(., fill=.)* with a dataframe 
created using fortify(map) *if the polygon has holes*.
It appears that fill=.  ignores the holes - -eg. fills them as if they are not 
present. geom_path(.) on the other hand does
recognize the boundaries of the holes.

 

I've been assuming that there's something wrong with my code, but asked this 
question on SO here:
(http://www.stackoverflow.com/questions/21748852/) and received no responses, 
so I am wondering now if it is a bug in ggplot?? I
have also encountered the problem here:
(http://stackoverflow.com/questions/21962452/plot-spatial-area-defined-by-multiple-polygons#21963215).

 

The links above provide a full description of the problem, with images, as well 
as code examples and links to all  the datasets
used. Any help would be appreciated, as this is a really major problem for me 
in using ggplot for GIS.

 

 

 

 


        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to