Follow

Create a forestry collaboration application

The purpose of this exercice is to create a Data application that allows forest organization users to digitize logging polygons of logging roads. This application could be used by technicians for quality control purposes for example.

Image5.png

1) It is good practice to first create the Input Form that will be linked to the Data Source;

{
"name": "Cutover",
"browsable": true,
"editable": true,
"fade_when_editing": false,
"queryable": true,
"attributes": [
{
"choices": [
{
"label": "MD1",
"value": "M1"
},
{
"label": "MD33",
"value": "MD33"
},
{
"label": "MD54-R",
"value": "MD54-R"
},
{
"label": "MD66",
"value": "MD66"
},
{
"label": "MDP5",
"value": "MDP5"
}
],
"label": "Machinery",
"name": "no_machine",
"type": "multiselect"
},
{
"choices": [
{
"label": "CPRS",
"value": "CPRS_U"
},
{
"label": "CPRSBOU",
"value": "CPRS_U-BOUQ"
},
{
"label": "CPR-R",
"value": "CPR_BA-ENS"
},
{
"label": "CPI-RL",
"value": "CPIRL_BA-ENS"
},
{
"label": "CPI-SR",
"value": "CPIRL_U-MUL"
}
],
"label": "Process completed",
"name": "process",
"type": "select"
},
{
"label": "Presence of refuge(s)",
"name": "refuge",
"type": "checkbox"
},
{
"label": "Photo",
"name": "photo",
"type": "picture"
},
{
"label": "Notes",
"name": "note",
"type": "textarea"
}
]
}

2) Next, create the Cutover Data Source. To do this, click Create Resource [+] - New Data Source. Create a Polygon Data Source and attach it to the Form created at the previous step. Finally, add all the data fields using the previous Form.

Tip: The _name_ value of each attribute in the list must match the name of the field in ther Data Source.

Image6.JPG

3) Add automatic input fields that will simplify the work of quality control technicians:

  • user (Last Modified By)
  • mod_date (Modification Time)
  • sup (Geometry Area)

Image7.JPG

4) Create a Cutover map with the 2oct2017 raster image shared in your user account and the Cutover Data Source. Digitize a polygon.

5) Examine the data from the Cutover Data Source in your Library.

6) Since forest workers will use the App and will want to view their GPX files collected during their days on the field, we will add a control to the application to view vector files by simply dragging and dropping their GPS files. To do this:

  • Create an app with your Cutover map
  • Add the "Add temprary vector files" control

7) Test your application by dragging and dropping the GPX file (gpx_data.gpx at the bottom of the page) from your file explorer.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk