Skip to content
Prev 22400 / 29559 Next

Polygons holes with plotKML

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