This tutorial describes how to prepare and launch a sample Smart M.App - Weekly NDVI Browser. You can read the story behind this application here: Order third party content from your Smart M.App.
In this tutorial you will learn how to:
All these steps are executed automatically and require minimal input by the user. The app’s goal main goal is to greatly simplify the process of visualizing changes in vegetation as time progresses. This is achieved by:
To begin with preparing the application, please follow this Bitbucket link where its 4 source files of located.
|NDVI-Browser-Model.json||NDVI recipe responsible for generating NDVI analysis|
|NDVI_Browser_External_Libs.txt||List of external libraries|
Once you are in M.App Studio, use the Import tool from the top panel and select previously downloaded NDVI-Browser-Model.json model file.
Please ensure that model name is NDVI-Browser-Model. This is very important as the application is selecting which model to use based on its name. As a final step of that section, Save the model.
Go back to the M.App Studio and open Smart M.App Wizard using top menu buttons.
As a first step, please specify a name for the Smart M.App. In this tutorial we are using the name: Weekly-NDVI-Browser. Switch to the Build tab and drag&drop Map panel on the center of the workspace.
Describing how to create a map is not within the scope of this tutorial, so please create a simple map or use one of your existing ones.
Once your Map panel is configured properly continue to the Customize section.
Copy and paste customisations provided from the Bitbucket repositories.
Once you have completed the steps above, you can Save your Smart M.App, and you are ready see it in action.
In order to launch the application, you can use the Preview button on the top of the Smart M.App Wizard screen or go back to M.App Studio and use the Launch button from the application list.
Now you can start using NDVI application. Here is a short description of the interface:
To generate NDVI analysis for the selected week use Get Imagery button.
After few moments you should be able to display result.
We hope that this simple tutorial describes every required step. If you have any questions, please leave your comment below.