Upload Files with the GeoPard API
The recommended approach for files over 6 MB is the pre-signed URL flow.
GeoPard API allows uploading zip archives with soil/yield/applied/boundary datasets for further processing and analytics.
Due to an AWS limitation, the maximum file size you can upload through this REST endpoint is 6 MB.
Upload steps for files over 6 MB are described in Upload zip files (over 6 MB).
Right after the successful upload of the soil/yield/applied dataset, the GeoPard engine links it to the related fields located inside the defined farm.
Right after the successful upload of the boundary, the GeoPard engine initializes its processing.
The response contains a <uuid> that you can use to track processing status.
Request sample:
curl --location --request POST 'https://api.geopard.tech/upload?fileType=<type>&farmUuid=<farm_uuid>' \
--header 'Authorization: <token>' \
--header 'Content-Type: application/zip' \
--data-binary '@path/to/file.zip'The parameters are:
<type>- type of the uploaded dataset. It must be ayieldORsoilORappliedORboundary.<farm_uuid>- theuuidof the Farm where the file will be uploaded (Optional).<token>- GeoPard access token.@path/to/file.zip- the path to the file being uploaded.
Last updated
Was this helpful?