Iterate over Spatial* object features and submit spatial queries to the SDA web-service.
SDA_query_features(x, id='pedon_id')
processSDA_WKT(d, g='geom', p4s='+proj=longlat +datum=WGS84')
a Spatial*
object with more than 1 feature, any defined coordinate system
the column name in x
that contains a unique ID for each feature
data.frame
returned by SDA_query
, containing WKT representation of geometry
name of column in d
containing WKT geometry
PROJ4 CRS defs
A dataframe containing the results.
The SDA website can be found at http://sdmdataaccess.nrcs.usda.gov. See the SDA Tutorial for detailed examples.