Edzer Pebesma
Edzer Pebesma
Closed upstream, it seems
Indeed, I get a valgrind stacktrace: ``` plot(x) ==210380== Invalid read of size 4 ==210380== at 0x4BAEBF47: S2Builder::MaybeAddExtraSites(int, int, std::vector const&, MutableS2ShapeIndex const&, std::vector*) (s2builder.cc:804) ==210380== by 0x4BAEC347: S2Builder::AddExtraSites(MutableS2ShapeIndex const&)...
Interestingly, ```r library(s2) x = s2_geog_from_text("POLYGON ((0 0, 3 0, 3 2, 1 1, 2 1, 0 2, 0 0))", check = FALSE) o = s2_options(split_crossing_edges = TRUE, snap =...
Thanks! Is it time to drop the CXX11 requirement?
Great, I will try without CXX11 on win-builder; @kalibera, do you have intel on cmake in rtools?
Awaiting @paleolimbot 's refactoring, I released `s2` 1.1.7 with the only change, relative to 1.1.6, to merge this makefile and push CXX11 to CXX14 in Makevars.in. I did that locally,...
Ah, I now see the warning: "/tmp/ipykernel_603399/3077649407.py:1: UserWarning: Geometry is in a geographic CRS. Results from 'area' are likely incorrect. Use 'GeoSeries.to_crs()' to re-project geometries to a projected CRS before...
A further improvement: in figure 6.2b the sill is 140, according to the text on the same page it is 160. The latter is the usual definition, the value between...
Maybe I'm naive, but why would you do a bilinear interpolation on an image with a categorical variable?
Thanks! For rgb data you can do ```r plot(longlake_osm, rgb = 1:3, maxColorValue=255) ``` to plot an rgb image. What you're trying doesn't work because `template_raster` doesn't have a crs;...