Go to file
2024-09-23 06:35:36 +00:00
examples updated workflow and component pages, restructure index 2020-04-08 18:49:50 +02:00
.gitignore fixed links 2020-05-07 18:43:58 +02:00
Authentication.md Update 'Authentication.md' 2021-08-26 11:13:34 +00:00
Blight-API.md Update Blight-API.md 2024-09-23 06:35:36 +00:00
Create-a-cropfield.md Add Running tasks article and various corrections 2020-04-25 17:13:54 +02:00
Create-access-token.md Adding authentication articles 2020-04-17 16:08:10 +02:00
Create-b-cropfield.md Update 'Create-b-cropfield.md' 2021-08-27 19:25:30 +00:00
Create-Cropfield.md Update page 'Create Cropfield' 2020-04-06 14:50:38 +00:00
Create-Croppingscheme.md Added croppinscheme step 2021-08-27 13:18:19 +02:00
Create-Taskmap.md Update 'Create-Taskmap.md' 2021-02-15 09:28:44 +00:00
FarmMapsLibs.md Update page 'FarmMapsLibs' 2020-02-29 16:25:58 +00:00
Integrating-FarmMaps-OIDC.md Fixing broken link, adding notes to Integrating IODC 2020-04-24 11:50:38 +02:00
Main-components.md fixed links 2020-05-07 18:43:58 +02:00
Message-Queue-Endpoint.md updated workflow and component pages, restructure index 2020-04-08 18:49:50 +02:00
Polling-task-status.md Update 'Polling-task-status.md' 2023-05-09 13:19:24 +00:00
README.md Update 'README.md' 2021-06-03 11:16:13 +00:00
Running-tasks.md fixed links 2020-05-07 18:43:58 +02:00
Shape-to-geotiff.md Update 'Shape-to-geotiff.md' 2021-04-29 07:23:07 +00:00
Upload-a-file.md fixed links 2020-05-07 18:43:58 +02:00
Upload-Data.md Update page 'Upload Data' 2020-03-20 14:30:27 +00:00
VRAHaulmkilling-API.md Update 'VRAHaulmkilling-API.md' 2021-04-29 06:34:08 +00:00
VRAHerbicide-API.md Update 'VRAHerbicide-API.md' 2021-04-29 06:32:18 +00:00
VRANbs-API.md Update 'VRANbs-API.md' 2021-04-29 06:33:34 +00:00
VRAPoten-API.md Update 'VRAPoten-API.md' 2021-04-14 17:33:58 +00:00
Workflow.md updated workflow and component pages, restructure index 2020-04-08 18:49:50 +02:00

Farmmaps Documentation Overview

The documentation is still work in progress and heavily subject to change!

This page provides an index of the available documentation for the FarmMaps platform.

Getting started

The main starting point for Farmmaps API access is the REST API. To get started, follow the steps below.
The workflow and high-level architecture FarmMaps are documented on the Farmmaps Workflow and FarmMaps Main Components pages.

Environments

At the moment, FarmMaps provides two environments for development.

When developing your application, using the acceptation environment is highly recommended.

Obtaining credentials

To get access to the API, you need an akkerweb development account (akkerweb development and farmmaps development use the same credentials). These can be created at:

It is also possible to get credentials to use the cleint credential flow, please contact FarmMaps for further information.

Once you have an account, you can create a JSON Web Token to authenticate at the API endpoint.

Authentication & Authorization flow

FarmMaps uses Open ID Connect to provide user authentication and authorization services. Open ID Connect (and OAuth beneath the surface) allows your application to access user information or data that is located at another service, without providing you the password to access the account. This is very useful if your application relies on data that needs to provided by this other service for your application to work.

So, in the authentication flow there are two parties:

  • The OpenID Provider (OP), holding the accounts database and providing the authentication services.
  • The Relying Party (RP), relying on authentication through the OP, to get access to the required data or endpoints.

The general flow (for FarmMaps) is as follows:

  • The user is at your application
  • Your application needs to access the farmmaps account of that user (i.e. to upload, modify or retrieve data)
  • Your application creates an authentication request for the Open ID Provider.
  • The user is redirected to the "Log in page" of the OpenID Provider.
  • The user logs in at the login page.
  • On succesfull login, the user is redirected back to your application and the OpenID Provider returns an access token.

Now that the user is back at your application and the application has an access token, it can then request resources from the OpenID provider. For each request, the access token needs to be sent along. This access token provides proof that the person sending the request is allowed to access the request and is who he/she claims to be. FarmMaps uses JWT as the format for the access token.

To continue please see one of the articles below:

Using the FarmMaps API

Once you have an access token, you can start querying the API.
A reference of the API can be found on the swagger page The API basics are uploading files, creating items and and running tasks to modify or convert data. For testing purposes, Postman can be used to perform HTTP requests more easily.

We provide the following guides:

Generally, tasks can be run in the same way. However, each specific task has it's own inputs and properties. How these work can be found in the use task examples below.

Task examples