Closed robknapen closed 2 years ago
On march 28 this result returned
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"geometry": null,
"properties": {
"sum": 499788370,
"mean": 904.7908505014664,
"min": -9999,
"max": 6191
}
}
]
}
Singele sum so it is solved.
Min is still -9999 (nodata?) and the mean has tooooo many digits...
Isn’t the sum a useless property and better left out of the result?
Replace the result this by a geotiff
is case for reproducing and expected behaviour clear enough?
http://localhost:8084/api/v1/rest/ahn?geometry=polygon((174098.355412451 444323.980737271, 174098.355412451 449323.980737271, 179098.355412451 449323.980737271,179098.355412451 444323.980737271,174098.355412451 444323.980737271))
Resulted in
{
"type": "FeatureCollection",
"features": [{
"type": "Feature",
"geometry": null,
"properties": {
"area": 2.5E7,
"mean": "2875.168",
"min": -9999.0,
"max": 5534.0
}
}]
}
he min -9999 is due to the resources used. To be solved.
Replace the AHN raster by the AHN2_5m raster,
For api/v1/rest/ahn?geometry=polygon((174098.355412451 444323.980737271, 174098.355412451 449323.980737271, 179098.355412451 449323.980737271,179098.355412451 444323.980737271,174098.355412451 444323.980737271)) that returns
{
"type": "FeatureCollection",
"features": [{
"type": "Feature",
"geometry": null,
"properties": {
"area": 2.5E7,
"mean": 29.464,
"min": 9.152000427246094,
"max": 55.87200164794922
}
}]
}
Incomplete? Moving to next milestone.
Should be solved in V2
The request:
Returns this response:
Looks like a number of issues, e.g. geometry is null, instead of the geometry specified in the request. There are two "sum" keys in the properties, one has a text value. And the "min" value is -9999.0, which I guess is the No Data value instead of a real altitude. The "mean" value is expressed with too many digits (beyond the actual accuracy of the height).