Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
lesson_4 [2020/02/10 22:44]
admin [LESSON 4: Opening and Saving maps on Dinamica EGO]
lesson_4 [2020/02/19 16:32] (current)
argemiro
Line 2: Line 2:
 \\ \\
 \\ \\
-====LESSON 4: Opening and Saving maps on Dinamica EGO====+====LESSON 4: Opening and Saving maps====
 \\ \\
-==In this lesson we would like show how to load a map and save it to a different file format ​using Dinamica EGO.==+==In this lesson we show how to load a map and save it to a different file format.==
 \\ \\
-**Which ​Functors ​will you use in this lesson?** Load Map and Save Map+**Which ​functors ​will you use in this lesson?​** ​[[Load Map]] and [[Save Map]]
 \\ \\
 \\ \\
Line 15: Line 15:
 \\ \\
 \\ \\
-There are two ways to load a raster file into Dinamica EGO. The first is through the functor ​Load map”. To do so, click on the Input/​Output tab from the Library window, drag a Load Map” and place it on the sketch:+There are two ways to load a raster file into Dinamica EGO. The first is through the functor ​[[Load Map]]. To do so, click on the Input/​Output tab from the Library window, drag a [[Load Map]] and place it on the sketch:
 \\  \\ 
 \\ \\
Line 21: Line 21:
 \\ \\
 \\ \\
-Double click the Load Map Functor ​in the model sketch, click on the file icon to browse to the folder ''​Guidebook_Dinamica_5\Database\Climate_bh\''​ and select the air_temperature.tif file. Click OPEN and then OK to choose the map that will be loaded when the model runs.+Double click the [[Load Map]] functor ​in the model sketch, click on the file icon to browse to the folder ''​Guidebook_Dinamica_5\Database\Climate_bh\''​ and select the air_temperature.tif file. Click OPEN and then OK to choose the map that will be loaded when the model runs.
 \\ \\
 \\ \\
Line 35: Line 35:
 </​note>​ </​note>​
 \\ \\
-To view the loaded map, double click on your Load Map functor and then click on the eye button. The map will be opened in Dinamica Map Viewer. Click on the down arrow next to the map name on the map list inside of the map viewer, then click on the Histogram icon to adjust the visualisation ​of the map. Select “Limits to Actual” inside the “Limits” options and then choose one of the transformations options. The following image depicts a map with an “Equalize” transformation: ​+To view the loaded map, double click on your [[Load Map]] functor and then click on the eye button. The map will be opened in Dinamica Map Viewer. Click on the down arrow next to the map name on the map list inside of the map viewer, then click on the Histogram icon to adjust the visualization ​of the map. Select “Limits to Actual” inside the “Limits” options and then choose one of the transformations options. The following image depicts a map with an “Equalize” transformation: ​
 \\  \\ 
 \\ \\
Line 42: Line 42:
 \\ \\
 \\ \\
-Another way to load your map into Dinamica EGO is to drag the raster from the source folder to the Sketch. Doing so, Dinamica EGO will ask which functor would you like to use, select ​Load Map” and click "​Close"​. ​+Another way to load your map into Dinamica EGO is to drag the raster from the source folder to the Sketch. Doing so, Dinamica EGO will ask which functor would you like to use, select ​[[Load Map]] and click "​Close"​. ​
 \\  \\ 
 \\ \\
Line 48: Line 48:
 \\ \\
 <note tip> <note tip>
-To make the model more intelligible,​ you can name, comment ​on the functors and change their colors. For this, click on the balloon button in the functor action bar.+To make the model more intelligible,​ you MUST name aliasadd comments ​on the functors and change their colors. For this, click on the balloon button in the functor action bar.
 </​note>​ </​note>​
 \\ \\
 \\ \\
-**Now, we will learn how to save a map.** From the Input/​Output tab on the Library window grab a Save Map functor and place it on the sketch. In this example we will save the “air_temperature” to another file format. To do so, click on the lightning button in the functor action bar and connect the arrow to the Save Map functor. ​+**Learn how to save a map.** From the Input/​Output tab on the Library window grab a Save Map functor and place it on the sketch. In this example we will save the “air_temperature” to another file format. To do so, click on the lightning button in the functor action bar and connect the arrow to the Save Map functor. ​
 \\ \\
 \\ \\
Line 59: Line 59:
 </​note>​ </​note>​
 \\ \\
-Open the Save Map functor and click on the file icon. Note that you have to choose the desired ​file path and map format. Let’s choose “.ers”. Now, select a path to save your map and name your new file. We suggest to browse to ''​Guidebook_Dinamica_5\Models\Set_1\basics\1_load_save''​ and write the file name “temp_bh.ers”.+Open the [[Save Map]] functor and click on the file icon. Note that you have to choose the file path and map format. Let’s choose “.ers”. Now, select a path to save your map and name your new file. We suggest to browse to ''​Guidebook_Dinamica_5\Models\load_save''​ and write the file name “temp_bh.ers”.
 \\ \\
 \\ \\