fetchKSSL {soilDB} | R Documentation |
Get KSSL data via BBOX, MLRA, or series name query, from the SoilWeb system.
fetchKSSL(series = NULL, bbox = NULL, mlra=NULL)
series |
a soil series name |
bbox |
a bounding box in WGS84 geographic coordinates e.g. |
mlra |
an MLRA ID |
This is an experimental interface to most of the KSSL data as of June 2015. Series-queries are case insensitive. Series name is based on the "correlated as" field (from KSSL snapshot) when present. The "sampled as" classification was promoted to "correlated as" if the "correlated as" classification was missing.
a SoilProfileCollection
object
SoilWeb maintains a snapshot of the KSSL data. Please use the link below for the live data.
D.E. Beaudette
http://ncsslabdatamart.sc.egov.usda.gov/
## Not run:
##D # search by series name
##D s <- fetchKSSL(series='auburn')
##D
##D # search by bounding-box
##D # s <- fetchKSSL(bbox=c(-120, 37, -122, 38))
##D
##D # how many pedons
##D length(s)
##D
##D # plot
##D par(mar=c(0,0,0,0))
##D plot(s, name='hzn_desgn', max.depth=150)
## End(Not run)