Michael Sumner

Results 726 comments of Michael Sumner

I had a look at an example because you made me think of scanning through a vector source without having the entire sf object in memory, this uses the virtual...

I think I understand it! I put up an early stab here, it's no use for sf yet and lots to do still. I also assume there are cases when...

The scenario in mind is when the geometric conversion takes some time, and presumably succeeds - but then we fail on some data column - so could we fail on...

Oh true, I forget it's not a one-to-one output, you're quite right! Your last proposal sounds good, and should work.

I meant to say something here, I'm very keen to help - but I still have zero experience with MDAL itself, and I'm pretty slow at anything C++! I can...

The cell size is a function of the number of "rows", i.e. the number of latitude intervals from north to south. Typical numbers are 4320, 2160, 1080 - as in...

It's here now: https://oceancolor.gsfc.nasa.gov/docs/format/l3bins/ (phew) I'm getting back to this, I'm using rhdf5 from Bioconductor to read the compound types as data frames (so much better). https://github.com/mdsumner/roc/issues/5#issuecomment-280879647 I was a...

Spacebucket! ```R remotes::install_github("mdsumner/spacebucket") ``` ``` r library(spacebucket) library(sf) #> Linking to GEOS 3.7.0, GDAL 2.4.0, PROJ 5.2.0 x % n_intersections(2) %>% sf_geom() %>% plot(add = TRUE, lwd = 5) ```...

```R ## how many n-pieces? n_types % group_by(path_) %>% n_groups() sf_df % sf_df(n = .x)})) plot(a) ``` ![image](https://user-images.githubusercontent.com/4107631/60675433-bf7b9400-9ebf-11e9-9a34-8a3ea74e0696.png) ```R ggplot(a) + geom_sf(aes(colour = as.factor(n))) + facet_wrap(~n) ``` ![image](https://user-images.githubusercontent.com/4107631/60675645-2e58ed00-9ec0-11e9-88a4-c97783a5ff6c.png) Along the...

Heh, it's these two lines - neither too hard to arrange ```R path