Michael Sumner
Michael Sumner
This wrapper around `list.files` returns a tibble with `filename` column from list.files(...) with `full.names` set TRUE by default. I've avoided importing tibble by setting the class and row names manually....
You're probably aware ... and I realize there's a [pending rewrite](https://github.com/coolbutuseless/foist/pull/2#issuecomment-1891151739), but I found this for a particular real world blue where often the difference was not detectable, so I...
Very draft attempt at a `geovectrs_triang` analogous to `geovectrs_rect`. I see this as a very complementary addition to the set in geovctrs currently, it's harder than I thought - I...
rampant need I agree! I've been doing stuff here: https://github.com/mdsumner/place my needs driven by wanting easy defaults around local custom projections, I'm tired of constructing proj strings and doing c(-1,...
This function reads a file as bytes into R. ```C++ // [[Rcpp::export]] Rcpp::RawVector vsi_read_file(Rcpp::CharacterVector src_file, bool show_progress = false) { GDALProgressFunc pfnProgress = nullptr; std::string src_file_in; src_file_in = Rcpp::as(_check_gdal_filename(src_file)); if...
A 360x180 raster has the following geotransform, in bounds -180,-90,180,90 but get_pixel_line returns values < 0 and > row/col limit. ```R gt ymax) #[3,] 180 190 ## (line > (nrow-1),...
(this is just a heads-up, in case there's other work in progress or for this to generate discussion) I have a proto-point-in-cell lookup PR, this was modelled on 'gdallocationinfo' originally,...
I'm just posting this as a note, I intend to explore it and make suggestions and PR. Don't run this, it runs with `-stats` which is undersirable for very large...
just a thought bubble I've been thinking about, I would quite like `warp(src, , t_srs, cl_arg)` to be able to return a live dataset as it does in osgeo.gdal, for...
I was caught out by my own assumptions in a wrapper I made because this gives a "degenerate", 1-column matrix. ```R library(raster) as.matrix(brick(raster(volcano))) ``` What I saw was this error,...