Post-process WKT returned from SDA.
This is a helper function, commonly used with SDA_query
to extract
WKT (well-known text) representation of geometry to an sp-class object.
processSDA_WKT(d, g = "geom", p4s = "+proj=longlat +datum=WGS84")
d |
|
g |
name of column in |
p4s |
PROJ4 CRS definition, typically GCS WGS84 |
The SDA website can be found at https://sdmdataaccess.nrcs.usda.gov. See the SDA Tutorial for detailed examples.
A Spatial*
object.
This function requires the httr
, jsonlite
, XML
,
and rgeos
packages.
D.E. Beaudette
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.