[R-sig-Geo] Polygons holes with plotKML

Valentin Theubet Valentin.Theubet at hagel.ch
Wed Mar 4 12:35:23 CET 2015


Hi,

I want to creat a KML file with polygons containing holes. The starting data was a raster, then a SpatialGridDataframe. I finally transformed it to SpatialPolygonsDataframe with Grid2Polygons() (with several levels).

Then a creat KML file with plot KML. 
The problem is : the polygons with holes are not correctly shown in GE. There are some small polygons that are hidden under larger polygons and so on..

Thanks for your helps

Valentin Theubet



More information about the R-sig-Geo mailing list