soilDB 2.7.10
soilDB 2.7.10 (2023-11-16)
-
fetchSDA_spatial()
gainsgeom.src="mlrapolygon"
for obtaining Major Land Resource Area (MLRA) polygon boundaries. When using this geometry sourcex
is a vector ofMLRARSYM
(MLRA Symbols).- The geometry source is the MLRA Geographic Database v5.2 (2022) which is not (yet) part of Soil Data Access. Instead of SDA, GDAL utilities are used to read a zipped ESRI Shapefile from a remote URL: https://www.nrcs.usda.gov/sites/default/files/2022-10/MLRA_52_2022.zip. Therefore, most additional
fetchSDA_spatial()
arguments are not currently supported for the MLRA geometry source. In the future amlrapolygon
table may be added to SDA (analogous tomupolygon
andsapolygon
), and the function will be updated accordingly at that time.
- The geometry source is the MLRA Geographic Database v5.2 (2022) which is not (yet) part of Soil Data Access. Instead of SDA, GDAL utilities are used to read a zipped ESRI Shapefile from a remote URL: https://www.nrcs.usda.gov/sites/default/files/2022-10/MLRA_52_2022.zip. Therefore, most additional
-
Web coverage services and related raster attribute tables provided by SoilWeb (
mukey.wcs()
etc.) are now using the SoilWeb load-balancer URL -
get_SDA_coecoclass()
gainsmethod="all"
for aggregating information about ecological sites and related components. The method performs a condition-based aggregation for each ecological site condition in the map unit, producing a "wide" data.frame result with as many columns as needed to portray all site conditions. -
fetchLDM()
gains new argumentWHERE
for supplying a custom SQL where clause for selecting sites of interest. For example:fetchLDM(WHERE = "CASE WHEN corr_name IS NOT NULL THEN LOWER(corr_name) ELSE LOWER(samp_name) END = 'musick'")
soilDB 2.7.9 (2023-09-01)
- Added new
method
options forfetchSDA_spatial()
. Aggregation grouping is controlled by theby.col
argument. This works for mapunit and survey area polygon geometries, aggregating all polygons in the group for eachmukey
,nationalmusym
,lkey
, orareasymbol
extent. method="extent"
method calculates a bounding rectanglemethod="convexhull"
calculates the convex hullmethod="union"
returns a MULTIPOLYGONmethod="collection"
returns a GEOMETRYCOLLECTION
Bug Fixes
-
Bug fix for
get_vegplot_transpoints_from_NASIS_db()
; using wrong record ID for transect points -
get_NASIS_table_name_by_purpose()
now includes"pointplantcoverdetails"
,"plantprodquadratdetails"
in the"vegetation"
table purpose group
What's Changed
- fetchSDA_spatial: add new T-SQL aggregate geometry methods by @brownag in #299
- fetchSDA_spatial: add
geom.src='mlrapolygon'
by @brownag in #302 get_SDA_interpretation()
: add subrule ratings to "reason" field by @brownag in #308mukey.wcs()
: fix areas containing all NoData and resolution for AOI at edge of WCS extent by @brownag in #306- get_SDA_coecoclass: add
method="all"
by @brownag in #301 - alignment of WCS results with authoritative grid topology by @brownag in #313
Full Changelog: 2.7.8...2.7.10