0

Using R MODIS package from CRAN (version 1.1)

Code:

#Works#
library(MODIS)
getTile("Maldives")

#Doesn't Work#
getTile("Philippines")

I get error: Error in createPolygonsComment(p) : rgeos_PolyCreateComment: orphaned hole, cannot find containing polygon for hole at index 1 #

Yes, I checked that the Philippines is spelled correctly.

Neal Barsch
  • 2,810
  • 2
  • 13
  • 39

1 Answers1

0

From the developer:

https://github.com/MatMatt/MODIS/issues/34

This should be fixed in the dev version of modis package on github now.

Cheers.

Neal Barsch
  • 2,810
  • 2
  • 13
  • 39
  • 1
    Fixed on [CRAN](https://cran.r-project.org/web/packages/MODIS/index.html) as of **MODIS** version 1.1.2. – fdetsch Jan 29 '18 at 10:19