# Differences

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

 lesson_6 [2019/09/05 13:34]britaldo lesson_6 [2020/02/19 16:37] (current)argemiro Both sides previous revision Previous revision 2020/02/19 16:37 argemiro 2020/02/11 21:21 hermann 2020/02/11 21:19 hermann 2020/02/10 21:38 argemiro 2019/09/05 13:38 britaldo 2019/09/05 13:38 britaldo 2019/09/05 13:34 britaldo 2019/09/05 13:34 britaldo 2019/08/30 23:38 argemiro 2019/08/13 14:04 argemiro ↷ Page name changed from lesson_7 to lesson_62019/08/13 14:04 argemiro 2019/07/09 19:53 argemiro ↷ Page name changed from lesson_4 to lesson_72019/07/09 19:53 argemiro 2019/07/09 14:15 argemiro created Next revision Previous revision 2020/02/19 16:37 argemiro 2020/02/11 21:21 hermann 2020/02/11 21:19 hermann 2020/02/10 21:38 argemiro 2019/09/05 13:38 britaldo 2019/09/05 13:38 britaldo 2019/09/05 13:34 britaldo 2019/09/05 13:34 britaldo 2019/08/30 23:38 argemiro 2019/08/13 14:04 argemiro ↷ Page name changed from lesson_7 to lesson_62019/08/13 14:04 argemiro 2019/07/09 19:53 argemiro ↷ Page name changed from lesson_4 to lesson_72019/07/09 19:53 argemiro 2019/07/09 14:15 argemiro created Line 2: Line 2: \\ \\ \\ \\ - ====LESSON 6: Extracting the attributes and calculating basic statistics from a map on Dinamica EGO====  ​ + ====LESSON 6: Extracting the attributes and calculating basic statistics from a map====  ​ \\ \\ In this lesson we would like to demonstrate some details on how Dinamica EGO extracts the attributes and calculates basic statistics from a map, creating a table that contains these extracted attributes. ​ In this lesson we would like to demonstrate some details on how Dinamica EGO extracts the attributes and calculates basic statistics from a map, creating a table that contains these extracted attributes. ​ \\ \\ \\ \\ - **Which Functors will you use in this lesson?** Load Map, Extract Map Attributes and Decorate Map Attribute Table + **Which Functors will you use in this lesson?​** ​[[Load Map]], [[Extract Map Attributes]] and Decorate Map Attribute Table \\ \\ <​note>​ <​note>​ - Decorate Map Attribute Table layers ​is stored in the Dinamica Store. To install it go to Tools >> Submodel ​Manager >> ​Store. + Decorate Map Attribute Table is a submodel (more about that later) and it is stored in the Dinamica Store. To install it go to the menu Tools >> Submodel Store, search for ''​Decorate'',​ select the Decorate Map Attribute Table submodel and click on the Install button at the bottom of the Submodel Store window. ​ \\ \\ - **Here, we will use**: The air_temperature raster layer ''​Dinamica EGO\Guidebook Dinamica_4\Database\Climate_bh\air_temperature.tif''​ + **Here, we will use**: The air_temperature raster layer ''​Guidebook_Dinamica_5\Database\Climate_bh\air_temperature.tif''​ \\ \\ \\ \\ Line 19: Line 19: \\ \\ \\ \\ - First, click on the Input/​Output tab, grab and place on the sketch one Load Map and open the air_temperature.tif file. Next, click on the Map Algebra tab, place on the sketch one Calculate Map container. Additionally,​ click on the Map Algebra tab and place one Extract Map Attributes and one Decorate Map Attributes Table. + First, click on the Input/​Output tab, grab and place on the sketch one [[Load Map]] and open the air_temperature.tif file. Next, click on the Map Algebra tab, place on the sketch one [[Calculate Map]] container. Additionally,​ click on the Map Algebra tab and place one [[Extract Map Attributes]] and one Decorate Map Attributes Table. \\ \\ \\ \\ Line 25: Line 25: \\ \\ \\ \\ - Now you can connect the functor Load Map to the Extract Map Attributes ​container ​and the container ​Extract Map Attributes to Decorate Map attributes Table. A Connect Ports window should pop up, connect Attributes to Attribute Lookup Table. + Now you can connect the functor ​[[Load Map]] to [[Extract Map Attributes]] and [[Extract Map Attributes]] to Decorate Map attributes Table. A Connect Ports window should pop up when making the last connection, connect Attributes to Attribute Lookup Table. \\ \\ \\ \\ - Click once on the Decorate Map Attribute Table to prompt the functor toolbar, then, click on the eye icon - Inspect functor. Inside the functor viewer window that will pop up, click on the eye icon - Inspect port output, this will mark the port for inspection. You can close the window ​and save and run the model. + Click once on the Decorate Map Attribute Table to prompt the functor toolbar, then click on the eye icon - Inspect functor. Inside the functor viewer window that will pop up, click on the eye icon - Inspect port output, this will mark the port for inspection. You can close the window, save and run the model. + \\ The final model will look like this: The final model will look like this: \\ \\ Line 45: Line 45: \\ \\ \\ \\ - ☞[[:lesson_5 ​| Next Lesson]] + ☞[[:lesson_7 ​| Next Lesson]] \\ \\ ☞[[:​guidebook_start| Back to Guidebook Start]] ​ ☞[[:​guidebook_start| Back to Guidebook Start]] ​