Prescription Files
The Prescription File service produces fertlization prescription files in two industry standard formats, shape file and ISOXML. The service uses a proprietary algorithm to produce variable rate prescription files based on a specific vegetation index and a flat rate application rate.
Usage
The processPrescriptionFile()
mutation and retrievePrescriptionFile()
query are used to generate and retrieve prescription files. They each require four arguments:
polygonId
date
rate
indexType
The date
and indexType
arguments provided to the service must be the from a previously generated vegetation index analysis. The prescription file service does not generate the vegetation index analysis if one does not already exist. When attempting to use a date and index that are not already available, the API will not return an error. Instead, the retrievePrescriptionFile()
query will return null values in the JSON result for isoxml
and shapefile
when these files cannot be produced.
mutation {
processPrescriptionFile(
polygonId: "[YOUR POLYGON ID GOES HERE]"
date: "2023-04-29"
rate: 75
indexType: NDVI
)
{
IsSuccess
Message
Status
Result {
polygonId
rate
}
}
}
query {
retrievePrescriptionFile(
polygonId: "[YOUR POLYGON ID GOES HERE]"
date: "2023-04-29"
rate: 75
indexType: NDVI
)
{
IsSuccess
Message
Status
Result {
isoxml
shapefile
}
}
}
Please refer to the Schema Documentation in the API Playground for more information.