Skip to content

Commit

Permalink
p
Browse files Browse the repository at this point in the history
  • Loading branch information
rhijmans committed Dec 30, 2024
1 parent 1e8db81 commit 19592ea
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
- When using RStudio a once per session warning is given when using draw, sel or click [#1063](https://github.com/rspatial/terra/issues/1063) by Sergei Kharchenko
- `distance<SpatRaster>` from lon and lat lines/polygons computes distance to the edges instead of the nodes [#1462](https://github.com/rspatial/terra/issues/1462) by Derek Friend
- `distance<SpatVector,SpatVector>` now works for lon/lat data [#1615](https://github.com/rspatial/terra/issues/1615) by Wencheng Lau-Medrano
- faster plotting of COGs over http [#1353](https://github.com/rspatial/terra/issues/1353) by Michael Sumner and [#1412](https://github.com/rspatial/terra/issues/1412)
- using overviews for faster plotting of COGs over http [#1353](https://github.com/rspatial/terra/issues/1353) by Michael Sumner and [#1412](https://github.com/rspatial/terra/issues/1412); and argument `plot(x, overview=)` to change the default behavior.


## new
Expand Down
2 changes: 1 addition & 1 deletion R/gdal.R
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ setGDALconfig <- function(option, value="") {
gdal <- function(warn=NA, drivers=FALSE, lib="gdal") {
if (!is.na(warn)) {
warn <- as.integer(warn)
stopifnot(warn %in% c(1:4))
stopifnot(warn %in% (1:4))
.set_gdal_warnings(warn)
} else if (drivers) {
x <- .gdaldrivers()
Expand Down
2 changes: 1 addition & 1 deletion src/vector_methods.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ SpatVector SpatVector::elongate(double length, bool flat) {
return out;
}

#include "Rcpp.h"
//#include "Rcpp.h"

SpatVectorCollection SpatVector::split(std::string field) {

Expand Down

0 comments on commit 19592ea

Please sign in to comment.