gdalraster2.0.0 package

Bindings to 'GDAL'

addFilesInZip

Create/append to a potentially Seek-Optimized ZIP file (SOZip)

apply_geotransform

Apply geotransform (raster column/row to geospatial x/y)

autoCreateWarpedVRT

Create a virtual warped dataset automatically

bandCopyWholeRaster

Copy a whole raster band efficiently

bbox_from_wkt

Get the bounding box of a geometry specified in OGC WKT format

bbox_intersect

Bounding box intersection / union

bbox_to_wkt

Convert a bounding box to POLYGON in OGC WKT format

bbox_transform

Transform a bounding box to a different projection

buildRAT

Build a GDAL Raster Attribute Table with VALUE, COUNT

buildVRT

Build a GDAL virtual raster from a list of datasets

calc

Raster calculation

CmbTable-class

Class for counting unique combinations of integers

combine

Raster overlay for unique combinations

copyDatasetFiles

Copy the files of a dataset

create

Create a new uninitialized raster

createColorRamp

Create a color ramp

createCopy

Create a copy of a raster

data_type_helpers

Helper functions for GDAL raster data types

DEFAULT_DEM_PROC

List of default DEM processing options

DEFAULT_NODATA

List of default nodata values by raster data type

deleteDataset

Delete named dataset

dem_proc

GDAL DEM processing

displayRAT

Display a GDAL Raster Attribute Table

dump_open_datasets

Report open datasets

fillNodata

Fill selected pixels by interpolation from surrounding areas

footprint

Compute footprint of a raster

g_binary_op

Binary operations on WKB or WKT geometries

g_binary_pred

Geometry binary predicates operating on WKB or WKT

g_buffer

Compute buffer of a WKB/WKT geometry

g_coords

Extract coordinate values from geometries

g_envelope

Obtain the bounding envelope for input geometries

g_factory

Create WKB/WKT geometries from vertices, and add sub-geometries

g_make_valid

Attempt to make invalid geometries valid

g_measures

Compute measurements for WKB/WKT geometries

g_query

Obtain information about WKB/WKT geometries

g_simplify

Simplify WKB/WKT geometries optionally preserving topology

g_swap_xy

Swap geometry x and y coordinates

g_transform

Apply a coordinate transformation to a WKB/WKT geometry

g_wk2wk

Geometry WKB/WKT conversion

gdal_compute_version

Compute a GDAL integer version number from major, minor, revision

gdal_formats

Retrieve information on GDAL format drivers for raster and vector

gdal_version

Get GDAL version

GDALRaster-class

Class encapsulating a raster dataset and associated band objects

gdalraster-package

Bindings to the GDAL API

GDALVector-class

Class encapsulating a vector layer in a GDAL dataset

geos_version

Get GEOS version

get_cache_max

Get the maximum memory size available for the GDAL block cache

get_cache_used

Get the size of memory in use by the GDAL block cache

get_config_option

Get GDAL configuration option

get_num_cpus

Get the number of processors detected by GDAL

get_pixel_line

Raster pixel/line from geospatial x,y coordinates

get_usable_physical_ram

Get usable physical RAM reported by GDAL

getCreationOptions

Return the list of creation options for a GDAL driver

has_geos

Is GEOS available?

has_spatialite

Is SpatiaLite available?

http_enabled

Check if GDAL CPLHTTP services can be useful (libcurl)

identifyDriver

Identify the GDAL driver that can open a dataset

inspectDataset

Obtain information about a GDAL raster or vector dataset

inv_geotransform

Invert geotransform

inv_project

Inverse project geospatial x/y coordinates to longitude/latitude

ogr_define

OGR feature class definition for vector data

ogr_manage

Utility functions for managing vector data sources

ogr_proc

GDAL OGR facilities for vector geoprocessing

ogr_reproject

Reproject a vector layer

ogr2ogr

Convert vector data between different formats

ogrinfo

Retrieve information about a vector data source

pixel_extract

Extract pixel values at geospatial point locations

plot_raster

Display raster data

plot.OGRFeature

Plot the geometry of an OGRFeature object

plot.OGRFeatureSet

Plot the geometry column of an OGRFeatureSet

polygonize

Create a polygon feature layer from raster data

pop_error_handler

Pop error handler off stack

print.OGRFeature

Print an OGRFeature object

print.OGRFeatureSet

Print an OGRFeatureSet

proj_networking

Check, enable or disable PROJ networking capabilities

proj_search_paths

Get or set search path(s) for PROJ resource files

proj_version

Get PROJ version

push_error_handler

Push a new GDAL CPLError handler

rasterFromRaster

Create a raster from an existing raster as template

rasterize

Burn vector geometries into a raster

rasterToVRT

Create a GDAL virtual raster derived from one source dataset

read_ds

Convenience wrapper for GDALRaster$read()

renameDataset

Rename a dataset

RunningStats-class

Class to calculate mean and variance in one pass

set_cache_max

Set the maximum memory size for the GDAL block cache

set_config_option

Set GDAL configuration option

sieveFilter

Remove small raster polygons

srs_convert

Convert spatial reference definitions to OGC Well Known Text

srs_query

Obtain information about a spatial reference system

transform_bounds

Transform boundary

transform_xy

Transform geospatial x/y coordinates

translate

Convert raster data between different formats

validateCreationOptions

Validate the list of creation options that are handled by a driver

vsi_clear_path_options

Clear path specific configuration options

vsi_constants

Constants for VSIFile$seek()

vsi_copy_file

Copy a source file to a target filename

vsi_curl_clear_cache

Clean cache associated with /vsicurl/ and related file systems

vsi_get_actual_url

Returns the actual URL of a supplied VSI filename

vsi_get_disk_free_space

Return free disk space available on the filesystem

vsi_get_file_metadata

Get metadata on files

vsi_get_fs_options

Return the list of options associated with a virtual file system handl...

vsi_get_fs_prefixes

Return the list of virtual file system handlers currently registered

vsi_get_signed_url

Returns a signed URL for a supplied VSI filename

vsi_is_local

Returns if the file/filesystem is "local".

vsi_mkdir

Create a directory

vsi_read_dir

Read names in a directory

vsi_rename

Rename a file

vsi_rmdir

Delete a directory

vsi_set_path_option

Set a path specific option for a given path prefix

vsi_stat

Get filesystem object info

vsi_supports_rnd_write

Return whether the filesystem supports random write

vsi_supports_seq_write

Return whether the filesystem supports sequential write

vsi_sync

Synchronize a source file/directory with a target file/directory

vsi_unlink_batch

Delete several files in a batch

vsi_unlink

Delete a file

VSIFile-class

Class wrapping the GDAL VSIVirtualHandle API for binary file I/O

warp

Raster reprojection and mosaicing

API bindings to the Geospatial Data Abstraction Library ('GDAL', <https://gdal.org>). Implements the 'GDAL' Raster and Vector Data Models. Bindings are implemented with 'Rcpp' modules. Exposed C++ classes and stand-alone functions wrap much of the 'GDAL' API and provide additional functionality. Calling signatures resemble the native C, C++ and Python APIs provided by the 'GDAL' project. Class 'GDALRaster' encapsulates a 'GDALDataset' and its raster band objects. Class 'GDALVector' encapsulates an 'OGRLayer' and the 'GDALDataset' that contains it. Class 'VSIFile' provides bindings to the 'GDAL' 'VSIVirtualHandle' API. Additional classes include 'CmbTable' for counting unique combinations of integers, and 'RunningStats' for computing summary statistics efficiently on large data streams. C++ stand-alone functions provide bindings to most 'GDAL' raster and vector utilities including 'OGR' facilities for vector geoprocessing, several algorithms, the Geometry API ('GEOS' via 'GDAL' headers), the Spatial Reference Systems API, and methods for coordinate transformation. Bindings to the Virtual Systems Interface ('VSI') API implement standard file system operations, abstracted for URLs, cloud storage services, 'Zip'/'GZip'/'7z'/'RAR', in-memory files, as well as regular local file systems. This provides a single interface for operating on file system objects that works the same for any storage backend. A custom raster calculator evaluates a user-defined R expression on a layer or stack of layers, with pixel x/y available as variables in the expression. Raster 'combine()' identifies and counts unique pixel combinations across multiple input layers, with optional raster output of the pixel-level combination IDs. Basic plotting capability is provided for raster and vector display. 'gdalraster' leans toward minimalism and the use of simple, lightweight objects for holding raw data. Currently, only minimal S3 class interfaces have been implemented for selected R objects that contain spatial data. 'gdalraster' may be useful in applications that need scalable, low-level I/O, or prefer a direct 'GDAL' API.

  • Maintainer: Chris Toney
  • License: MIT + file LICENSE
  • Last published: 2025-05-11