Roger Bivand

Results 459 comments of Roger Bivand

@Nowosad do you mean a density map of points (count of points per grid cell), or a gridded smooth of a variable observed at the irregular points?

I suggest always prefer the argument names used in base R if they exist. `col`, `lty`, `lwd`, and similar are transferable between packages (including **mapsf**), **grid** and **graphics**, see `?grid::gpar`...

Which OS platform and version? Is this https://cran.r-project.org/doc/FAQ/R-FAQ.html#Why-is-R-apparently-not-releasing-memory_003f

So the answer is the FAQ, not anything sf or R can do about it, if I read the FAQ correctly.

Good. I don't see anything obvious in the GPKG driver https://gdal.org/drivers/vector/gpkg.html#vector-gpkg that might be used to reduce memory use, but maybe some of the streaming innovations in the development version...

@paleolimbot yes, multiple copies could be monitored more in topological operations. Here the case is reading a large file, and I was wondering whether the streaming read updates to OGR...

@latot could you please provide code showing how you generated the 1.6GB GPKG file? Were the geometries points, lines or polygons?

The repetition of the same point is not very informative. I ran: ``` library(sf) nc big_nc

Please also note for my GDAL 3.3.0: ``` > o o Sys.getenv("GDAL_ENABLE_DEPRECATED_DRIVER_GTM") [1] "YES" > o

**rgdal** in R-forge rev. 1133 (now building): ``` > Sys.getenv("GDAL_ENABLE_DEPRECATED_DRIVER_GTM") [1] "YES" > o o o1