This is a helper function commonly used with SDA_query to extract
WKT (well-known text) representation of geometry to an sf or sp object.
Arguments
- d
data.framereturned bySDA_query, containing WKT representation of geometry- g
name of column in
dcontaining WKT geometry- crs
CRS definition (e.g. an EPSG code). Default
4326for WGS84 Geographic Coordinate System- p4s
Deprecated: PROJ4 CRS definition
- as_sf
Return an
sfdata.frame? IfFALSEreturn aSpatial*object.
Details
The SDA website can be found at https://sdmdataaccess.nrcs.usda.gov. See the SDA Tutorial for detailed examples.
The SDA website can be found at https://sdmdataaccess.nrcs.usda.gov. See the SDA Tutorial for detailed examples.