---
share_link: https://notesx.azraftaohid.me/ycfxgep9
share_updated: 2026-08-17T19:46:16+06:00
---
## Model Builder

- Use data of "TUTORIAL 04_SPATIAL ANALYSIS"
- Elevation -> Slope Tool -> Slope -> Reclass -> 10 Classes -> Overlay
- Existing schools -> Far
- rec_sites -> near
- landuse

### Procedure

#### Setup

- Add all data except destination
- Create a new `Toolbox` under the output folder (not within geodatabase)
- Toolbox -> New -> Model
- Model > Model Properties > General:
	- Name = SCHOOL; no space or underscore
	- Label = Find Site for Schools
- Model > Model Properties > Environments:
	- Check: Processing Extent > Extent
	- Open "Values"
	- Extent = Same as layer elevation
	- Check: Raster Analysis > Cell Size
	- Open "Values"
	- Cell Size = Same as layer elevation
	- Apply

#### Modelling

- Drag and add "elevation" from "Layers" into the builder
- Add "schools" and "rec_sites"; either drag similarly or insert
- Open "Add Data or Tool"
- Click "Home", "Up One Level" > Toolboxes > System Toolboxes
- Add Spatial Analyst Tools > Surface > Slope
- From "ArcToolbox", Spatial Analyst Tools > Distance > Euclidean Distance
- Copy paste the Euclidean Distance tool

##### Connect

- Use "Connect" to connect "elevation" with "slope"
- Click on "elevation" then "slope"; choose Input Raster
- Similarly connect "schools" with "Euclidean Distance"
- Similarly connect "rec_sites" with "Euclidean Distance (2)"

##### Run Elevation

- Right click into "Slope" > Open:
	- Select appropriate "Output raster"
	- Use "Z unit" = 0.3048
- Right click into "Slope (2)" > Add to Display
- Right click into "Slope" > Run

##### Run Schools

- Right click into "Euclidean Distance" > Open:
	- Select appropriate output
- Right click into "EucDist_School" > Add to Display
- Right click into "Euclidean Distance" > Run

##### Run Rec Sites

- Right click into "Euclidean Distance (2)" > Open:
	- Select appropriate output
- Right click into "EucDist_RecSites" > Add to Display
- Right click into "Euclidean Distance (2)" > Run

##### Reclassify

- Add Reclassify tool from ArcToolbox
- Connect "Slope (2)" with "Reclassify"
- Right click into "Reclassify" > Open
	- Classify with 10 equal intervals
	- Reverse
	- Choose appropriate output name
- Right click into "Reclass_Slope" > Add to Display
- Right click into "Reclassify" > Run
- Do the same for other to; do not reverse for "schools"

##### Overlay

- Add "Weighted Overlay" from ArcToolbox
- Connect all three reclassify outputs with this weighted overlay
- Right click into "Weighted Overlay" > Open:
	- From = 1, To = 10, By = 1; be sure to fix scale values if order is not right
	- For "Reclass_Slope" > Scale Value, set 1 through 3 as Restricted
	- Click "+" > Input Raster = "landuse"; Input Field = "LANDUSE"
	- Set scale value for landuse from manual
	- Set "% Influence" from manual
- Right click into "Weighted" > Add to Display
- Right click into "Weighted Overlay" > Run then close

##### Filter "9"

- Add "Con" from ArcToolbox
- Open:
	- Input = Weighted
	- Expression = `Value = 9`
	- True raster = "Weighted
	- Set suitable output name
- Add to Display
- Run

---

Note: To reopen the model buildier, right click into the file then edit