![Maven Central Adds Sigstore Signature Validation](https://cdn.sanity.io/images/cgdhsj6q/production/7da3bc8a946cfb5df15d7fcf49767faedc72b483-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
The Bundesanstalt für Geowissenschaften und Rohstoffe (BGR) provides information on soil quality, types and other factors significant for agricultural use in Germany. As the information is solely available as a mapping service, this repo is aimed at providing a Node-JS client API to the information available.
npm install bgr-apis
sqr(point,layer)
bgr.sqr({
type: 'Point',
coordinates: [6.9977272,50.778018]
}, 18)
.then(res => {
// res = 72
})
.catch(err => {
console.log(err)
})
Returns the soil quality rating (float) at a given point (see Mueller et al. (2007) for infomation on the SQR method).
Point
can either be a GeoJSON point, an array of the form [lng, lat]
or a GeoJSON feature (e.g. a plot). When a plot (GeoJSON feature) is entered, the centroid of the plot is used.
Optional parameters
layer
You can specify another layer if you need information other than the soil quality index (defaults to 18)
Layer | Description (German) |
---|---|
18 | Soil Quality Index (default) |
17 | Bewertung der Bodenarten |
16 | Bewertung des Humusvorrats |
15 | Bewertung der Bodenstruktur |
14 | Bewertung der Packungsdichte |
13 | Bewertung der effektiven Durchwurzelungstiefe |
12 | Bewertung des Bodenwasserdargebots |
11 | Bewertung des mittleren Grundwassertiefstands |
10 | Bewertung der Hangneigung |
9 | Bewertung der standörtlichen Bodengüte |
7 | Bewertung der Versauerungsgefährdung |
6 | Bewertung der Gründigkeit |
5 | Bewertung der Trockenheitsgefährdung |
4 | Bewertung des Steingehaltes im Wurzelraum |
3 | Ertragslimitierende Faktoren |
2 | Gefährdungsindikatorwerte |
soilType(point)
bgr.soilType({
type: 'Point',
coordinates: [6.9977272,50.778018]
})
.then(res => {
// res = 'Lehmsande (ls)'
})
.catch(err => {
// handle errors
})
Returns the soil type (string, UTF-8, german) at a given point.
Point
can either be a GeoJSON point, an array of the form [lng, lat]
or a GeoJSON feature (e.g. a plot). When a plot (GeoJSON feature) is entered, the centroid of the plot is used.
Contribution is highly appreciated! If you have improvements in code quality and/or additional features just open a pull.
FAQs
Soil quality API covering Germany with data from BGR
The npm package bgr-apis receives a total of 5 weekly downloads. As such, bgr-apis popularity was classified as not popular.
We found that bgr-apis demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.