Re: [R-sig-Geo] sp::disaggregate() does not seem to add the necessary "comment" attribute to identify holes if Polygons does not contain exactly 1 polygon with 0 or 1 holes

2017-04-30 Thread Anne C. Hanna
Okay, I think I've tracked it down. This is... absurdly complicated and I don't know what the actual correct resolution is, but I'm pretty sure that at least I know what's going wrong. Basically it comes down to the fact that createSPComment() does not actually check whether each individual

Re: [R-sig-Geo] sp::disaggregate() does not seem to add the necessary "comment" attribute to identify holes if Polygons does not contain exactly 1 polygon with 0 or 1 holes

2017-04-30 Thread Anne C. Hanna
Roger, Unfortunately I have a use case for you of createSPComment() not working. I tried your new version of disaggregate() on the original test script I sent you, and it does seem to have fixed all the cases in there. However, when I tried it on my actual data, it had the same failure mode as