Learn R Programming

soilDB (version 2.4.1)

seriesExtent: Get/Display Soil Series Extent

Description

Get or display the spatial extent of a named soil series using the Series Extent Explorer.

Usage

seriesExtent(s, timeout=60)
seriesExtentAsGmap(s, timeout=60, exp=1.25)

Arguments

s

the soil series name

timeout

time that we are willing to wait for a response, in seconds

exp

expansion factor used to expand Google Maps region

Value

when calling seriesExtent, a SpatialPolygonsDataFrame object

Details

Soil series extent data are downloaded from a static cache of GeoJSON files on SoilWeb servers. Cached data are typically updated annually.

References

http://casoilresource.lawr.ucdavis.edu/see

Examples

Run this code
# NOT RUN {
# fetch series extent for the 'Amador' soil series
s <- seriesExtent('amador')
plot(s)
 
# fetch then plot the extent of the 'Amador' soil series
seriesExtentAsGmap('amador')
# }

Run the code above in your browser using DataLab