soil.legends: Standard color palettes for soil properties and classes

Description Usage Format Note Author(s) References Examples

Description

Standard color palettes for soil properties and classes that can be used to display global soil data.

Usage

1

Format

Contains a list of color palettes (data frames with class names / break points, and cumulative probabilities) for:

ORCDRC

numeric; soil organic carbon content in permille

PHIHOX

numeric; pH index measured in water solution

PHIKCL

numeric; pH index measured in KCl solution

BLDFIE

numeric; bulk density (fine earth) in kg per cubic meter

CECSOL

numeric; Cation Exchange Capacity of soil

SNDPPT

numeric; weight percentage of the sand particles (0.05–2 mm)

SLTPPT

numeric; weight percentage of the silt particles (0.0002–0.05 mm)

CLYPPT

numeric; weight percentage of the clay particles (<0.0002 mm)

CRFVOL

numeric; volumetric percentage of coarse fragments (>2 mm)

TAXOUSDA

factor; Keys to Soil Taxonomy suborders

TAXGWRB

factor; World Reference Base groups

TAXNWRB

factor; World Reference Base legend for SoilGrids250m

Note

Breaks for continuous soil properties were determined using the quantiles function and by visually inspecting the histograms to maximize the contrast in output maps. Based on a compilation of global soil profile data (see ISRIC's World Soil Information Service WoSIS).

Author(s)

Tomislav Hengl

References

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
data(soil.legends)
pal <- soil.legends$ORCDRC$COLOR
names(pal) <- signif((soil.legends$ORCDRC$MAX + 
    soil.legends$ORCDRC$MIN)/2, 3)
pal
data(soil.vars)
soil.vars[soil.vars$varname=="ORCDRC",]
## make SAGA GIS palette:
makeSAGAlegend(x=as.factor(names(pal)), col_pal=pal, 
    filename="ORCDRC.txt")

Example output

GSIF version 0.5-4 (2017-04-25)
URL: http://gsif.r-forge.r-project.org/
      0.1       0.3       0.5       0.7      0.95       1.3       1.7      2.15 
"#000180" "#000393" "#0006A6" "#000FB7" "#0018C8" "#0025D6" "#0032E3" "#0043ED" 
      2.7       3.3         4      4.85       5.8       6.9       8.2       9.7 
"#0054F6" "#0067FA" "#0079FE" "#038DFC" "#06A0F9" "#0DB2F2" "#15C3E9" "#21D2DD" 
     11.4      13.5      15.9      18.7        22      25.8      30.2      35.4 
"#2FE0CF" "#3EEBC0" "#4FF3AF" "#62F99C" "#75FD8A" "#89FD76" "#9BF963" "#AEF450" 
     41.4      48.4      56.5        66        77        90       105       122 
"#BFEB3F" "#CFE02F" "#DCD322" "#E8C416" "#F1B30D" "#F8A106" "#FC8F03" "#FE7B00" 
      143       167       194       226       264       308       359       418 
"#FA6800" "#F65500" "#ED4400" "#E43300" "#D62500" "#C91800" "#B80F00" "#A70700" 
  varname            fullname
5  ORCDRC Soil organic carbon
                                                                                                description
5 Organic carbon content in soil estimated using the method of Walkley-Black (Org. matter = Org. C x 1.72).
                                                                        href
5 ftp://ftp-fc.sc.egov.usda.gov/NSSC/Lab_Methods_Manual/SSIR42_2004_view.pdf
     type                units minval maxval detectionLimit  spcslot  priority
5 numeric permille or g C kg-1      0   1000              1 horizons suggested
  DomainId
5       NA

GSIF documentation built on May 2, 2019, 5:44 p.m.

Related to soil.legends in GSIF...