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
concept_of_region [2020/02/18 10:38]
argemiro
concept_of_region [2020/02/18 22:47]
argemiro
Line 1: Line 1:
 +{{ :​logo_logo.png?​400 |}}
 +\\
 ===== Using the concept of region ​ ===== ===== Using the concept of region ​ =====
  
Line 11: Line 13:
 {{ :​tutorial:​region1.jpg|}}\\ {{ :​tutorial:​region1.jpg|}}\\
 \\ \\
-This subset of functors permits division of a map into several regional maps, which can be input for separate models or submodels, whose parameters are customized for each map’s region. Let’s adapt the previous ​model to use the concept of regions. First open the Region Tab in the library window.\\+This subset of functors permits division of a map into several regional maps, which can be input for separate models or submodels, whose parameters are customized for each map’s region. Let’s adapt the model ''​Calc_forest_remaining_per_state''​ (You can find this model in the folder: ''​\Guidebook_Dinamica_5\Models\using_concept_of_region''​) ​to use the concept of regions. First open the Region Tab in the library window.\\
 \\ \\
 \\ \\
 \\ \\
-These functors can be combined to produce regional maps and submodels, as well as to merge the regional maps into a single map after a processing is performed. In this lesson you will learn how to retrieve the area of the remaining forest for each state; as a result each regional map will correspond to a state area. Open the model completed in the previous lesson. Select the functors within the container //​[[:​Repeat]]//​ with the Hand tool and then drag them out of //​[[:​Repeat]]//​.\\+These functors can be combined to produce regional maps and submodels, as well as to merge the regional maps into a single map after a processing is performed. In this lesson you will learn how to retrieve the area of the remaining forest for each state; as a result each regional map will correspond to a state area. Open the model the model ''​Calc_forest_remaining_per_state''​. Select the functors within the container //​[[:​Repeat]]//​ with the Hand tool and then drag them out of //​[[:​Repeat]]//​.\\
 \\ \\
  ​{{:​tutorial:​inc._it._model_17.jpg|}}{{:​tutorial:​region2.jpg|}}  ​{{:​tutorial:​inc._it._model_17.jpg|}}{{:​tutorial:​region2.jpg|}}
Line 34: Line 36:
 <note tip>​**TIP**:​ it is easier to select everything to be placed within //[[:For Each Category]]//​ and then to take only //[[:Load Map]]// and //[[:Save Map]]// out of it.</​note>  ​ <note tip>​**TIP**:​ it is easier to select everything to be placed within //[[:For Each Category]]//​ and then to take only //[[:Load Map]]// and //[[:Save Map]]// out of it.</​note>  ​
  
-Now break the link between //[[:Load Categorical Map]]// and //​[[:​Calculate Map]]// (use the Remove Items tool and click on the arrow connecting both functors); next, connect the first to //[[:Region Manager]]// and to //[[:For Each Category]]//​ too. This map will control the regionalization process splitting the other maps into several regions according to its cell classes or categories through the functor //​[[:​Regionalize Map]]//. Drag this functor and place it within //[[:For Each Category]]//,​ break the link between Map ''​brazilian_amazon_lanscape.tif''​ and //​[[:​Calculate Map]]// and finally connect the first to //​[[:​Regionalize Map]]//​.  ​+Now break the link between //[[:Load Categorical Map]]// and //​[[:​Calculate Map]]// (use the Remove Items tool and click on the arrow connecting both functors); next, connect the first to //[[:Region Manager]]// and to //[[:For Each Category]]//​ too. This map will control the regionalization process splitting the other maps into several regions according to its cell classes or categories through the functor //​[[:​Regionalize Map]]//. Drag this functor and place it within //[[:For Each Category]]//,​ break the link between Map ''​brazilian_amazon_lanscape.tif'' ​(You can find this map in the folder: ''​\Guidebook_Dinamica_5\Database\using_concept_of_region''​) ​and //​[[:​Calculate Map]]// and finally connect the first to //​[[:​Regionalize Map]]//​.  ​
  
 {{ :​tutorial:​region6.jpg |}}\\ {{ :​tutorial:​region6.jpg |}}\\
 \\ \\
 Note that there are two //[[:Number Map]]// functors disconnected within //​[[:​Calculate Map]]//. You do not need the Map #2 and Value #1 anymore, so delete them. Now connect //​[[:​Regionalize Map]]// to Map #1. Open the [[:​Save ​ Note that there are two //[[:Number Map]]// functors disconnected within //​[[:​Calculate Map]]//. You do not need the Map #2 and Value #1 anymore, so delete them. Now connect //​[[:​Regionalize Map]]// to Map #1. Open the [[:​Save ​
-Lookup Table]] functor and change the file name to ''​remaining_forest_extent_per_state''​. Make sure it will be saved into folder ​lesson3.\\+Lookup Table]] functor and change the file name to ''​remaining_forest_extent_per_state''​. Make sure it will be saved into folder ​''​\Guidebook_Dinamica_5\Models\using_concept_of_region''​\\
 \\ \\
 {{ :​tutorial:​region7.jpg |}}\\ {{ :​tutorial:​region7.jpg |}}\\
Line 48: Line 50:
 {{ :​tutorial:​region5.jpg |}}\\ {{ :​tutorial:​region5.jpg |}}\\
 \\ \\
-Finally save the model as a new file ''​my_calc_forest_remaining_per_state_using_subregions.xml''​ into folder ​Region_Lesson ​and run it.\\ +Finally save the model as a new file ''​my_calc_forest_remaining_per_state_using_subregions.xml''​ into folder ​''​\Guidebook_Dinamica_5\Database\using_concept_of_region'' ​and run it.\\ 
 \\ \\
-Compare this model’s output with the result from the previous lesson. Do they match? ​Can you explain how this model works?\\+Can you explain how this model works?\\
 \\ \\
 Observe that you did not need to segregate the information per state in //​[[:​Calculate Map]]// because //​[[:​Regionalize Map]]// already did it. Observe that you did not need to segregate the information per state in //​[[:​Calculate Map]]// because //​[[:​Regionalize Map]]// already did it.