Skip to content

Commit

Permalink
1.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ctoney committed Jan 27, 2024
1 parent 2e03718 commit 5485db8
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 19 deletions.
2 changes: 1 addition & 1 deletion 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.7.0.9000
Version: 1.8.0
Authors@R: c(
person("Chris", "Toney", email = "chris.toney@usda.gov",
role = c("aut", "cre"), comment = "R interface/additional functionality"),
Expand Down
30 changes: 22 additions & 8 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,32 @@
# gdalraster 1.7.0.9000 dev
# gdalraster 1.8.0

* add `addFilesInZip()`: create/append to Seek-Optimized ZIP file (GDAL >= 3.7) (2024-01-20)
## Dependencies

* libxml2 is listed in `SystemRequirements` since it is required by dependent package **xml2**

* `GDALRaster-class`: add a constructor with default `read_only=TRUE` (2024-01-13)
## GDALRaster-class

* use pkg-config on Windows (#125 thanks to @kalibera) (2024-01-12)
* `read_only=TRUE` is now an optional default in the class constructor
* add `clearStatistics()`: clear statistics on PAM supported datasets (GDAL >= 3.2)

* `plot_raster()`: use georeferenced coordinates by default instead of pixel/line (#184 thanks to @mdsumner) (2023-12-15)
## Stand-alone functions

* switch to using the R convention for x.x.x.9000 development versioning (2023-12-03)
* add `addFilesInZip()`: create/append to Seek-Optimized ZIP files (GDAL >= 3.7)
* `plot_raster()`: now uses georeferenced coordinates by default instead of pixel/line (#184 thanks to @mdsumner)

* add `GDALRaster::clearStatistics()`: clear statistics (PAM supported datasets GDAL >= 3.2) (2023-11-29)
## Documentation

* example code for `calc()` using Landsat bands should have applied scale/offset as given in the .json metadata - this has been corrected
* add `AWS_REGION`, and a section for SOZip to [GDAL Config Quick Ref](https://usdaforestservice.github.io/gdalraster/articles/gdal-config-quick-ref.html)
* update documentation and examples throughout for default `read_only=TRUE` in the constructor for `GDALRaster`
* add `translate()` and `warp()` in [Raster API Tutorial](https://usdaforestservice.github.io/gdalraster/articles/raster-api-tutorial.html#see-also)

## Internal

* Documentation: the example for `calc()` using Landsat bands should have applied scale/offset as given in the .json metadata - this has been corrected; add `translate()` and `warp()` in [Raster API Tutorial](https://usdaforestservice.github.io/gdalraster/articles/raster-api-tutorial.html#see-also); add `AWS_REGION`, and a section for SOZip to the [GDAL Config Quick Ref](https://usdaforestservice.github.io/gdalraster/articles/gdal-config-quick-ref.html); update documentation and examples throughout for default `read_only=TRUE` in the constructor for `GDALRaster-class`
* configure.ac: remove parts of PROJ config that were unneeded since **gdalraster** only uses PROJ via GDAL headers; use `autoconf` macros for compiler invocations; get the PROJ data directory from `pkg-config` if possible; add `action-if-cross-compiling` argument (#190 and #197; thanks to Simon Urbanek for debugging an initial issue and providing helpful feedback)
* get GDAL libs from `pkg-config` on Windows when possible (#125 thanks to @kalibera)
* `translate()` and `warp()`: close the output dataset before closing source dataset(s) in case the output is VRT
* switch to using the R convention for x.x.x.9000 development versioning

# gdalraster 1.7.0

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.7.0.9000.
# Generated by GNU Autoconf 2.71 for gdalraster 1.8.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.7.0.9000'
PACKAGE_STRING='gdalraster 1.7.0.9000'
PACKAGE_VERSION='1.8.0'
PACKAGE_STRING='gdalraster 1.8.0'
PACKAGE_BUGREPORT='chris.toney@usda.gov'
PACKAGE_URL=''

Expand Down Expand Up @@ -1263,7 +1263,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.7.0.9000 to adapt to many kinds of systems.
\`configure' configures gdalraster 1.8.0 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
Expand Down Expand Up @@ -1325,7 +1325,7 @@ fi

if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of gdalraster 1.7.0.9000:";;
short | recursive ) echo "Configuration of gdalraster 1.8.0:";;
esac
cat <<\_ACEOF
Expand Down Expand Up @@ -1414,7 +1414,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
gdalraster configure 1.7.0.9000
gdalraster configure 1.8.0
generated by GNU Autoconf 2.71
Copyright (C) 2021 Free Software Foundation, Inc.
Expand Down Expand Up @@ -1613,7 +1613,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.7.0.9000, which was
It was created by gdalraster $as_me 1.8.0, which was
generated by GNU Autoconf 2.71. Invocation command line was
$ $0$ac_configure_args_raw
Expand Down Expand Up @@ -3839,7 +3839,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.7.0.9000, which was
This file was extended by gdalraster $as_me 1.8.0, which was
generated by GNU Autoconf 2.71. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
Expand Down Expand Up @@ -3894,7 +3894,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.7.0.9000
gdalraster config.status 1.8.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 @@ -5,7 +5,7 @@
# GDAL headers. Still checks that PROJ is available to GDAL and handles optional
# local copy of the PROJ data directory. The PROJ datadir is now obtained from
# pkg-config if possible. Compiler invocations are now logged.
AC_INIT([gdalraster],[1.7.0.9000],[chris.toney@usda.gov])
AC_INIT([gdalraster],[1.8.0],[chris.toney@usda.gov])
AC_LANG(C++)

# find R home and set CC/CFLAGS
Expand Down

0 comments on commit 5485db8

Please sign in to comment.