seriesExtent {soilDB} | R Documentation |
Get or display the spatial extent of a named soil series using the Series Extent Explorer.
seriesExtent(s, timeout=60) seriesExtentAsGmap(s, timeout=60, exp=1.25)
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 |
Soil series extent data are downloaded from a static cache of GeoJSON files on SoilWeb servers. Cached data are typically updated annually.
when calling seriesExtent
, a SpatialPolygonsDataFrame object
These function require the 'rgdal' and 'dismo' packages.
D.E. Beaudette
http://casoilresource.lawr.ucdavis.edu/see
## Not run:
##D # fetch series extent for the 'Amador' soil series
##D s <- seriesExtent('amador')
##D plot(s)
##D
##D # fetch then plot the extent of the 'Amador' soil series
##D seriesExtentAsGmap('amador')
## End(Not run)