Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
tutorial:multiple_criteria_evaluation_in_dinamica_ego [2017/01/25 18:55] francisco [Third step: Calculating driving time to neighboring towns] |
tutorial:multiple_criteria_evaluation_in_dinamica_ego [2017/01/27 17:00] francisco [Sixth step: identifying suitable areas 2] |
||
---|---|---|---|
Line 275: | Line 275: | ||
The final criterion establishes that the average slope on the selected patches must be less than 0.5 degrees. Place //Load Map// and load it with ''\lesson4\originals\slope.tif''. Now revise Lesson3, as you will to need to reapply the concept of region. | The final criterion establishes that the average slope on the selected patches must be less than 0.5 degrees. Place //Load Map// and load it with ''\lesson4\originals\slope.tif''. Now revise Lesson3, as you will to need to reapply the concept of region. | ||
- | Drag //[[:Region Manager]]//, //[[:For Each Category]]//, //[[:Regionalize Map]]//, and //[[:Step]]// and insert the two latter functors within the previous and //[[:For Each Category]]// within the //[[:Region Manager]]// and connect them as follows. | + | Drag //[[:For Each Region]]//, //[[:Regionalize Map]]//, and //[[:Step]]//, insert the two latter functors within the previous and connect them as follows. |
{{ :tutorial:mce24.jpg |}} | {{ :tutorial:mce24.jpg |}} | ||
- | The map to be regionalized is the ''slope.tif''. The map output from the last //[[:Calculate Categorical Map]]// will control both //[[:Region Manager]]// and //[[:For Each Category]]//. Remember that this functor enables the model to iterate according to the map categories passed to it. Now place one //[[:Mux Lookup Table]]//, one //[[:Extract Map Attributes]]//, one //[[:Calculate Value]]//, one //[[:Number Table]]// and one //[[:Set Lookup Table Value]]//, all within //[[:For Each Category]]// and connect them as follows. | + | The map to be regionalized is the ''slope.tif''. The map output from the last //[[:Calculate Categorical Map]]// will control //[[:For Each Region]]//. Remember that this functor enables the model to iterate according to the map categories passed to it. Now place one //[[:Mux Lookup Table]]//, one //[[:Extract Map Attributes]]//, one //[[:Calculate Value]]//, one //[[:Number Table]]// and one //[[:Set Lookup Table Value]]//, all within //[[:For Each Region]]// and connect them as follows. |
{{ :tutorial:mce25.jpg |}} | {{ :tutorial:mce25.jpg |}} | ||
Line 299: | Line 299: | ||
{{ :tutorial:mce29.jpg |}} | {{ :tutorial:mce29.jpg |}} | ||
- | Finally place //[[:Calculate Categorical Map]]// after the //[[:Region Manager]]// and place //[[:Number Map]]// and //[[:Number Table]]// within it. Number them and write the following equation: **if t1[i1] > 0.5** then null else i1 | + | Finally place //[[:Calculate Categorical Map]]// after the //[[:For Each Region]]// and place //[[:Number Map]]// and //[[:Number Table]]// within it. Number them and write the following equation: **if t1[i1] > 0.5** then null else i1 |
+ | |||
+ | Save the result as ''suitable_for_a_new_town.tif'' on the lesson5 folder. | ||
- | Save the result as ''suitable_for_a_new_town.tif''. | ||
{{ :tutorial:mce30.jpg |}} | {{ :tutorial:mce30.jpg |}} | ||
Line 309: | Line 311: | ||
{{ :tutorial:mce31.jpg |}} | {{ :tutorial:mce31.jpg |}} | ||
- | Finally you just need to organize the model in a more legible layout. Place one //[[:Group]]// and drag //[[:Calc Patch Label Map]]//, //[[:Calc Areas]]//, //[[:Calculate Map]]// "Identify big areas", and //[[:Calculate Map]]// "Keep labels only for big patches" into it. | + | Finally you just need to organize the model in a more legible layout. Place one //[[:Group]]// and drag //[[:Calc Patch Label Map]]//, //[[:Calc Areas]]//, //[[:Calculate Map]]// "Identify big patches", and //[[:Calculate Categorical Map]]// "Keep labels only for big patches" into it. |
{{ :tutorial:mce32.jpg |}} | {{ :tutorial:mce32.jpg |}} |