AgroDataCube / api-v1

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

Inconsistent types used for property soilparamid in requests #41

Closed robknapen closed 6 years ago

robknapen commented 6 years ago

Het request: http://agrodatacube.wur.nl/api/v1/rest/fields/1/soilparams geeft in de properties een soilparamid van type String terug. Maar bijvoorbeeld het request: http://agrodatacube.wur.nl/api/v1/rest/soilparams/303 gebruikt een integer type voor soilparamid.

yke commented 6 years ago

In the db the type of soilparamid is a numeric(10,0), when being accessed from the JDBC resultset the type is a BIGDecimal not integer or float.

Changed formatters

zoot-inge commented 6 years ago

...return type testen in geojson formatter

yke commented 6 years ago

In the db the type of soilparamid is a numeric(10,0), when being accessed from the JDBC resultset the type is a BIGDecimal not integer or float.

Changed formatters