AgroDataCube / api-v1

AgroDataCube API service Version 1 - A newer version is in use now.
1 stars 0 forks source link

RFC/Wish: allow own field geometry to be used as predefined fields #40

Closed zoot-inge closed 4 years ago

zoot-inge commented 6 years ago

2018 fields are not yet available in ADC. using the geomtry to retrieve e.g. soil information returns the full class item geometries without clipping. Having a choice for clipped geometries is welcomed!

robknapen commented 6 years ago

When BRP 2018 will be made available as downloadable file, we will add it to the cube.

A request like: https://agrodatacube.wur.nl/api/v1/rest/soiltypes?output_epsg=28992&geometry=POLYGON((%20164685%20451073,%20184119%20451073,%20184119%20433332,%20164685%20433332,%20164685%20451073%20))&epsg=28992&page_size=25&page_offset=0 is already possible. So you want a parameter added that controls if clipped or complete soil geometries found are returned?

zoot-inge commented 6 years ago

yep, exactly what I meant! This gives more flexibility than being dependant on BRP. If you think this is useful for a wider audience...

zoot-inge commented 6 years ago

50 (the first field returned has the best match for the supplied geometry) could also be a pragmatic solution.

yke commented 4 years ago

seesm to be solved