The Transcript of Video 2a: https://youtu.be/LvXw0uty3zQ
Introduction and Project Layer Setup
0:00
Grouping QGIS Layers into Phases
Let's proceed with the analysis by carrying out the phase two of this methodology workflow. Before I start anything on this phase 2, let me quickly switch back to QGIS and then organize my layers in groups. So, uh this is where we left off in the first part. Uh that's, uh the face one. So, I'm going to group all of this layer into one uh uh group as a face one. So, I'm going to click on add group to create a group. So, I'm going to call this group face one. Then, I will move all of these layers into that group. So select all of them by holding the shift button to select all the layer. Then drag and drop it the group. So as you can see we now have one group for this. So next let me quickly create the remaining uh two groups for the remaining uh faces. So we have our phase two, phase three and then phase four. So let's do that. So create another group. Unfortunately, the group found it way as a subgroup. So, I will just rename it to face two. So, all the layers we are going to work on, we'll be saving this group. So, I'll still create the third group should be outside and then the fourth group. So, this should be group four while this should be group three. That's a face three, sorry. So, we now have all our four faces as group layers. So, all the layers in phase two, I'm going to save it under this group called phase two. The same thing for phase three and phase 4. So, this is a way to organize our layers. Then, let me go back to the methodology workflow.
2:11
Methodology Workflow and Data Format Clarifications
The next thing [clears throat] I will do before I start working on this phase two is actually to make uh some clarifications. So uh as you can see I did not uh perform anything on this step four in phase one and as I've explained earlier that uh the reason was because all my input layers if I go back to QGC you see that all my raw input layers were actually vector layers. They were in vector format. So there was no necess there was no need to perform that very uh step because all the input layers were in vector format. So had it been we had uh some uh input layers that are in the form of raster then that is when we can perform this uh alignment on. And the one interesting thing you need to know is that if the input layers were in raster or some of them were in raster. So those input layer that were in raster we are not going to perform the next step in v2 that is uh step number 5 a up to somewhere uh at a step number seven. So if the input layers were in raster, we are not going to perform step 5 A, 5 B, 5, 6 and 7. This is because the criteria factor is already in raster. So all we need to do is to make sure that the grids are aligned to each [clears throat] other and then there's nothing like vector to raster conversion. It is because the layers we're working on presently are all in vector layer. That's why we have to do this vector to raster conversion. Had it been we are working on a different phenomena like uh in the case of a flood sustainability or erosion soil eration sustainability or like rainfor harvest suitability mapping then definitely some of the layers or even all of the criteria layers we are going to be working with will be in a raster format. So and uh if you have them in raster format then there's nothing like a vector to raster conversion that is step 5 a there's nothing like a background in field that's a field no data says that's step 5b and then we will not be calculating anything like proximity modeling that's distance computation we will not be doing anything like extent centralization and special truncation so all will be skipped If the data source are in raster format from phase one. So but since they are all in vector format so we need to perform this very step in this phase 2 from step five a 5 B 6 7 8 we are going to use QG's for that. Then step 9 through step 9E we are going to make use of uh Microsoft Excel. So we could have also used QGS for this but I decided to make use of Microsoft Excel because I feel that it is easier to explain the uh pair wise uh matrix calculation using the certain method in Excel than using a QS.
Vector to Raster Conversion (Burn Rasters)
5:43
Overview of Step 5A Vector to Raster Conversion
First thing first let's start with with the uh step 5E. So if you go back to cuis so we now see that we have uh our layers organized and then let me open up the uh word document the methodology. So step 5 a we have to perform vector to raster conversion and future b. So the reason why we have to do this is because in a multiriteria decision analysis or multiriteria evaluation the final overlay of these criteria factors has to be in raster. So we need to convert all our layers to raster format so that we now use them in the raster to perform the weighted overlay as we are going to see in the uh subsequent uh video. But for now let's perform the steps. So recall as I've mentioned if your raster if your data sources were in raster format you will not be performing this. The point I'm trying to make is that if your your source data set are in raster, so you will not be performing this step. But if your source data set are in vector format, then you have to perform this set. You have to convert them to raster before you can perform weighted overlay on them in the raster calculator. So let's proceed. The first uh thing we are going to do is to convert all of these criteria factors. Remember uh the water body is not part of the criteria factor. It's actually a constraint. That's a a binary mask. Let me let me rename it so that it doesn't confuse you. If you have watched the earlier part of the video, you should [clears throat] understand what I'm saying. So this is a this is a binary max. So we also going to convert it to style later on. But I just want to make sure that the names are well. So let me take it to the bottom. Then this let me remove the two so that the name will be consistent. Uh rename layer. So I just leave it at as roots. So now we can actually start with the pooling unit. Let me take it up.
7:56
Rasterizing Polling Unit Layer
So cooling unit. So I'm going to convert this to raster. So to convert it to raster I need to go to you need to go to raster conversion rasterize vector to raster. So you go to the raster menu and then conversion then rasterize. So from the window that opens up you will see the uh vector to raster conversion tool and the interface will look like this. So the input layer is going to be the point layer that's the pooling unit. Then the field. So the field you can actually make use of a particular field for this conversion but in this case we are not creating the raster based on a particular field. Instead we want to burn the raster to once. So we burning the raster to a fixed value of one. So what this means is that everywhere there is a point let me let me actually go back and then explain what I'm about to do so that it will be clear. Okay. So these are the pooling unit. So what we are trying to do, we're trying to convert this point layer into raster so that we'll be able to use it in the weighted overlay computation in in the in step three and that is the whole essence of uh multiriteria decision evaluation or decision analysis. So to do that we need to first of all convert the vector to raster by creating the a feature bomb for the raster. So what we are going to do is wherever we have this point we want the point to be register as one on the raster and then any other place will have no value. So and to do that the first thing you need to do is to go to raster and then go to conversion then go to rasterize vector to raster. So we are starting with the first point we are starting with the first layer which is the pooling unit. We are going to do the same thing for the remaining four criteria layer that's the historical uh risk incident point uh existing security infrastructure and then the road uh uh network. So maybe as I walk you through the process you understand better. So the first thing is make sure the input layer is set to point unit. Then uh as I mentioned earlier we are not using any future from this vector layer for the bone. Instead we are using a fix value of one. Then the output raster size you make sure that you set it to your reference unit. And that is that was the reason why we have to uh repro all the layers to uh WGS uh UTM is 32°. So make sure you you are selecting your reference unit here under the output raster unit. Then the width or horizontal resolution of the raster that will be created. So here you can make use of any uh number but preferably it should it should it should it should be a number that uh that is reasonable that the raster that the pixels will not be too big for the stud area or too small for the stud area. If it is too small for the study area if you're using smaller pixel size it means the raster the raster file is going to be very large and very heavy. And if you're using a too big uh too large uh uh width for the resolution, it means uh you're not going to have uh much details on the raster. So uh for this very study area uh 10 m resolution for both uh vertical and horizontal resolution is fine. If we could have used a 30 m resolution or any other uh size like 100 by 100 or uh 200 by 200 or whatever but 10 m resolution was okay for this study area. So if you if you're working on a very large study area so using 10 m resolution may be too dense. So you can maybe increase the size to maybe 30 30 m resolution or 100 m resolution. Then the next uh output extent. So for the output extent I'm going to calculate it from the AMA study area. So I don't want the extent to go beyond the AMA study area. So I'm going to select AMA stud area here. Then assign no data value to the output band. So here we can assign no data value. We can assign a huge number uh from let's say something like uh 999999 or positive 99999. You just make sure that you assign a number that is going to be outside the range of uh the created raster. But for now, let me just leave it uh blank since it's optional. Then uh for the advanced tool the profile you set the profile to high compression 29. Then the output format output data type you can actually leave it on float 3232 or you can make use of any of this but just make sure that you are using the same uh output data type for all your uh conversion all your criteria. Yes. So with that selected then the next thing I need to do is to set the output file. So for the output file I will click on this button and then click on save. Then navigate to where then I will navigate to uh phase two folder. So here I will create a new folder. I will name it 01 and then I'll call it uh bone bone raster. So all the bone raster will be saved here. So I'll open it and then type in the name of the layer. The name of the file I'm going to use the name of the layer for the name of the file. So remember we are working on the bowling unit. So I'll simply type in bowling units here. Let me actually add the words born so that it will not it will not confuse us later on when we are when we have different layers in the layer panel. to polyunit bonds polyunit bomb raster to save. Then you go down and then click on uh run. [clears throat] So this will process and then create the bone raster. So it is it has finished processing and then it has added it into phase one uh group but we need to make it under phase two. So I'll just click drag it and release it on face two so that it will be grouped under phase two. I don't want it to uh be inside the phase one. We are done with phase one already. Now we in phase two. So you can see it has created the pulling unit bone raster but it doesn't contain it doesn't look as if it's doing much now because this is not the final thing we need to do after creating the bomb we need to go to 5B [clears throat] and then fill it then go to number six steps number six and then create the proximity uh model that's the equilidian distance computation So but before I do that let me make use of the existing uh uh window that is open for the conversion to quickly convert other vector layers that's the remaining three criteria layers.
15:59
Rasterizing Remaining Criteria Layers
So remember we just did for uh pooling unit. So all you need to do is just change the input layer. So the next layer we're going to do is uh let's do for his historical risk incident point. So I'll select it if you have not forgotten is is here like this. So let's open it back. So historical risk incident point as the new input layer. So all of these settings will remain the same. Yeah. The output raster the the fixed value to be born is still one. The output raster unit is your reference unit. The width or the horizontal resolution and the vertical resolution are still 10 m. The output extent is the same extent and then every other setting is the same. Then the file name we need to rename the file. So I'll click on save to file. Then instead of a pool unit I will now [snorts] have a new file name as existing security. No I think uh what we are doing is a historic uh incident point. So let me go back and check to be sure. Yeah. So the input file is historic incident point. So make sure you you are saving the file on the right knee. So historic historical risk incident incident point. So I'll call it bone so that I will know that this is a is just a bone file. So historical risk incident point B. So save [clears throat] then I'll click on run. So this will run and generate the B raster for the historical decent point. So I'll quickly go back change it to change the input layer to uh existing infrastructure. So remember you are selecting you still selecting the uh vector layer from phase one. So we have done for pooling unit historical risk incident point and then now we are now doing for existing infrastructure existing security infrastructure. So all the settings will remain the same. Everything will remain the same apart from the fing. Uh there is uh something that you may have noticed. If you notice I'm doing uh something like a repetitive uh work infrastructure. So if you notice you see that I'm doing like the same uh processing on multiple layers. So I could have used uh this uh run as batch process to do that but I don't want to complicate the process. That's why I'm doing it one after the other so that uh it will make sense especially for somebody who is not too very familiar with QGIS run as batch processing. So I could have used this batch processing to do that and then run it on all the layers at once. But let's do it one by one so that it will make sense to uh some of us that are not very composite with that. So this is for the third layer existing security infrastructure and make sure that the layer name is set correctly. So all the other settings are still the same. So I'll click on run. So this will create another B uh raster for that layer. So I'll go back and then do the same for the last uh vector layer which is the root. So the root then all the settings will remain the same only the file name will change. So I'll go back and then I'll select uh I will enter the name road network and then I'll add bomb at the end. so that I know that it's a B raster file. So make sure that the input layer is set to root. Yeah. So click on run and then it should create the B raster. So while it's working, let's go back to the Microsoft Word document. So all we did now is just this uh step 5 A. Then we now need to go to step 5B. And at this step we need to feed in uh host within the raster. So it's a very crucial step to do uh when you are doing uh multiriteria decision analysis in in GIS. So now we are done with this. We can now close this and then let me collapse the layers before I I explain what we need to do in the next step. So these are the four criteria layers and then as you can see we have them just like that.
Filling No Data Holes in Rasters
21:26
Purpose of Fill No Data Step
So all these are born raers and then we need to move to the next step which is this 5B to fill the raster. So we are going to fill holes. So on the RA if there is any place that has no data and uh the software or the QGIS algorithm leaves a hole there. So when you are doing a multiriteria with overlay it is expected that when the raster calculator is performing the multiriteria overlay uh when there is a hole and then there is a value on the corresponding raster then the hole will usually uh cause miscalculation within the uh raster calculator. So it's a good practice to actually fill the hole within the raster file. So let's see how we can fill the hole for all the raster files. To fill the hole in the raers, you go to the raster menu, then analysis, then fill no data. So quickly go back.
22:35
Executing Fill No Data for All Criteria Rasters
So here I'm going to start. Let's start with the pooling unit. So we're going to make use of the burn uh raster file. So you go to the raster menu then uh analysis and then field no data. So from here let me expand it. So from here the input layer you select the bone raster files. So I'm going to start with the unit. Then the maximum distance in pixel to search for interpolation. Here by default is it is set to 10. Let's leave it at that. Number of uh smoothing iteration I can leave it on default. Uh validation marks you can leave that one to default. Then uh for the advanc parameter I usually set to high compression and uh the values are 21 and 9. Then the output file the output file name I can now set it to the file name. So here I'm going to call it pulling unit but instead of buns instead of bone I will now call it uh uh feed. So feed no data. So fill no data. Then I'll click on save. So what this what this will do is to fill wherever there's no data on the raster file and that is the exact file we are going to use for the calculation of idian distance. So I'll click on run and then to process it and save it in the project folder. So it is complete and then we now have uh the poly unit field no data. So then the next uh layer will be uh let's do for the historic uh risk incident point. So I'll select the bond file. So you can see the reason why I have to add the B to the name so that it will be easier for me to identify which file is which. So all the settings will remain the same apart from the file name. So I'll go back save the file. So we are looking at the historic incident point. So instead of B I will change it to F no data. So I'll click on save. So historic incident point and then historical risk incident point. So I click on run to create the fill raster. So this will run and then fill holes within the raster. So it is complete. Let's actually minimize some of these layers. So I can start I can remove some of these that are not uh needed. Like this cooling unit we have already filled it. So we can remove the bone raster we don't need it anymore like uh the historical incident point historical risk incident point we can remove the bone we don't need it then uh the next thing now we need to do is uh the existing security infrastructure bond we need to create the field raster so I'll go back here and then I'll change the input layer to existing infrastructure bomb then the output file name I'll rename it to existing infrastructure field no data then click on save existing security infrastructure field no data and then the input is existing infrastructure bone so click on run so this will create the f raster for that very uh raster bond file so The last one will be for the road network bomb. So I'm going to fill the bone file to created the uh field node data uh raster file as we have done for the other criteria. So it is done. So I can remove the pawn file. You don't need it anymore. Then the last one is this road network. So I'll go back to parameters and then select road network bomb. All the settings will remain the same and then the file name will change to change to road network. So instead of born I will change it to uh field no data. Then click on save. Then cross check the input file name and then the output file name. Make sure that they are correct and then click on run. So this is the last one. So recall I mentioned earlier that we can make use of this uh run as batch processing but I don't want to make things complicated. That's why I'm doing it uh one after the other. But definitely if you have uh more criteria layers to work on like there are some analysis that you can have like up to 10 or 15 criteria layers to work on. So it would be a good idea to actually make use of this on batch processing instead of doing it one after the other. So but this is a video tutorial for learning. So I'm taking it one after the other. the knowledge or the idea will really sink into the viewers's mind. So we are done with the last uh field load data. So I'm going to remove the road network bomb. We don't need it anymore. So next if you look at the raers are appearing you can see is the road network is actually showing very well because the rows are much but others are there but you not see them clearly because they are very tiny. So but the next step will actually make sense to you.
Proximity Modeling (Euclidean Distance)
28:48
Overview of Proximity Distance Calculation
So if you check the methodology workflow [clears throat] we are we are done with this. We have done the field no data sets and then what we need now is to calculate the gradient distance to produce uh the proximity model. So if you check uh the working document we are now at a step six. So to achieve this we need to go to raster menu analysis and then proximity distance. So this will calculate the proximity distances from the features.
29:27
Generating Proximity Raster for Polling Units
So let's go back to QGS and then we're going to start with the pooling unit. So if I if I go to raster uh analysis and then I will now select proximity raster distance. So this will calculate the gradient distances from the future to the extent we are going to select which is the amaka boundary in this case. So let me expand the window. And then the input layer is going to be the pooling unit field no data. So you can see this is the uh raster file for the building unit that has the holes field. Recall the bones I remove them to avoid confusion. If I did not remove them all the bones raster file will also appear here which will be confuse us and uh we may end up choosing the wrong file here. So the file you are going to use here is the feed the file you that the host feed the set that have host feed. So and then we are starting with the pooling unit field no data with the input file selected the list of target pixels. So remember uh when we are creating the uh bone file the target pixels was one. So you need to use one here too. Then the the distance unit remember we have referenced the uh criteria right from PH one where we converted it to where we reproed the layers to UTM zoom 32° KN. So make sure the distance unit is set to reference air coordinate. Then the maximum distance to generate you can leave it optional. Value to apply pixel within the maximum distance is also optional. No data value. So uh here too you can leave it optional but if you want you can actually set it to a range that actually is outside the data set you're using. So like in my data set I know that there won't be any value that is uh 999999. So I can set it as uh the uh no data value used for the destination proximity raster. Uh then uh what is again then the advanc profile I set it to high compress. Then the float the output data type I can leave it on float 32 or you can change it to any other one but make sure that you are setting to the same output uh data type for all the criteria. Then the last step is uh to save it. So the file is uh cooling unit. So I'm going to save it as cooling unit. uh maybe I'll call it a pooling unit and then I'm going to add the suffix proximity proximity let me put in proximity raster something like that so this is just to make sure that I know I can differentiate it from all the other existing raster files so with that I can save Uh I can save it. We'll be using this Jotif. Uh this Jotif with a single uh TIFF. If you decide to make use of this one with a double uh F. It's still the same thing. It's still the same thing. And you can actually make use of any of these raster format. You can make use of any of this raster format especially if you know that you're going to be exporting it to a software that supports uh maybe a different raster format like this net cdf if you're working with a rain or other climatic data. This is an excellent file supported by by other programs that you can always save your raster in. uh you can also save you make use of format and uh so many other data types. So but here we are using the T format. So this T with single F is the same thing with this T with double F. So what actually happened is this uh one that has a single f was when computer uh computers are only allowed to have a three extension for file format. So Windows before you can only have dot then three extensions with for a file format. So that that was when the TIF was uh used. Then uh on Mac you can have more than that and then the T if with double F was actually uh used on Mac. So anyone you select is is the same thing. So I just feel that I should explain that so that uh you have at least an idea of why you will see some raster file with a single f while some raster jutt files with double f. So with the file name typed and then you have added the suffix proximity raster you can click on save. Then just make sure you confirm your settings here. We need to make sure that this is set to one because that's the target pixel we use when we are creating the bomb file. So with that done, you can now click on run. So the same thing to here we could have used run as batch processing but I'm going to do it one after the other so that it will communication will sync in well and then the workflow will be clear [clears throat] in this tutorial. So this is just for the unit. I'm going to repeat the same process for all the remaining criteria. So as you can see the pulling in a proximity raster is ready. So it has finished processing and you can see the result on the left hand side on the panel. So I can switch back and then change the input layer. But before I do that, let me quickly check the raster and let's see what we have. So as you can see, let me hide this. And then you can see this is the distance raster for the pooling unit we just created. [clears throat] Let me uncheck this. This is the distance raster. So now we don't uh we don't need this uh field load data uh for the pooling unit. So I'm going to remove it. I'll click on remove and then remove it. And then this is exactly what we wanted. So I'll repeat the same process for the historically risk incident point and then the existing security infrastructure and then the road network.
36:52
Generating Proximity Rasters for Remaining Criteria
So let's quickly do that. So I'll bring back uh no I'm not using field node data. I'm using uh proximity raster distance. So I'll just change the the layer input. So this time around let's do the lesson which is a historical uh risk incident point if you know data. So all the settings will remain the same and then the file name will change of course. So I'm doing a historical so historical risk incident point and then I'm adding a proximity raster and that is exactly what we want. So make sure the file name is correct historical uh risk incident point and then make sure the output file name is also correct. Then click on run. So this will run. So this usually takes time depending on the uh nature of uh the data within the uh input raster file. So like in that of the road network it will be very heavy. So I may have to pause the video for it to finish processing. So it has finished processing the proximity distance for historical uh risk incident point. uh raster data. So, I'm going to switch the layer to the new one. But before I do that, let me quickly remove uh the historic field no data. We don't need it anymore. Yes, that is this. We don't need this anymore. So, click remove. So now we have uh the second proximity raster five. So let's complete the remaining three. The remaining two sorry for existing security infrastructure and then the root network. So I'll bring back the proximity raster distance calculation window and then switch the input. So the input is going to be uh existing infrastructure field no data. So you can see the reason why I have to add this uh suffix so that I will not get confused. So this one that has proximity proximity raster proximity raster they have been done. So it is uh the one that has field no data that we are working on. So this one now is a existing security infrastructure. So everything remain the same apart from the file name. So I'll change the file name. So I'll change it to existing security infrastructure and then I'll add the prefix proximity raster. Click on save. Then click on run. So this will run. And uh after which we are going to do the same thing for the road network. So it is done. We need to go back change for the road network. So I'll make sure that I'm selecting the right uh layer. But before I do that, let me go back and remove the existing uh security infrastructure field no data. We don't need it. Yeah, this one. So, right click and then remove layer or simply click on this button to remove that layer. So, the last one we are working on now is this road network. So, I will go back to the window and then select road network. Then all the settings will still remain the same apart from the file name. So here I'm going to use a road road network. I'll call it uh I'll now add road network posity raster. I'll click on save and then run. So this will definitely take some time because of the size of the vector layer that was born onto the raster. So it is ready. And then that is the last but not the least. So I will close the window and go back to the layer panel and then this uh road network field load data we don't need it anymore. So select it and then remove that layer. So as you can see we now have our proximity raers raers with u and distance raers produce. So the equidian distance computation we are done on these raers.
41:56
Interpreting Euclidean Distance Raster Results
So basically what uh you are looking at here now is the raster representation of this uh vector layers. So let me make use of uh maybe the pooling unit as an example. So if I on the vector layer you look at the pooling unit and then you can see that they are cluster around some of these points. So if I expand the pooling unit, you can see that the gradient distance is from 0 to uh 39 or let's say 40 approximately. So if I on the layer, you look at the distance where we have white or gray that is where the distance is at uh uh 39 or 40 approximately. The darkest parts are where we have zero distance. So if you look at on the raster wherever you have a cooling unit from that point outward the distance increases to the white part which is maximum of 40 m. So from this pooling unit for example when you travel outwards to this white part is 40 m. So the farther you move away from the pooling unit, the more distance you have. And uh if you are not convinced, let me zoom in closely on one and then measure it. So like from this pooling unit now to this white area is going to be 40 m. Let me bring out my measuring tool. So let's measure in mters and then let's make use of cartitionian because the because the coordinate reference system of the project is set to UTM 32° not so let me measure from here to here. You can see the distance is in is in meter.
Extent Standardization and Special Truncation (Clipping)
43:56
Clipping Polling Unit Raster to Study Area
So the next thing we need to do is to uh actually clip this area.
[clears throat]
You can see most of the raers are overlapping the study area. So we need to click clip the raers to fit the study area uh perfectly. So let's see we can start with the pool image as usual to do that uh that is uh what uh this step is talking about and then uh that's the extent standardization and special truncation. So we can make use of batch clipping tool or the raster calculator but I'll just do it manually instead of using the [clears throat] batch clipping tool. So let's make use of the clipping tool. So to clip this raers to this study area that's the amach uh study area we [music] just need to go to the raster menu and then go to extraction and then clip raster by mask. So here, so here I'm going to clip the raster by a max layer and the max layer is the [bell] uh amak uh study area boundary that's the am polygon. So let me increase the size. So the input layer of course is the we are starting with the pooling unit. So the pulling unit proximity as it is this and then the max layer the max layer is the study area and mark study area boundary then of course the input CS and then the output CS is going to be the same thing they optional but it's good for us to have the same figure then the target extent the target est of course is going to be calculated from the amaka study area could be bound. Then assign specific uh no data value to the output band. Yes, we are sure that we don't have any data that is999. So we can type in that so that we will not have uh any data on it. If you make use of zero actually you can have a a you can have a pixel value that is zero. So that is why uh I will not even make use of a zero there because 0 is actually a value not uh uh a n value but something like - 9999 is completely out of range. So the software will know that this is completely out of range. So it's an outlier and then it will treat it as a no data value. Then the resolution. So even though it's optional but remember that our resolution was 10 m 10 10 m. So make sure you choose 10 m. Then uh the advanced parameter high compression 29. Then the output data type you can leave it on default or you select uh either integer or float. Let's make use of integer 32. So we make sure that all other ones to are set to integer 32 output data type. And then we need to set the file name. So set it save to file. So here I'm going to make use of uh uh the pulling unit. So uh actually I think uh there's a mistake I made here which I'm going to correct now. So I should have created different folders for all of these files so that we don't lump them in just one one place. So I'll go back a little and then I'll create a file for this particular
[snorts]
uh output raers. So this is going to be the final output raster. So the first if you recall the first raster we we created [clears throat] what we generated was the bones then the second one was the field no data. So let me quickly create the folders that's a field no data. So this one this one is this fills the holes within the raers. Then the second raster was the proximity raster. The third one, sorry, that's number three. That's a proximity proximity raster. Then the fourth one, which is one we're working on now, uh is going to be the final raster and then I can call it uh the final output or I can call it clip. clip raster something like that. I can call it the final output raster. Let me copy to the clipboard so that I can actually so remember the file we are saving is a pooling pooling unit. So, I'm going to add the suffix clipped. Let me just call it clipped. I don't want the file to be the name to be too long. So, clipped. Then I'll click on save. Then I'll click on run. But before I run, let me quickly check cross check the settings. Yes, the input file name is that correct. The max layer is that then uh what is again the target resolution the source and target reference systems are there the extent is there the no data value is correct so I'm sure that everything is set and then I'll click on run so this will create the final raster we needed for this face that's uh uh step number uh seven. So here we are just making sure that the raster is clipped to the study area. So it is still processing and then after we we do that then we will now move to the uh the eighth step which is setting of the criteria reclassification of the raster. So we are done with this. We are done with uh we're working on this currently and then in a moment we are going to do this. So let's see if it is done. So here's the processing is done. Let me check to see the output. So this is the output. As you can see this is exactly what we needed. So uh what we used to have was this but what we need is just this. So we don't need this extra space extra uh raster that are outside the study area. So that's the reason why we have to do this clipping and uh which is the step number seven where we have to do the extent standardization and special truncation. So basically what we are just doing is just to clip this proximity raers to the study area which is so I can remove this uh proximity raster since I don't need it anymore.
52:11
Clipping Remaining Criteria Rasters
Then I will repeat the same thing for the remaining three criteria. So let's do for existing security infrastructure. So I'll bring back the clip window. Then go up and then change the input layer. So it will be existing security infrastructure proximity raster. So everything remain the same apart from the file name. So I'll save it. So I'll save it here. But for easy sake, let me get the file name from here. Uh existing security infrastructure clip. So make sure you have it copy then go back and then save it here. So this is the correct file name. Click on save. Then make sure that everything is set correctly and then click on run. So remember I could have also used batch processing here but I'm doing it one after the other just to make sure that I pass uh the knowledge clearly because it's not everybody that will be familiar with running batch processing in QGIS and uh if you are using it for the first time it's usually confusing but if you're doing it manually one after the other you will see that you will get the idea and besides the layers we here are not that much. So we can always do it one after the other easy communication. So let's hold on for it to finish. So it is done and then we now need to move to the next one. So but before then I will remove the proximity. So we are done with the existing uh security infrastructure. So we don't log in this security infrastructure proximity raster. So I'm going to remove it. So all we are interested is this clip version. So let me do for historic risk incident area. Go back to the clip raster by mask input input. I will change it to historic uh risk incident point proximity raster and every other thing remain the same apart from the file name. So here I'll go back. So I'm going to save the file name here but let me quickly get the file name from this folder. So it is called uh historic. So instead of this bones I'll change the file name to Yeah. So historical risk incident point clicked. Then I'll go back to the correct folder and then save it right there. So here I just click on save and then click on run since I'm sure that everything is set right from the first uh file we process for the clipping of the raers. So it is done. Let me quickly check it and then remove the unwanted uh raster. So we no longer need this historic risk incident point proximity raster. We only need the clipped version. So then this is the clip version. So the last one is the road network proximity. So I'll go back to the window and then change the input layer to network. So road network prom everything remain the same apart from the file name. So here I think I can simply type in the file name as uh road roo road network and then I'll add this script just to differentiate it from others. So save and run. So it is done. I can now close this window. And then what I need to do now is to remove the unclipped version which is a root network proximity raster. So I'll right click and then remove it. So now we are left with the clipped versions of the proximity raster files.
57:02
Reviewing Clipped Distance Rasters
And this is exactly what we wanted. So if you take a look at what we have here now, you'll see that they actually represent this point. So let me make use of this uh road network. So if I on the road vector layer and then on the road raster layer, you'll see that where we have roots where we have uh clusters of roots, that is where we have uh the zero value. And then where we have this whitish where we have the higher value. So the distance from the root to this whitish area like here. Now you can see this white area is about 6 km. That's uh 6,000 uh 6,59 m. So in kilome is about 6 kilome from the root. So this point is the farthest distance from any of the roots on the the study area. So that is what it means uh and that is exactly what we needed for this particular uh analysis. So the same thing to if you check uh other vector like this historical risk incident point if you on the raalia you see that the farthest distance is about 30 30 kilome that's 35,865 m. So this is one of the incident point. So from that incident point to this place is about 30 km or 35 km. So the more you go away from the incident point the more the distance increase. So this is just uh the steps and then the next task we need to do is to perform step eight which is to reclassify and standardize the values. So if you look at what we have here, if you check the raster, you see that the values are not on the same scale. Like the road network, it ranges from 0 to 6,000. For historic uh risk incident point, it ranges from 0 to 35,000. You can see the difference is much for existing security stations uh security infrastructure it ranges from 0 to uh 34,000 and then from for the pooling unit it ranges from 0 to 28,000. So we need to standardize the scale and then usually we're going to make use of uh five uh 1 to five where one is usually is usually set to unsuitable and then five is set to uh best suitable. So that is what we're going to do next for uh this step uh eight.
Reclassification and Value Standardization
1:00:16
Organizing Project File Directory Structure
Okay, before I continue with uh step eight, let me quickly do some cleaning to the project folder. So here I'll go back to the phase 2 project folder and then I'm going to do some cleaning by moving some of this raster files to this uh folders we created earlier on. So if you observe carefully, we actually made a mistake earlier by not uh putting or saving the generated raster files into their respective uh folders. So like this uh the second folder that is uh named field no data and the proximity raster folder they are all empty because I mistakenly save all the folders all the generated files in the first folder called bond raster folder. So let me quickly move them in let me quickly move them into their respective folders before we continue. So let's start with this uh second folder field no data. So if I go back to the bonds folder all the files that end with field no data are supposed to be in the other uh subfolder. So let me select them and then moving move them into the folder they belong. So here we have the last one. So existing security infrastructure field no data historical uh incident point field no data unit field no data then road network field no data. So select then cut then go back to field no data and then paste them here. So just do ctrl + v and then paste them. So these are these are the files. So you can see the essence of adding the uh suffix after the name of the file. So it will help you to identify which file which raster file is which just as you can see I'm doing it very easily here. So here I'm selecting those one that are for proximity raster folder. So we have the existing existing execute infrastructure proximity raster historical incidents incident point proximity raster then the cooling unit proximity raster then the road network proximity raster so I'll copy I'll cut then take them to the proximity raster folder paste. So here we have our device. So if I go back now, all the folders [clears throat] should have three three uh four four raster folders. All the folders should have four raster folders as you can see. So the only one we did not wrongly save in the wrong folder was this one. So with this out of the way, we can now go back to the step eight.
1:03:34
Establishing Reclassification Criteria and Logic Tables
So in this step we are going to uh create a reclassification for the raster and then do what is known as uh value standardization. So you are going to understand in a moment but let me quickly explain what is going on here. So uh uh basically as I've mentioned earlier all the raers are on different uh uh sizes and if I go back to the methodology flow chart you'll see that uh if we didn't if we didn't perform this step eight very well very well or properly we are going to have issue at this uh step 11 under phase three because we cannot perform for the weighted linear combination and multi criteria over the properly if the raster are not on the same scale. Uh so uh when you are doing a map algebra and that is exactly what you are doing here. So map algebra in [clears throat] uh raster calculator expect that all your raster layers should be on the same scale and on the same uh coordinate reference system and also on the same uh uh grid uh pixel size. So uh that is what we are going to do. So to proceed with step eight, we need to reclassify all the raster into the scale of 1 to five where five is the most suitable and then uh one is uh completely unsuitable. So you need to create or prepare a table in advance for this uh which I've done and the table has to be prepared in conjunction with uh INC uh staff and also the security uh agency. You need to consult them to make sure that you prepare the table properly. So let me show you the table. So here's the table that I've prepared in advance. And uh as you can see we have all the uh four criteria factors we're working with. So the first one is the pooling unit and then you can see the scale uh the logic for security post placement in relation to this uh neck pooling unit is that it has to be very close that's between 0 to 200 m is the most suitable uh location for us to have this uh our security post. then it uh increases up to greater than 2,000 m that is a 2 km which is the unsuitable. So anything above 2 kilometer is unsuitable. Let me switch to QGIS and then show you exactly what I'm talking about. So here in QGS uh for me to clarify what I'm talking about let me quickly show you. So under face one I'll make sure the pooling unit layer is on. Then under the sub group that's two where we have the raers I'll make sure that uh only the pulling uh unit clip raster is on of course the boundary I can on the boundary so that we are sure that everything is within the boundary. So uh what I just explained [laughter] earlier on is this the uh the the security post the suitable security position we are trying to establish in this uh analysis is that for this pooling unit the best or the most suitable location for the new security post should be very close to this pooling unit. And based on the expert judgment and consultation we had is is that uh any of this uh polling unit should have a security post that is close to it that is not that should not be more than 200 m away from the pooling unit. So anything above 200 m cannot be considered as most suitable. You can only the scale will decreases from that most suitable to suitable and then to moderately suitable and then less suitable and then unsuitable if it is greater than 2 km and above. So for each of these pooling unit we need to have a security post that is close to the point based on these four criteria we are working on. So if the distance from the pooling unit to the established security post is less than is between 0 m to 200 m. So it is considered as most suitable that is five. And if the distance is between 200 m to 500 m it is considered as four that is suitable. If it is between 500 m to 1,000 m that is 1 kilome it is considered as moderately suitable that is three. If it is between 1 km to 2 km that is 1,000 m to 2,000 m it is considered as less suitable that is scale 2 and then it is if it is greater than 2 km that is 2,000 m it is considered as unsuitable. So that is how we are going to do the reclassification. Then if you check the next criteria that is uh this road network. So let me on the road network. This the vector layer for the road network and then this is the raster clip raster for the road network. So all of these road networks too uh based on the expand judgment the uh the logic for placing the security post is this uh that uh the posts the new security post should have direct road access for quick patrol deployment and reinforcement. So uh any of the uh pulling unit that is 0 to 100 m from the road from the root is considered as most suitable. While if the security if the uh polling unit is between 100 to 300 m it is considered as unsuitable as sorry as a suitable that scale for. So also if it is if the road is between 100 to 300 m it is considered as suitable that is scale four. If it is between 300 m to 600 m it is considered as moderately suitable that that is scale three. If it is between uh 600 m to 1,000 m it is considered as less suitable that is scale two. And if it is more than 1,000 m above it is considered as unsuitable. That is a skill one. So that is for road network. Then the next criteria is the existing uh security infrastructure. So let me move back to QG's and on that very layer. So here we have the security infrastructure clip raster and then we also have the existing uh security infrastructure point uh layer. So all of these points we need uh the existing security infrastructure to be distant away from the newly generated uh security post for this analysis. So the logic for the new security post placement in relation to the existing security infrastruure is that we want to avoid redundance. So we are going to prioritize area far from existing uh police stations and barracks and uh other security infrastructures. So and these are the existing security infrastructures. So we don't want to create another new security post that is close to any of these security infrastructures, any of these existing security infrastructures because that would be uh like redundant that would be like uh duplication of effort already. This existing security infrastructures already have their own security uh enforcement. So creating another having another new security post close to them is just a redundant effort. So for this criteria we need to do the reverse and that is why if you look at the most suitable uh position is far away from the existing security infrastructures. So that's the logic the logic for security post placement in relation to existing security infrastruure should be from far to close while the first two we treated are from close to far away. So the farther the security the new security post is to the existing one the most suitable it is. So that is why uh the new post that will be greater than 3 3 kilome or 3 3,000 m is considered as most suitable. Then any one between uh 2,000 to 3,000 m is considered as suitable. Then 1,000 m to 2,000 m is considered as moderately suitable. Then 500 m to 1,000 m is considered as less suitable. Then 0 to 500 m is considered as unsuitable. So you can see for this very uh criteria we don't want the new security post placement to be close to them. So that is why we need to scale it like this. Then for the last criteria uh that's uh historical risk incident point. So based on expert uh decision and judgment the new security post security post placement should be close to where there is historical uh risks of electoral violence and uh electoral disruptions. So that is why you can see that the most suitable scale is when the location or when the new post is close to is between 0 to 300 m that is a very high density that's where the historical risk incident points are very high. Then when we have a suitable scale that's a scale four the scale is between the distance is between 300 to 700 m. Then the next moderately suitable that's a scale three is between 400 to 1,200 m. Then the next one which is a less suitable that's a low density area is uh 1,00 to 2,00 1,200 to 2,000 m. Then the unsuitable that's a very low unknown uh historical risk incident point. It should be anything above 2 km. So that is key one. So basically that is how to create [clears throat] the uh matrix table. That's the reclassification table for the reclassification. We'll go back to QG's and then use the reclassification we have done using the reclassify by table from the processing toolbox to do the reclassification of the raster. So before then I will still go back to my project folder and then here I'm going to name the create a new folder. So I'll simply copy this name. Uh let me let me just call it reclassify. Yeah, recclassify by table. So I'll just call it recclassify. Let me reclassify raster. So I'll copy the name and then this is going to be folder number five and then the name of the folder is going to be reclassify raers. So we're going to save all the raers we are generating for this step eight in this very folder. So let's go back to QGS. So from QG's uh let me turn off this phase one layer.
1:16:50
Reclassifying Polling Unit Raster
We don't need it. Then uh phase two we will start with the first criteria which is the cooling unit. That is uh this one. Yeah, that's the cooling unit. So let's go back to QGS. So I'm going to bring out the processing from processing menu. go to uh toolbox or you can simply press control alternate t on your keyboard. So let me off this identification and then from here I can now type in reclassify by table. So this is the tool we are going to use reclassify by table. So double click on it to open it. Then you can make it let's increase the size of the screen. Then you can see the [clears throat] whole interface. So classify by table. This algorithm reclassify a raster band by assigning new class value based on the range specified in the uh fixed uh table. So remember the raster layer we are looking at first is the pooling unit the clipped pooling unit then uh the band of course will just be one one band is a gray uh raster is a single band raster then classify table. So this recclassify table this is where we are going to input the content of this table to reclassify that very raster. So let's go back to QGS and then we'll start from 5 4 3 2 1. So five is the most suitable while uh one is the unsuitable. So let's go back to the QG interface and then let's click on this button to the classification table. Then you need to add rows. So we want to add five rows. So I'll click on this add row button five times. 1 2 3 4 5. Let me increase the width so that we can see all the content of the table. So the first the first content is five that is the best result then followed by four 3 2 and the last one is one. So just we have it on the reclassification matrix table. So for in cooling unit we want the new uh security post should be very close to them. So that is why anything between 1 to 200 m is considered as most suitable. Then anything between uh four uh 200 m to 500 m is considered suitable. That's on scale four. then the scale reduces up to scale one as I've explained earlier. So let's input this content in that table. So most suitable is 0 to 200. So here we are. So here will be from distance zero to distance to distance 200. Then on scale four is from 200 to 500 if I'm not mistaken. Yes, 200 to 500. Then scale three is from 500 to 1,000 that is a 1 kilometer. Then scale 2 is 1,000 to 2,000. Then on value two is 1,00 to 2,000. Then on value one is anything above uh 1,000. Anything above 2,000. Sorry. Let me say 2,000. So 2,000 and above. So we can actually get the value from the raster. So as you can see from this ra from the uh ping unit clip raster. So the range is from 0 to 28,42. So we can actually approximate it to like 29,500 or 28,500 to cover the whole of this. So let me bring back the table. So anything from 2,00 to 28,500 is considered as unsuitable. So but look at something. There is something I want us to look at. Uh we are trying to reclassify all the distances on the raster that are between 0 to 200 to have the value of five. So from 0 to 200 we have the value of five. Then the next thing we need to say from 200 and 1 to 500 should have the value of four because already 200 is covered here. So there will be another 200 here. So here will be 201 to 500 will now have the value of four. So here between the value of 501 to 1,000 will now have the value of three. Then here the value of uh 1,00 1 to 2,000 we have the value of uh 2. Then here between the value of 20 1 to the maximum value which is 28,500. So even though what we have here 28,442 so when you have this value everything here will be covered. So I want I just want it to be on a rounded figure. That's why I'm putting it. But actually I can actually put the exact figure maybe 28,442 is still the same thing. So anything above this 2 kilome is considered as very unsuitable based on the classification we had here. So make sure you do it properly. When you are done and you are sure that everything is set properly then you click on. So it will be taken here and then you can see that the classification table matrix is a 5x 3 matrix. Then uh we need to check the advance. So under the advance so the output no data value here this one is correct. We don't have any data on this uh value. Then the range boundary. So here is where you need to do the select the proper range boundary. So make sure that uh in my case what I just did now I'll make sure that this range boundary is selected because what I did every value from the minimum to the maximum should be included. So value minimum value less or equal to the value and then uh greater or equal to the value. So this value the minimum is included. The maximum is also included. But for this option the maximum is included but the minimum is not included in this value. For this option the minimum is included but the maximum is not included. So for this option uh both minimum and maximum are not included. So make sure you selecting this for the very gratification I did. So, Uh let me let me let me take you here. If you leave your table matrix from 0 to 200 and then you're still repeating 200 here to 500 then don't make use of this uh very option you should be using uh this because the minimum value should not be included in the next classification. But remember in my own case I change I actually change this to be 2011 this to be 501 and this to be 1001 so that whatever is here and here will be included in the range and that is why I'm choosing this very option. So maybe in the next uh in the next criteria I'm going to leave it on this value so that you don't confuse yourself. I'm going to leave it the way it is on this table so that the you don't get confused when you're choosing this range but it's actually very straightforward. So when you have this greater or equal to on both sides both maximum and minimum are included. When you don't have greater or equal side, when you only have greater than or less than on one side, then it means [clears throat] the value is not included. But if you have equal sign, it means that the value is included. So that is just the explanation. I hope you understood that. Then uh this use no data when range number is when no range match. Yes, you can you can decide to make use of that but based on what we have done everything will be match based on the table everything will match and this you can set this to either integer or float. So let me actually make use of integer. Uh then uh the creation profile you can set it to compression high 29. Then the last thing we need to do is to save the file. So I can collapse that and then give it a file name. So I'll go here. I'll choose save to file. Then navigate to the folder. So remember this is the folder we created ear for to save the reclassification profile. So this is pooling unit. So I'm going to call it pooling unit. I'm just getting the name. So instead of clip this time around I'll just call it reclass reclassify so that I'll distinguish it so that I'll be able to distinguish the name or the raster from the others. So this is the pooling unit reclassify raster and I'm saving it in the reclassify folder. So I'll click on save. Then before I click on run, let me just go back a little and see what we have done and make sure that everything is set correctly. So raster layer name the input layer is correcting unit. Then uh the classation table if you check it you'll see that this is what we have. Yes. 0 to 200 as five. Yes. 201 to 500 as for 501 to this. Yes. Yes. Yes. Is correct. So let me explain the reason why I chose that uh boundary range. So you can see here we have a 2011 to 205. So between this minimum value and this maximum value both values are included. So that is the reason why I chose that. So like what we have here you can see here is 200 and then 500. So you can actually make use of any one you you want but make sure that under here you choose the correct uh boundary range. So I'm choosing this option because the value here in the minimum column and then the value in the maximum column are both included within the boundary. So if I have used 200 here then the value 200 is is already covered here. It will not be included here. So I can now choose the option that exempt the minimum from being included in the boundary range. So I hope you got the explanation. So with that out of our way, the file name is is good. Then we can now go to run. So this will generate a new reclassified cooling unit raster. So as you can see the result is done. And as you can see these are the classes it use. And then you can see from the uh expression here 0 less or equal to uh x less or equal to 200 is considered as 5. Then 201 less or equal to x less or equal to 500 is considered as four continuously. So let me take it aside and then as you can see this is the output we have and uh let me actually close it before we do the next one. So these are the two raers. So this is the pooling unit classify and then this is the cooling unit uh clicked. So the reason why we did the classification is so that we turn the values from one to uh five where one is unsuitable that's completely unsuitable and then five is the most suitable for this neck cooling unit criteria. So henceforth we don't need this uh clip anymore. What you need now is this recclassify raster. And as I've explained earlier, the reason why we need to reclassify it is because of this. If you look at the uh raers, they are all on different value range. So by the time we finish the reclassification, all the ranges will be between 1 and five for all the criteria. And that is what is expected in uh map algebra. to perform the correct weighted calculations in RA calculator as we're going to see in uh in phase three step 11. So let's quickly do that. So let's quickly do the reclassification for the remaining criteria. So I'm going to remove this uh clip browser for unit. We don't need it anymore. So remove it and then we keep this.
1:33:17
Reclassifying Road Network Raster
So let's check the next criteria. So the next criteria is actually the road network. And if you look at the road network is from 0 to 100 as the most suitable. And then anything above uh 1,000 m that's 1 kilometer is considered as completely unsuitable. So let's do the classification for the uh road network. So this zero network. So it ranges [clears throat] from 0 to 6 kilometer. That's 0 m to 6,59 m. So let's reclassify to between one and five where one is the unsuitable and five is the most suitable. So we go back to reclassify by table bring up the dialog window can expand it. Then uh what we need is to make sure that we are selecting the row network that is the next criteria. Then the reclassification started from 0 to 100. So I'm going to start the reclassification. Open the reclassification table. Then uh just like the previous one, we needed five rows. Then the values ranges from five 4 3 2 1. So from zero to 100 is the most suitable. Yes, that is value five. Then from uh 100 to 300 is value four. So from 100 to 300 is value four. So remember this if you don't when you are when you when you have these two values as the same you make sure that the value here is not included in the boundary. So I'm going to use this and then I'll select the other option for you to see so that you see the difference. So 300 to 600 is value three. So 300 to 600 is value three. Then uh 600 to 1 kilome is value 4. 600 to 1 kilome [clears throat] that is 1,000 m is two. Sorry. Then uh value one that's uh unsuitable most completely unsuitable is anything above 1 kilome. So I will say 1 kilome that's 1,000 m. Then the max value here we have is actually 6,000. I can either make it 7,000 or I can type the exact value here 6,59. So anything above a 1,000 is uh unsuitable. So if you look at we did not increase this to one. So when we are choosing the boundary we make sure that we choose the maximum the minimum side should not be included in the boundary range as we are going to see in a moment because what is here is repeated here. What is here is repeated here. What is here is repeated here. So this value should not be included in the lo. So let me say okay and then under advanced parameter no data value yes is correct. Then the range boundary uh the option we need there is this the minimum value should not have equal sign because it's not included. So you make sure that you choose this option. If you are doing it the other way around where the maximum value column is not included then you make use of this. So let's use this. Then uh the output data type you can use the integer 32 as we're done for the first one. Then high compression 2C29. Then we can now save the file. Remember this is the for the road network. Let me go back just to get the file name road network. Then go back to the reclassify raster and save it there. So here is going to be road network reclassify. Then I will now save. I'll click on run to run it. So this will process it. And then as you can see the class range is exactly what what we chose. So all these sides are not included. It means the first one will start from one not zero which is very much okay to for this analysis. So I can close this and then you can now see that the road classified is now between 0 to one and then if you look at the first one is between uh 1 to zero. So the reason is because of the uh boundary range we chose. So we can actually for consistency we should actually maintain the same uh boundary range. So I'll quickly go back and repeat for this so that let's maintain the same boundary range. I only try to show uh choosing a different boundary so that you understand the concept of why we need to include uh uh the minimum side and also to exclude the maximum side. So let me repeat for this so that it will start from one to five instead of from 0 to 5 the way we have it here. So I'm going to remove it and then repeat the process. So I should have left left it open so that I can repeat it but no problem I can quickly do that. So we are doing for road network. So the table I'll reclassify the table and then uh I'll make sure that this time around I include everything. So 5 4 3 2 1. Then from zero to I think it was 100 is most suitable. Yes. Then we have from 100 to 300. So instead of 100 we are not going to repeat it here. So it's going to be 101 to 300. So here will now be 10 301 to 600. So here will now be 61 to 1,000. So here will now be 1,1 to 6,59. Yeah, something like that. So you can see and then I will now verify. Yes, correct, correct, correct. Click on okay. then the advanced parameter. So I'll make sure that I'm choosing this so that every part of the minimum and part of the maximum to be what included. Then this is no data value can check that. Then uh I'll make sure that it's integer. Then the next thing is to save the file. So I'll just replace the first file. Yes, replace it. Then click on run. This will run and process it. So you can see this is the new result. And then as you can see from one from 1 to 5. Yes. From 1 to 5. And now there is consistency. Whichever option you decide to use make sure that they use it for the same. you use the option or uses the criteria for all the factors so that there'll be consistency especially when you're doing the arithmetics. So I can now remove the clip road network which is no longer needed. And then here we have a we have the two raers.
1:42:10
Reclassifying Existing Security Infrastructure Raster
Then we need to go to the third one which is a existing security infrastructure. So here you should take note it started from the larger distance to the smaller distance while the first two started from smaller distance to larger distance for the reclassification. So existing infrastructure we don't want a new infrastructure to be close to the existing infrastructure. That's why we are giving it a larger distance for most suitable. Then the uh unsuitable is the closer distance as you have seen. So let's go and do the same thing for the existing infrastructure that is this. So reclassify by table. Then you choose uh the table. So the table I'm going to add five rows as usual. So here is going to start from 5 4 3 2 and 1. So anything from 3 kilome that's a 3,000 m and above will be divid 5. So 3,000 m and above. So let's check the range. So this is actually 34 kilome that is 34,000 m. Anything from 3,000 m to 34,279 m should be what considered as most suitable or we can actually limit it to uh if you want you can you can limit it to a particular distance. let's say maybe uh 6 kilometer or 5 kilometer. So anything between 3,000 to 5 km is uh considered as most suitable something like that or you can it it all depend on your the expert judgment that led to the creation of this table. So the value doesn't have to be the same. It can be you the value can be different from what you have what you seeing on this table depending on your concentration and your uh the expert decision made. Let's move on to the next one. So uh between 2,000 to 3,000 km is considered as suitable on the value of four. So the minimum here is 2,000 to 3,000. So here I'm going to use 30,0001 or let me maintain the same thing here. here will be three 2001 on the minimum side and then here will be 3,000 uh 1. Then if I go back here 1,00 1,01, 101 to 20,00 I think it would have been very much easier to start from the bottom up but no problem since we are coming up. Then if I go back check the next range. So here it should be 500 51 to 1,000. Let me check. And then 0 to 500. So here will now be from 0 to 500. So if I'm going to go back in the reverse way from 0 to 500 is considered as unsuitable then 501 to 1,000 is considered as uh those less suitable as value of two. Then the next value of three is uh from 1 to 2,00 is considered as value of three. then uh uh 2001 to 3,000. So here should be should be actually 3,000 is considered as value of four. Then here should now be 30,0001 to the maximum value should be the most suitable uh location in relation to the existing security infrastructures. So if you take a look at we still have the same thing but in the reverse order. So instead of going from low value to higher value in this case, we are going from higher value to lower value in this case. That is the establish um classification matrix for this criteria. So existing security security infrastructures should not be close to uh the new security infrastructures. That is why the value is set on this range. So it could be confusing but that is the way it is and I hope uh you understood what is going on. So if you do that then you can now click on okay to create the table. Then the parameters you set them as usual. So here the minimum and the maximum are included. Then this should be integer. Then the profile creation profile should be high compression 29. Then the file size uh is existing security infrastructure. So let me get the file name from here existing security infrastructure. Then I can go back and save it in the reclassify folder. So instead of click I will change the prefix to reclassify just to differentiate it from the uh uh the existing uh layer since they having the same name but the preface will definitely separate them. So I'll click on save and then you click on run. So this this will do the reclassification for us. And then when when it is done, we now have uh the reclassified uh raster as this. And as you can see, it is from 1 to 5 just like the other ones. So I can remove this clip existing security infrastructure. I don't need it anymore. Now we have this.
1:48:35
Reclassifying Historical Risk Incident Point Raster
So now we are level the last uh criteria which is uh historical risk incidence point. So this for that uh for this uh criteria the reclassification is straightforward just like the previous ones the first two uh we are going from low value to high value. So I'll go back and then open up the classify by table. Then make sure that I'm selecting historical risk incident point clicked. Then the table I'll add the five rows as usual or classes. Then the value start from 5 4 3 2 and then one. So the most suitable is from 0 to 300. So from zero here to 300. So this will now be from 301 to uh 700. That's for the value of four 700. Then this will now be from 701 to I think it was 1 2 1,200. Yes. 1,200. So from 1,21 to 2,00 1,21 to 2 km. This will now be 2 kilome 2,1 and above. Let's be sure. Yeah, that's anything greater than 2 kilometer. So 2001 and above. So let's check the maximum value. So the maximum is actually 35,000 kilometer. So let's update it. That is unsuitable. 35, 865 865. So any value here is unsuitable while any value here is the most suitable. So let's cross check making sure that our entries are correct and click on okay. Then the advanc parameter we set it as usual this will be integer 32. The profile height compression 29. Then the file size is historical incident one. So let me just go back to the previous folder and get the name then save it back in this uh reclassify project folder reclassified raster folder. So I'll make sure that I'm adding the prefix so that I can distinguish the files. So uh with that done, click on save and then uh you can always go back to recheck your entries. 3001 700 7112121 I think uh everything is okay. So we can click on run. So this will now generate the new raster. So it is done. I can close it. And then this is new raster from 1 to 5. So reclassified. So this one that is clipped, I don't need it. We can now remove that very layer. So now we have all our recclassified raers done.
1:52:21
Final Inspection of Standardized Rasters and Wrap-Up
So let's start from the bottom. So this is the reclassified raster for the cooling unit. If I on the building unit, you see that uh the places close to the building unit are the most suitable and that is why it is white. It is and uh remember five is the most suitable then it goes down to one. One is the completely unsuitable. So let me quickly check the others. That's uh existing uh security infrastructure. Yes, that one is okay. Then uh historical incident point. Yes, that one is okay. Then uh road network. Yes, that is it. It's okay. If you look at it, the most suitable is this white part. So and those are the part that are closer to the root. So we need our new security post to be very close to the root because of we need a uh direct road access for quick patrol deployment and then reinforcement. So you can see this white places are close to the road while the dark parts are far away from the root which are unsuitable. As you can see on the scale of 1 to 5. So basically this is that about uh the step eight and uh with that we have completed the that very step and then we will now move to uh step 9 a and so on. But I think this video is getting too long. So I'm going to uh partition this phase two into maybe like three faces. So this is phase 2 A. This will now be phase 2 B. And then maybe this will now be phase 2 C. So let's see in the next uh video which is going to be phase 2 B. We are going to cover uh step 9 A, B, C, D, and E.



