Skip to content
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.

Latest commit

 

History

History
88 lines (66 loc) · 3.08 KB

index.md

File metadata and controls

88 lines (66 loc) · 3.08 KB

Travis build status Coverage status CRAN Downloads

cover_image

slga

slga offers the ability to download geographic subsets of raster data from the Soil and Landscape Grid of Australia. The Grid was generated in 2014 from a compilation of Australian soil and landscape data and contains a set of modelled soil attributes that meet the globalsoilmap.net specification.

Also available for download are a set of terrain and climate covariates considered useful in soils modelling. These are primarily derived from GeoScience Australia’s SRTM DEM products.

All products are returned in GDA94 long/lat (EPSG:4283) and have a cell resolution of 3" (roughly 90m).

Installation

Install from CRAN with

install.packages('slga')

Install from github with

devtools::install_github("obrl-soil/slga")

How it works

slga uses the WCS endpoints provided by the SLGA to access data. The package endeavours to return requested products as simple subsets of the parent dataset, with no hidden server-side resampling.

Example

library(raster)
library(slga)
library(ggplot2)
# get surface clay content for King Island
aoi <- c(152.95, -27.55, 153.07, -27.45)
bne_surface_clay <- get_slga_data(product = 'NAT', attribute = 'CLY',
                                  component = 'all', depth = 1,
                                  aoi = aoi, write_out = FALSE)

clay-plot-bne cen

See the package vignette for further detail.

Warning!

While it is possible to download data for large extents using this package, please be aware that the data volume can get large, and it will not be very quick or efficient. If you want to obtain SLGA data for a significant proportion of Australia, you may prefer to access the full datasets via the CSIRO Data Access Portal. Note that 1" (30m) versions of the slga terrain attributes are also available on that portal.

Asking for help

If you get stuck using this package or the data it provides, please post a question on Stack Overflow (for internet connectivity problems) or the GIS StackExchange (for raster/geospatial issues). This means that others can benefit from the discussion, and more people are available to help you. You’re welcome to ping me in a comment on those websites or on twitter (@obrl_soil) to get my attention.