Skip to content
Discussion options

You must be logged in to vote

Yes, GDAL has a dataset open option:

An option exists for all drivers, OVERVIEW_LEVEL=level, to select a particular overview level of a dataset. The level index starts at 0. The level number can be suffixed by "only" to specify that only this overview level must be visible, and not sub-levels.

Also:

Starting with GDAL 3.3, OVERVIEW_LEVEL=NONE is supported to indicate that no overviews should be exposed.

You'll need to use the constructor for GDALRaster that includes open_options, i.e., all arguments are required up to that one (see Constructors under Usage at https://usdaforestservice.github.io/gdalraster/reference/GDALRaster-class.html). With your example above:

library(gdalraster)
#>…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@wiesehahn
Comment options

Answer selected by wiesehahn
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants