Value at Location
Description
This route is used to get the value of an index on a specific location in a field.
Endpoints
- /value_at_location
Method type
GET
Parameters
name | description | type | Required | Default Value |
---|---|---|---|---|
token | Your identification token | string | required | |
longitude | longitude coordinate of the location you want data from | string | required | |
latitude | latitude coordinate of the location you want data from | string | required | |
field_name | Name of the field | string | required | |
index | name of the index you want to get data from (ex: ndvi, ndre, etc..) | string | required | |
date | date you want the data from | string | required |
Responses
status code | description |
---|---|
200 | The resource has been fetched and is transmitted in the message body |
400 | The server could not understand the request due to invalid syntax |
403 | Forbidden request |
404 | The server can not find the requested resource |
Example Request
GET https://spacesense-api.ew.r.appspot.com/value_at_location?token=__myToken__&longitude=8.509705066680906&latitude=45.024478386329505&field_name=39072&date=2020-08-01&index=ndvi
Example Response
{
"value": "0.618"
}