Arc model builder true false parameters11/29/2022 ![]() I then wrote a loop in Python, for a list containing all the Values in the Weighted overlay, in order to iterate through the Con and Raster To Polygon Tools.I created a polygon feature that covered the weighted overlay layer with the Editing tool, I used the Erase tool to erase the merged polygon file from the rectangular polygon, and then I used this output as the Input raster or feature mask data in Extract by Mask Tool. I then used the Erase and Extract by Mask Tool (not on model builder), in order to eliminate the residential areas, the flooded areas and water bodies (they were merged in order to perform this operation).I then performed a Weighted Overlay on both Euclidean distance layers, and set the SAQ stores euclidean layer to have a weight of 30% and the grocery stores euclidean layer to have weight of 70%.I reclassified the Euclidean raster layers and inverted these values (in order to have the highest values attributed to the areas closest to these points): EucDist_SAQ_1 and EucDist_Groc1.I then used the Euclidean distance tool for both the grocery and SAQ stores.I entered the resulting attribute output file in a text file using the Python shell. I then determined the area that was under water in our current scenario, by evaluating the sum of all the areas of the polygons in the layer created in step 9 and using the Statistics analysis tool.I performed an Intersect between this new residential layer (polygon shapefile) and the 'flooded areas'.I then merged the two polygon building shapefiles: creating a residential area file.I performed a Select Layer by Location in order to select only for the areas under 5m that border the St.I converted this layer to a Polygon file in order to do the next step.I used the Reclassify Tool in order to assign the 0 value to NoData and the 1 value was left the same.I used the Raster Calculator Tool in order to find areas of elevation that are under 5m, this gave me a raster file with two values: 0 for the elevations higher than 5m and 1 for the elevations lower than 5m (don't forget to check the spatial analyst extension!).I then used the Mosaic To New Raster in order to merge the two elevation layers, and set 1 for the number of bands.I created a new shapefile for the grocery and SAQ stores by randomly selecting points in the buildings point shapefile and exporting the data.First, I projected all the layers under the NAD83/UTM zone 12N Projected coordinate system, I accomplished this by using the Project tool.We also cut out the bodies of water, the flood areas and the residential areas from the weighted overlay layer, because those areas cannot be used for construction. The second part was determining the 'ideal' relocation areas this was done by using the euclidean distance tool and weighted overlay tool. We can separate the project into two main parts: the first part was creating the flood areas and determining where these intersect with the residential areas. Grocery stores and SAQ stores: created by selecting random points from the point file and exporting the data from the point shapefile "c021L14_buildin_p".with areas that were lower than 5m in elevation), because the areas that are not bordering this River are not likely to be flooded. Lawrence River): "012L14_water_b_a": this polygon shapefile was used to eliminate the flooded areas that were not adjacent to the St. Elevation layers: "012l14_0200_m" and "012l14_0200_m": the elevation raster layer was used to identify the points that were under 5m of elevation.Residential areas: "c021L14_buildin_a" and "c021L14_builtup_a": these polygon shapefiles were merged in order to find the residential areas. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |