Skip to content

Commit

Permalink
edit for v. 1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ctoney committed Aug 29, 2023
1 parent 1deadea commit f270d68
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 35 deletions.
22 changes: 11 additions & 11 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: gdalraster
Title: Bindings to the 'Geospatial Data Abstraction Library' Raster API
Version: 1.3.1
Version: 1.4.0
Authors@R: c(
person("Chris", "Toney", email = "chris.toney@usda.gov",
role = c("aut", "cre")),
Expand All @@ -21,17 +21,17 @@ Description: Interface to the raster API of the 'Geospatial Data Abstraction
for reprojection. Includes selected 'GDAL' algorithms and functions for
working with spatial reference systems. Calling signatures resemble the
native C, C++ and Python APIs provided by the 'GDAL' project
(<https://gdal.org>). Bindings are implemented via an exposed C++
class and several stand-alone functions. Additional functionality includes:
class 'RunningStats' for efficient summary statistics on large data
streams; class 'CmbTable' for counting unique combinations of integers with
a hash table; raster overlay to identify and count unique pixel
combinations across multiple inputs; raster calculate by evaluating
(<https://gdal.org>). Bindings are implemented via 'Rcpp' exposed class
along with several stand-alone functions. Additional functionality
includes: class 'RunningStats' for efficient summary statistics on large
data streams; class 'CmbTable' for counting unique combinations of integers
with a hash table; raster overlay to identify and count unique pixel
combinations across multiple input layers; raster calculation by evaluating
any R expression on a stack of layers with pixel coordinates available as
variables; and display using base 'graphics'. 'gdalraster' may be suitable
for applications that primarily need low-level raster I/O or prefer
'GDAL'-like calling. Additional functionality is somewhat aimed at thematic
data analysis but may have other utility.
variables; and raster display using base 'graphics'. 'gdalraster' may be
suitable for applications that primarily need low-level I/O or prefer a
direct 'GDAL' API. The additional functionality is somewhat aimed at
thematic data analysis but may have other utility.
License: MIT + file LICENSE
Copyright: See file inst/COPYRIGHTS for details.
URL: https://usdaforestservice.github.io/gdalraster/,
Expand Down
18 changes: 9 additions & 9 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
# gdalraster 1.3.1 (dev)
# gdalraster 1.4.0

* add `GDALRaster$buildOverviews()`: build raster overviews (2023-08-27)
* add `dem_proc()`: wrapper for the `gdaldem` command-line utility to generate DEM derivatives

* `transform_xy()` and `inv_project()`: `pts` can be a data frame or matrix (2023-08-27)
* add the following set methods in class `GDALRaster`: `setMetadataItem()`, `setUnitType()`, `setScale()`, `setOffset()`

* `plot_raster()`: make the legend narrower and add argument `digits` to format legend labels when raster data are floating point (2023-08-26)
* add `GDALRaster$buildOverviews()`: build raster overviews

* add the following set methods in class `GDALRaster`: `setMetadataItem()`, `setUnitType()`, `setScale()`, `setOffset()` (2023-08-08)
* add `GDALRaster$dim()`: returns a vector of xsize, ysize, nbands

* add `dem_proc()`: wrapper for the `gdaldem` command-line utility to generate DEM derivatives (2023-08-07)
* `transform_xy()` and `inv_project()`: `pts` can be a data frame or matrix

* `plot_raster()` now accepts a `GDALRaster` object for the `data` argument. Previously `data` could only be a vector of pixel values that had already been read in (2023-07-15)
* `plot_raster()` now accepts a `GDALRaster` object for the `data` argument

* add test suite and codecov reporting (2023-07-02)
* `plot_raster()`: make the legend narrower and add argument `digits` to format legend labels when raster data are floating point

* add `GDALRaster$dim()`: returns a vector of xsize, ysize, nbands (2023-06-29)
* add test suite and code coverage report

# gdalraster 1.3.0

Expand Down
4 changes: 2 additions & 2 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ knitr::opts_chunk$set(

<!-- badges: start -->
[![R-CMD-check](https://github.com/USDAForestService/gdalraster/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/USDAForestService/gdalraster/actions/workflows/R-CMD-check.yaml)
[![codecov](https://codecov.io/gh/ctoney/gdalraster/branch/main/graph/badge.svg?token=MXIOPZQ2IU)](https://codecov.io/gh/ctoney/gdalraster)
[![codecov](https://codecov.io/gh/ctoney/gdalraster/branch/main/graph/badge.svg?token=MXIOPZQ2IU)](https://app.codecov.io/gh/ctoney/gdalraster)
[![CRAN status](https://www.r-pkg.org/badges/version/gdalraster)](https://CRAN.R-project.org/package=gdalraster)
[![cran checks](https://badges.cranchecks.info/worst/gdalraster.svg)](https://cran.r-project.org/web/checks/check_results_gdalraster.html)
[![r-universe status](https://usdaforestservice.r-universe.dev/badges/gdalraster)](https://usdaforestservice.r-universe.dev/gdalraster)
Expand Down Expand Up @@ -47,7 +47,7 @@ for each unique combination are obtained, and combination IDs are optionally wri
* `calc()` evaluates an R expression for each pixel in a raster layer or stack of layers. Individual pixel coordinates are available as variables in the R expression, as either x/y in the raster projected coordinate system or inverse projected longitude/latitude.
* `plot_raster()` displays raster data using base R graphics.

`gdalraster` may be suitable for applications that primarily need low-level raster I/O or prefer native GDAL-like calling. The additional functionality is somewhat aimed at thematic data analysis but may have other utility.
`gdalraster` may be suitable for applications that primarily need low-level raster I/O or prefer a direct GDAL API. The additional functionality is somewhat aimed at thematic data analysis but may have other utility.

## Installation

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<!-- badges: start -->

[![R-CMD-check](https://github.com/USDAForestService/gdalraster/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/USDAForestService/gdalraster/actions/workflows/R-CMD-check.yaml)
[![codecov](https://codecov.io/gh/ctoney/gdalraster/branch/main/graph/badge.svg?token=MXIOPZQ2IU)](https://codecov.io/gh/ctoney/gdalraster)
[![codecov](https://codecov.io/gh/ctoney/gdalraster/branch/main/graph/badge.svg?token=MXIOPZQ2IU)](https://app.codecov.io/gh/ctoney/gdalraster)
[![CRAN
status](https://www.r-pkg.org/badges/version/gdalraster)](https://CRAN.R-project.org/package=gdalraster)
[![cran
Expand Down Expand Up @@ -55,7 +55,7 @@ Additional functionality includes:
- `plot_raster()` displays raster data using base R graphics.

`gdalraster` may be suitable for applications that primarily need
low-level raster I/O or prefer native GDAL-like calling. The additional
low-level raster I/O or prefer a direct GDAL API. The additional
functionality is somewhat aimed at thematic data analysis but may have
other utility.

Expand Down
18 changes: 9 additions & 9 deletions configure
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.71 for gdalraster 1.3.1.
# Generated by GNU Autoconf 2.71 for gdalraster 1.4.0.
#
# Report bugs to <chris.toney@usda.gov>.
#
Expand Down Expand Up @@ -610,8 +610,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='gdalraster'
PACKAGE_TARNAME='gdalraster'
PACKAGE_VERSION='1.3.1'
PACKAGE_STRING='gdalraster 1.3.1'
PACKAGE_VERSION='1.4.0'
PACKAGE_STRING='gdalraster 1.4.0'
PACKAGE_BUGREPORT='chris.toney@usda.gov'
PACKAGE_URL=''

Expand Down Expand Up @@ -1271,7 +1271,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
\`configure' configures gdalraster 1.3.1 to adapt to many kinds of systems.
\`configure' configures gdalraster 1.4.0 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
Expand Down Expand Up @@ -1333,7 +1333,7 @@ fi

if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of gdalraster 1.3.1:";;
short | recursive ) echo "Configuration of gdalraster 1.4.0:";;
esac
cat <<\_ACEOF
Expand Down Expand Up @@ -1431,7 +1431,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
gdalraster configure 1.3.1
gdalraster configure 1.4.0
generated by GNU Autoconf 2.71
Copyright (C) 2021 Free Software Foundation, Inc.
Expand Down Expand Up @@ -1587,7 +1587,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by gdalraster $as_me 1.3.1, which was
It was created by gdalraster $as_me 1.4.0, which was
generated by GNU Autoconf 2.71. Invocation command line was
$ $0$ac_configure_args_raw
Expand Down Expand Up @@ -4199,7 +4199,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by gdalraster $as_me 1.3.1, which was
This file was extended by gdalraster $as_me 1.4.0, which was
generated by GNU Autoconf 2.71. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
Expand Down Expand Up @@ -4254,7 +4254,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config='$ac_cs_config_escaped'
ac_cs_version="\\
gdalraster config.status 1.3.1
gdalraster config.status 1.4.0
configured by $0, generated by GNU Autoconf 2.71,
with options \\"\$ac_cs_config\\"
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Based on configure.ac from https://github.com/appelmar/gdalcubes
# Copyright (c) 2018-2019 Marius Appel, License: MIT

AC_INIT([gdalraster],[1.3.1],[chris.toney@usda.gov])
AC_INIT([gdalraster],[1.4.0],[chris.toney@usda.gov])
AC_LANG(C++)

# find R home and set CC/CFLAGS
Expand Down
2 changes: 1 addition & 1 deletion man/GDALRaster-class.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f270d68

Please sign in to comment.