Variable Fertilizer Zones
For a better understanding of how you can implement the API into your software see Get Started
Description
This route is used to generate variable application zones in GeoJson
to provide prescription services for fertilizer and seeding management.
Endpoints
- /prescription_maps/get_zones
Method type
POST
Parameters
name | description | type | Required | Default Value |
---|---|---|---|---|
token | Your identification token | string | required | |
field_name | Name of the field | string | required | |
type | To specify which type of service: n_fertilizer or seeding | string | required | |
n_zones | Number of zones | int | required | |
index | The index('ndvi','ndwi','chi','ndre' etc.) should the analysis be based on. The field MUST be already registred for that index. | string | required | |
date | (Only for 'n_fertilizer') Date for which the analysis should be based on. Format:YYYY-MM-DD | string | optional |
Responses
status code | description |
---|---|
200 | The request has succeeded |
400 | Bad Request or a required parameter is missing |
403 | Forbidden request |
404 | Resource was not found(No file is available for this field) |
Example Request
POST https://spacesense-api.ew.r.appspot.com/prescription_maps/get_zones?token=__myToken__&type=n_fertilizer&index=ndvi&date=2020-06-20&n_zones=3&field_name=farm_9
Example Response
{
"crs": {
"properties": {
"name": "urn:ogc:def:crs:EPSG::32632"
},
"type": "name"
},
"features":
[{
"geometry": {
"coordinates": [
[
[516096.87713129696,5015844.765313804],
[516106.9443245859,5015815.265386641],
.....
]
],
"type": "Polygon"
},
"properties": {
"DOSE": 0.0,
"RASTER_VAL": 0.294,
"ZONE": 2
},
}]
}