Skip to content

soilDB 2.7.10

Compare
Choose a tag to compare
@brownag brownag released this 16 Nov 19:19
· 305 commits to master since this release

soilDB 2.7.10 (2023-11-16)

  • fetchSDA_spatial() gains geom.src="mlrapolygon" for obtaining Major Land Resource Area (MLRA) polygon boundaries. When using this geometry source x is a vector of MLRARSYM (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 a mlrapolygon table may be added to SDA (analogous to mupolygon and sapolygon), and the function will be updated accordingly at that time.
  • 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() gains method="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 argument WHERE 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 for fetchSDA_spatial(). Aggregation grouping is controlled by the by.col argument. This works for mapunit and survey area polygon geometries, aggregating all polygons in the group for each mukey, nationalmusym, lkey, or areasymbol extent.
  • method="extent" method calculates a bounding rectangle
  • method="convexhull" calculates the convex hull
  • method="union" returns a MULTIPOLYGON
  • method="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 #308
  • mukey.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