Validate SoilGrid (spatial predictions) i.e. soil property maps following the GSIF validation protocol.
SoilGrid.validator(obj, domain, ground.truth, N.sample=2000,
xml.file, z.lim, md.type="INSPIRE", test.URL=FALSE)
"GDALobj"
object i.e. a pointer to a spatial layer of interest (single slice)
"GDALobj"
object i.e. a pointer to a spatial layer contain soil mask
"SpatialPointsDataFrame"
; contains values of the target variable at exactly the same depth / same support size sampled either using Simple Random Sampling or regular sampling on a grid
integer; random sampling size
character; metadata file (should have the same name as obj
file)
numeric; upper and lower physical limits
character; metadata standard (currently INSPIRE)
logical; specifies whether to validate XML schema / test download times and proj4 string
Returns a list with validation results. Explanation of codes is available in the SoilGrids.org data validation protocol.
plotKML::spMetadata