Edzer Pebesma

Results 361 comments of Edzer Pebesma

Thanks, this should do it.

Yes. Return NA? On March 7, 2021 3:50:02 AM GMT+01:00, Dave wrote: >I think we also need to let it pass the `CPL_get_z_range()` function to >avoid the original error >...

Ah, this is #1592. @dcooley would you mind finishing the change suggested there to zm_range.cpp into a PR?

This was a little more involved than I'd hoped! The searching for `NULL` values is still needed, but dropping the need for looking for `NA`s in the list (generated by...

> (edit: actually that looks harder...it's looking for the empty point?) yes, the lengths could be dropped and `anyNA` should be sufficient - the `length()` is there from an early...

Yes, that looks certainly worth the effort, and readable code - PR very welcome!

Your geometry is of class `GEOMETRY`, meaning a mix of things, in this case `POLYGON` and `MULTIPOLYGON`. Casting to `MULTIPOLYGON` works: ``` mapview(st_cast(x, "MULTIPOLYGON")) ```

Or consider donating a couple of Silicon/homebrew machines to the r-spatial team! ;-)

homebrew is a moving target, is not used for building CRAN binaries, and is a platform neither Roger nor I can troubleshoot with or for. I'd be happy if someone...