Get SSURGO Data via Spatial Query to SoilWeb
Data are currently available from SoilWeb. These data are a snapshot of the "official" data. The snapshot date is encoded in the "soilweb_last_update" column in the function return value. Planned updates to this function will include a switch to determine the data source: "official" data via USDA-NRCS servers, or a "snapshot" via SoilWeb.
Note
SDA now supports spatial queries, consider using SDA_spatialQuery()
instead.
Examples
# \donttest{
# query by bbox
SoilWeb_spatial_query(bbox=c(-122.05, 37, -122, 37.05))
#> area_ac areasymbol mukey musym
#> 1 1123.9 ca087 455958 182
#> 2 749.0 ca087 455891 115
#> 3 586.7 ca087 455889 113
#> 4 523.9 ca087 455920 144
#> 5 459.8 ca087 455934 158
#> 6 267.7 ca087 455935 159
#> 7 231.4 ca087 455921 145
#> 8 175.0 ca087 455947 171
#> 9 165.9 ca087 455894 118
#> 10 150.3 ca087 455909 133
#> 11 149.7 ca087 455918 142
#> 12 131.9 ca087 455955 179
#> 13 117.3 ca087 455919 143
#> 14 107.1 ca087 455953 177
#> 15 84.9 ca087 455936 160
#> 16 83.8 ca087 455893 117
#> 17 83.8 ca087 455927 151
#> 18 73.9 ca087 455940 164
#> 19 73.0 ca087 455886 110
#> 20 72.3 ca087 455960 184
#> 21 66.2 ca087 455950 174
#> 22 57.3 ca087 455949 173
#> 23 54.5 ca087 455959 183
#> 24 47.2 ca087 455951 175
#> 25 43.7 ca087 2833423 130
#> 26 43.2 ca087 455892 116
#> 27 37.4 ca087 2833403 131
#> 28 33.6 ca087 455924 148
#> 29 31.2 ca087 455882 106
#> 30 28.2 ca087 455877 101
#> 31 26.6 ca087 455881 105
#> 32 25.6 ca087 455876 100
#> 33 25.3 ca087 455901 125
#> 34 22.2 ca087 455954 178
#> 35 19.8 ca087 455874 185
#> 36 19.1 ca087 455933 157
#> 37 17.2 ca087 455912 136
#> 38 16.8 ca087 455890 114
#> 39 15.4 ca087 455911 135
#> 40 14.2 ca087 455880 104
#> 41 11.7 ca087 455887 111
#> 42 7.0 ca087 455915 139
#> 43 5.9 ca087 455946 170
#> 44 5.0 ca087 455922 146
#> 45 4.7 ca087 455956 180
#> 46 3.5 ca087 455910 134
#> 47 3.0 ca087 455941 165
#> 48 1.4 ca087 455948 172
#> muname
#> 1 Zayante coarse sand, 5 to 30 percent slopes
#> 2 Ben Lomond-Felton complex, 50 to 75 percent slopes
#> 3 Ben Lomond-Catelli-Sur complex, 30 to 75 percent slopes
#> 4 Lompico-Felton complex, 50 to 75 percent slopes, MLRA 4B
#> 5 Nisene-Aptos complex, 50 to 75 percent slopes
#> 6 Pfeiffer gravelly sandy loam, 15 to 30 percent slopes
#> 7 Lompico variant loam, 5 to 30 percent slopes
#> 8 Soquel loam, 2 to 9 percent slopes
#> 9 Bonnydoon-Rock outcrop complex, 50 to 85 percent slopes
#> 10 Elkhorn sandy loam, 2 to 9 percent slopes
#> 11 Lompico-Felton complex, 5 to 30 percent slopes
#> 12 Watsonville loam, thick surface, 2 to 15 percent slopes
#> 13 Lompico-Felton complex, 30 to 50 percent slopes, MLRA 4B
#> 14 Watsonville loam, 2 to 15 percent slopes
#> 15 Pfeiffer gravelly sandy loam, 30 to 50 percent slopes
#> 16 Bonnydoon loam, 30 to 50 percent slopes
#> 17 Maymen stony loam, 30 to 75 percent slopes
#> 18 Pits-Dumps complex
#> 19 Ben Lomond sandy loam, 5 to 15 percent slopes
#> 20 Zayante-Rock outcrop complex, 15 to 75 percent slopes
#> 21 Tierra-Watsonville complex, 15 to 30 percent slopes
#> 22 Sur-Catelli complex, 50 to 75 percent slopes
#> 23 Zayante coarse sand, 30 to 50 percent slopes
#> 24 Tierra-Watsonville complex, 30 to 50 percent slopes
#> 25 Elder sandy loam, 2 to 9 percent slopes, MLRA 14
#> 26 Bonnydoon loam, 5 to 50 percent slopes, MLRA 4B
#> 27 Elder sandy loam, 9 to 15 percent slopes, MLRA 14
#> 28 Los Osos loam, 30 to 50 percent slopes, moist
#> 29 Baywood loamy sand, 15 to 30 percent slopes
#> 30 Aptos loam, warm, 30 to 50 percent slopes
#> 31 Baywood loamy sand, 2 to 15 percent slopes
#> 32 Aptos loam, warm, 15 to 30 percent slopes
#> 33 Danville loam, 2 to 9 percent slopes
#> 34 Watsonville loam, thick surface, 0 to 2 percent slopes
#> 35 Water
#> 36 Nisene-Aptos complex, 30 to 50 percent slopes
#> 37 Elkhorn-Pfeiffer complex, 30 to 50 percent slopes
#> 38 Ben Lomond-Felton complex, 30 to 50 percent slopes
#> 39 Elkhorn sandy loam, 15 to 30 percent slopes
#> 40 Baywood loamy sand, 0 to 2 percent slopes
#> 41 Ben Lomond sandy loam, 15 to 50 percent slopes
#> 42 Fluvaquentic Haploxerolls-Aquic Xerofluvents complex, 0 to 15 percent slopes
#> 43 Soquel loam, 0 to 2 percent slopes
#> 44 Los Osos loam, 5 to 15 percent slopes
#> 45 Watsonville loam, thick surface, 15 to 30 percent slope s
#> 46 Elkhorn sandy loam, 9 to 15 percent slopes
#> 47 Riverwash
#> 48 Soquel loam, 9 to 15 percent slopes
#> soilweb_last_update
#> 1 2024-09-08
#> 2 2024-09-08
#> 3 2024-09-08
#> 4 2024-09-08
#> 5 2024-09-08
#> 6 2024-09-08
#> 7 2024-09-08
#> 8 2024-09-08
#> 9 2024-09-08
#> 10 2024-09-08
#> 11 2024-09-08
#> 12 2024-09-08
#> 13 2024-09-08
#> 14 2024-09-08
#> 15 2024-09-08
#> 16 2024-09-08
#> 17 2024-09-08
#> 18 2024-09-08
#> 19 2024-09-08
#> 20 2024-09-08
#> 21 2024-09-08
#> 22 2024-09-08
#> 23 2024-09-08
#> 24 2024-09-08
#> 25 2024-09-08
#> 26 2024-09-08
#> 27 2024-09-08
#> 28 2024-09-08
#> 29 2024-09-08
#> 30 2024-09-08
#> 31 2024-09-08
#> 32 2024-09-08
#> 33 2024-09-08
#> 34 2024-09-08
#> 35 2024-09-08
#> 36 2024-09-08
#> 37 2024-09-08
#> 38 2024-09-08
#> 39 2024-09-08
#> 40 2024-09-08
#> 41 2024-09-08
#> 42 2024-09-08
#> 43 2024-09-08
#> 44 2024-09-08
#> 45 2024-09-08
#> 46 2024-09-08
#> 47 2024-09-08
#> 48 2024-09-08
# query by coordinate pair
SoilWeb_spatial_query(coords=c(-121, 38))
#> ogc_fid areasymbol musym mukey soilweb_last_update dist_meters
#> 1 1522812 ca077 220 462112 2024-09-08 92.17456302
# }