Syllabus & Marks Distribution
| Detail | Information |
|---|---|
| Chapter | 6 — Vector Analysis |
| Teaching Hours | 6 hours |
| Marks Allocation | 10 marks |
| Total Course Marks | 80 marks |
| Weight | 12.5% of total |
Syllabus Topics
- Data management functions
- Data analysis functions
Note: This is one of the highest-weighted chapters (10 marks). Expect at least one long-answer question (5+ marks) from this chapter covering overlay, buffer, or network analysis.
Importance & Frequently Asked Topics HIGH
Marks Distribution by Each Exam
Asked 18 times across past exams. Total marks: 161. Average marks per exam: ~11.
| Exam | Marks |
|---|---|
| 2071 Bhadra | 10 |
| 2071 Magh | 10 |
| 2072 Ashwin | 11 |
| 2072 Magh | 10 |
| 2073 Bhadra | 10 |
| 2073 Magh | 10 |
| 2074 Bhadra | 16 |
| 2074 Magh | 12 |
| 2075 Bhadra | 10 |
| 2075 Magh | 12 |
| 2076 Bhadra | 10 |
| 2078 Chaitra | 10 |
| 2079 Chaitra | 10 |
| 2080 Chaitra | 10 |
| 2081 Chaitra | — |
| 2082 Shrawan | 10 |
Frequently Asked Topics
| Topic | Times Asked | Frequency |
|---|---|---|
| Data Management Functions | 13 | |
| Data Analysis Functions | 5 |
Topic-wise Importance & Exam Tips
| Topic | Importance | Key Points / Exam Tips |
|---|---|---|
| Overlay operations (Union, Intersect, Identity, Erase) | High | Most important topic in this chapter. Draw Venn diagrams for each operation. Know which features and attributes are preserved. |
| Buffer analysis | High | Frequently asked. Explain point, line, and polygon buffers. Fixed vs variable-width buffers. Give application examples (river setback, road noise zones). |
| Network analysis | High | Shortest path (Dijkstra's algorithm concept), allocation, facility location. Real-world examples: ambulance routing, school catchment areas. |
| Point-in-polygon, Line-in-polygon operations | Medium | Explain with diagrams how point/line features are overlaid with polygon boundaries. |
| Coordinate transformation | Medium | Affine transformation (6 parameters), rubber-sheeting for local adjustments. |
| Data management functions | Low | Edge matching, conflation, map joining. Brief explanations sufficient. |
| Spatial join | Medium | How attributes from one layer are transferred to another based on spatial relationship. |
Aronoff’s Classification of GIS Analytical Capabilities (Textbook pp.344–347)
- Classification, Retrieval & Measurement: Operations on a single data layer — retrieving features, classifying/reclassifying, measuring distances and areas.
- Overlay Functions: Combining multiple layers to derive new spatial information (intersection, union, clip).
- Neighbourhood Functions: Operations based on proximity — buffer zones, spatial interpolation, topographic functions (slope, aspect).
- Connectivity Functions: Operations on connected features — network analysis (shortest path), visibility analysis (line of sight), flow analysis.
1. Data Management Functions vs. Data Analysis Functions
PAST EXAM QUESTIONS ON THIS TOPIC:
- Differentiate between data management functions and data analysis functions in vector GIS [5] (2072 Ashwin, Q4a)
| Aspect | Data Management Functions | Data Analysis Functions |
|---|---|---|
| Purpose | Organize, maintain, refine, and prepare the spatial database | Derive insights, solve spatial problems, create new datasets |
| Creates new geometry? | No — works on existing data | Yes — creates new spatial features (buffers, overlays) |
| Nature | Preparatory and administrative | Investigative and problem-solving |
| Examples | Data import/export, projection transformation, topology checking, attribute editing, data validation, coordinate conversion | Buffer analysis, overlay (Clip, Intersect, Union), network analysis, point-in-polygon, proximity analysis |
| Input | Raw or existing spatial datasets | Cleaned and prepared spatial datasets |
| Output | Refined, corrected, and organized datasets | New spatial layers, statistics, reports, decision maps |
| When used | Before analysis — during data preparation phase | During the analytical phase of a GIS project |
Spatial Selection & Measurement (Textbook pp.350–365)
- Distance Measurement: Pythagorean distance:
dist(p,q) = √((xp − xq)² + (yp − yq)²) - Minimal Bounding Box (MBR): The smallest axis-aligned rectangle enclosing a feature. Used as a quick pre-filter: if bounding boxes don’t overlap, the features cannot possibly intersect. This dramatically speeds up spatial queries.
- Types of Spatial Selection: (1) Interactive selection (clicking on map), (2) Selection by attribute conditions (SQL WHERE), (3) Selection by topological relationships (containment, intersection, adjacency, distance-based).
- Combining Conditions: Atomic conditions use predicates (<, >, =, ≤, ≥, ≠). Combined with Boolean operators AND, OR, NOT and brackets using propositional calculus.
2. Three Vector Data Management Functions
PAST EXAM QUESTIONS ON THIS TOPIC:
- Explain any three vector data management functions [6] (2072 Ashwin, Q4b)
If asked to explain strict data management operations, use these three:
- Data Conversion: Transforming spatial data between different models or formats, such as converting a vector shapefile into a raster grid (Rasterization) or converting CAD files into GIS shapefiles.
- Data Editing: Modifying existing vector features to correct errors or update outdated spatial and attribute data. This includes moving vertices, reshaping polygons, or updating the text fields in the attribute table.
- Topology Building/Validation: Establishing and checking the spatial relationships between adjacent or connected features to ensure data integrity. This involves applying rules like "polygons must not have gaps" or "lines must connect at nodes" to clean up digitizing errors.
3. Detailed Geoprocessing and Vector Functions
PAST EXAM QUESTIONS ON THIS TOPIC:
- Explain following vector functions: (a) Erase (b) Clip (c) Map join (d) Update (e) Split [10] (2073 Magh, Q6)
- Explain following vector functions: (a) Union (b) Clip (c) Merge (d) Intersect [10] (2072 Magh, Q8)
- Explain following vector functions: (a) Intersection (b) Clip (c) Dissolve (d) Union [10] (2071 Bhadra, Q5)
- Explain Geoprocessing tools: (a) Clip (b) Merge (c) Union (d) Intersection (e) Prove Intersection = Union + Clip [12] (2074 Magh, Q3)
- Explain clip, merge, union, dissolve, and intersection functions with figures and tables [16] (2074 Bhadra, Q4)
- Explain geoprocessing tools: (a) Intersection (b) Union (c) Dissolve (d) Buffer (e) Clip [10] (2079 Chaitra, Q6)
- Explain vector functions with attribute table effects: (i) Buffer (ii) Dissolve (iii) Union (iv) Intersection (2082 Shrawan)
The examiners frequently ask you to explain these specific functions along with their spatial maps and attribute table effects.
Function-wise Exam Frequency
How many times each geoprocessing / vector function has been directly asked across all past exams:
| Function | Times Asked | Years Asked (descending) | Frequency |
|---|---|---|---|
| Clip | 9 | 2080, 2079, 2075 Magh, 2075 Bhadra, 2074 Magh, 2074 Bhadra, 2073, 2072, 2071 | |
| Intersect | 9 | 2082, 2080, 2079, 2075 Magh, 2075 Bhadra, 2074 Magh, 2074 Bhadra, 2072, 2071 | |
| Union | 8 | 2082, 2080, 2079, 2075 Magh, 2074 Magh, 2074 Bhadra, 2072, 2071 | |
| Dissolve | 6 | 2082, 2079, 2075 Magh, 2075 Bhadra, 2074 Bhadra, 2071 | |
| Buffer | 4 | 2082, 2080, 2079, 2075 Magh | |
| Merge | 4 | 2075 Bhadra, 2074 Magh, 2074 Bhadra, 2072 | |
| Erase | 1 | 2073 | |
| Map Join / Spatial Join | 1 | 2073 | |
| Update | 1 | 2073 | |
| Split | 1 | 2073 |
A. Clip Asked 9 times
Years: 2080, 2079, 2075 Magh, 2075 Bhadra, 2074 Magh, 2074 Bhadra, 2073, 2072, 2071
- Concept: Acts like a "cookie cutter." It extracts features from an input layer that fall strictly within the spatial boundary of a clip layer.
- Spatial Map: If the Input is a large irregular polygon (e.g., a forest) and the Clip layer is a perfect circle (e.g., a study area), the Output is only the piece of the forest that fits inside the circle.
- Attribute Table: The output layer retains only the attributes of the Input layer. The Clip layer's attributes are ignored completely.
Exam Example
Exam Example: You are given a massive geographic dataset of the entire national river network, but your final year project only focuses on a specific watershed model. You use the Clip tool, with your specific watershed boundary as the "cookie-cutter," to extract only the streams and rivers that flow within your study area. The resulting layer contains only the relevant river segments, keeping the original river attributes intact.
Attribute Table Example — Clip
Input Layer (Land Use):
| FID | LU_Type | Area_ha |
|---|---|---|
| 1 | Forest | 120.5 |
| 2 | Agriculture | 85.3 |
| 3 | Urban | 45.0 |
Clip Layer (Study Area):
| FID | Name | District |
|---|---|---|
| 1 | Watershed_A | Kavrepalanchok |
Output (Clipped):
| FID | LU_Type | Area_ha |
|---|---|---|
| 1 | Forest | 42.1 |
| 2 | Agriculture | 38.7 |
B. Intersect Asked 9 times
Years: 2082, 2080, 2079, 2075 Magh, 2075 Bhadra, 2074 Magh, 2074 Bhadra, 2072, 2071
- Concept: Computes the geometric intersection of two layers. Only those features that overlap in both layers are preserved in the output.
- Spatial Map: If Polygon A (Land Use) overlaps Polygon B (Flood Zone), the Output is strictly the overlapping middle section.
- Attribute Table: The output attribute table joins the attribute columns from both Polygon A and Polygon B for the overlapping region.
Exam Example
Exam Example: You are conducting a site response analysis to identify areas highly vulnerable to earthquake damage. You have one polygon layer showing "High Soil Liquefaction Potential" and another polygon layer showing "Dense Urban Settlements." By applying the Intersect tool, the output map will strictly show the overlapping zones—representing highly populated areas built on dangerous soil. The output attribute table merges the soil properties and the population data for those specific areas.
Attribute Table Example — Intersect
Input A (Soil Type):
| FID | Soil_Type | Permeability |
|---|---|---|
| 1 | Clay | Low |
| 2 | Sandy Loam | High |
Input B (Flood Zone):
| FID | Zone | Risk_Level |
|---|---|---|
| 1 | Floodplain_A | High |
Output (Intersected — overlap only):
| FID | Soil_Type | Permeability | Zone | Risk_Level |
|---|---|---|---|---|
| 1 | Clay | Low | Floodplain_A | High |
C. Union Asked 8 times
Years: 2082, 2080, 2079, 2075 Magh, 2074 Magh, 2074 Bhadra, 2072, 2071
- What it does: It takes two overlapping polygon layers and physically cuts them against each other. Every place where boundaries cross, a completely new, smaller polygon is created.
- The Attribute Table: It joins the columns of Table A and Table B together (horizontally). Every new polygon knows what it was in Layer A and what it was in Layer B.
- Rule: Both input layers must be polygons.
- Civil Engineering Example: You have a polygon layer of "Soil Types" and another polygon layer of "Land Use" for the exact same watershed. You use Union to find every unique combination of soil and land use. If an "Agricultural" polygon overlaps a "Clay Soil" polygon, the Union operation cuts out that specific overlapping shape and its attribute table will read: Land Use: Agricultural | Soil: Clay.
Exam Example
Exam Example: You are calculating the Runoff Curve Number for a hydrologic model (like mHM or HEC-HMS). You need to know the unique combinations of soil type and land use. You perform a Union on a "Soil Hydrologic Group" layer and a "Land Cover" layer. The output retains all spatial boundaries from both maps. The attribute table now has every polygon classified by both its soil type (e.g., Group B) and land use (e.g., Agricultural), allowing you to assign specific curve numbers to each unique plot.
Attribute Table Example — Union
Input A (Soil):
| FID | Soil_Group |
|---|---|
| 1 | Group A |
| 2 | Group B |
Input B (Land Cover):
| FID | LandCover |
|---|---|
| 1 | Forest |
| 2 | Agriculture |
Output (Union — everything kept):
| FID | Soil_Group | LandCover |
|---|---|---|
| 1 | Group A | Forest |
| 2 | Group A | Agriculture |
| 3 | Group B | Agriculture |
| 4 | Group A | NULL |
| 5 | NULL | Forest |
D. Dissolve Asked 6 times
Years: 2082, 2079, 2075 Magh, 2075 Bhadra, 2074 Bhadra, 2071
- Concept: Aggregates adjacent features or polygons that share the same attribute value into a single, larger feature.
- Spatial Map: If you have 10 adjacent small square parcels, and 8 of them share the attribute "Residential", the output merges those 8 squares into one large "Residential" polygon boundary.
- Attribute Table: The records are aggregated. Multiple rows are combined into a single record, reducing the total number of rows in the table.
Exam Example
Exam Example: You receive a highly detailed geological map with 50 different sub-classifications of soil types. For your preliminary analysis, you only need to differentiate between "Coarse-Grained" and "Fine-Grained" soils. You add a new attribute classifying them broadly, and use the Dissolve tool based on that new attribute. The tool erases the boundaries between adjacent polygons of the same broad category, merging hundreds of small polygons into just two massive geological zones.
Attribute Table Example — Dissolve
Input (Parcels):
| FID | Parcel_ID | LU_Type | Area_ha |
|---|---|---|---|
| 1 | P-101 | Residential | 2.5 |
| 2 | P-102 | Residential | 3.1 |
| 3 | P-103 | Residential | 1.8 |
| 4 | P-104 | Commercial | 4.2 |
| 5 | P-105 | Commercial | 2.9 |
Output (Dissolved on LU_Type, Statistics: SUM of Area_ha):
| FID | LU_Type | SUM_Area_ha | Count |
|---|---|---|---|
| 1 | Residential | 7.4 | 3 |
| 2 | Commercial | 7.1 | 2 |
E. Buffer Asked 4 times
Years: 2082, 2080, 2079, 2075 Magh
- Concept: Creates a proximity zone (a new polygon) around a map feature (point, line, or polygon) measured at a specific uniform or variable distance.
- Spatial Map: A line representing a highway will output a thick polygon tracing that highway at a 50m distance on both sides.
- Attribute Table: A new polygon feature is created. The attribute table typically inherits the base feature's attributes and adds a new column stating the buffer distance (e.g., "BUFF_DIST = 50").
Exam Example
Exam Example: You are tasked with environmental compliance for a new road construction project. Regulations state that no heavy machinery can operate within 100 meters of a natural water body. You use the Buffer tool on the "Rivers and Lakes" vector layer, setting a distance of 100m. This generates a new polygon representing the restricted exclusion zone along the entire water network.
Attribute Table Example — Buffer
Input (Rivers):
| FID | River_Name | Length_km | Order |
|---|---|---|---|
| 1 | Bagmati | 51.4 | 4 |
| 2 | Bishnumati | 16.8 | 3 |
Output (100m Buffer):
| FID | River_Name | Length_km | Order | BUFF_DIST |
|---|---|---|---|---|
| 1 | Bagmati | 51.4 | 4 | 100 |
| 2 | Bishnumati | 16.8 | 3 | 100 |
F. Merge Asked 4 times
Years: 2075 Bhadra, 2074 Magh, 2074 Bhadra, 2072
- What it does: It takes two completely separate datasets (usually adjacent to each other) and groups them into one single file. It does not calculate intersections or break polygons into smaller pieces.
- The Attribute Table: It simply takes the rows from Table B and adds them to the bottom of Table A (stacking them vertically).
- Rule: The input layers must be the same geometry type (e.g., you can only Merge lines with lines, or polygons with polygons).
- Civil Engineering Example: You have a shapefile of the "Kathmandu Road Network" and a separate shapefile of the "Lalitpur Road Network." You use Merge to create a single shapefile called "Valley Road Network."
Exam Example
Exam Example: You are analyzing traffic volume across a large region, but the road network shapefiles were provided by two different municipal governments. You use the Merge tool to combine the "Municipality A Roads" and "Municipality B Roads" into a single, continuous transportation dataset, stacking their attribute tables together so you can run a unified spatial analysis.
Attribute Table Example — Merge
Input A (Kathmandu Roads):
| FID | Road_Name | Type | Length_m |
|---|---|---|---|
| 1 | Ring Road | Highway | 2700 |
| 2 | Ratna Park Rd | Local | 850 |
Input B (Lalitpur Roads):
| FID | Road_Name | Type | Length_m |
|---|---|---|---|
| 1 | Pulchowk Rd | Collector | 1200 |
| 2 | Satdobato Rd | Local | 980 |
Output (Merged):
| FID | Road_Name | Type | Length_m |
|---|---|---|---|
| 1 | Ring Road | Highway | 2700 |
| 2 | Ratna Park Rd | Local | 850 |
| 3 | Pulchowk Rd | Collector | 1200 |
| 4 | Satdobato Rd | Local | 980 |
G. Erase Asked 1 time
Years: 2073
- Concept: Removes portions of the input feature that overlap with the "erase" feature. It is the geometric opposite of a Clip.
- Spatial Map: If the Input is a large polygon and the Erase layer is a smaller overlapping circle, the Output is the large polygon with a blank "hole" punched out where the circle was.
- Attribute Table: Retains only the input layer's attributes; the records and geometry for the erased portions are permanently removed.
Exam Example
Exam Example: You are finding a suitable location for a new landfill. You have a polygon layer of "Available Government Land." However, you must avoid environmentally sensitive areas. You use the Erase tool, inputting the government land and using a "Protected Forests and Watersheds" layer as the erase feature. The output is the available land with the protected areas digitally "punched out" or removed.
Attribute Table Example — Erase
Input (Government Land):
| FID | Land_ID | Status | Area_ha |
|---|---|---|---|
| 1 | GL-01 | Available | 250.0 |
| 2 | GL-02 | Available | 180.0 |
Erase Layer (Protected Forest):
| FID | Forest_Name | Protection |
|---|---|---|
| 1 | Shivapuri NP | National Park |
Output (Erased):
| FID | Land_ID | Status | Area_ha |
|---|---|---|---|
| 1 | GL-01 | Available | 145.2 |
| 2 | GL-02 | Available | 180.0 |
H. Map Join / Spatial Join Asked 1 time
Years: 2073
- What it does: It transfers attributes from one layer to another based purely on their spatial relationship (location) (like "intersects," "is completely within," or "is closest to"). It does not alter the geometric shapes of the target layer at all.
- The Attribute Table: It joins the columns of Table B to the side of Table A (widening it horizontally) based on physical location.
- Rule: The input layers can be different geometry types (e.g., you can join Polygon attributes to Point features).
- Engineering Example: For your final year project on Site Response Analysis, you have a point shapefile containing 50 individual soil borehole locations from Kathmandu Geo Lab. You also have a polygon shapefile of the Kathmandu municipal wards. If you use a Spatial Join, the software looks at where each borehole point falls physically, and automatically adds the "Ward Number" and "Ward Population" columns from the polygon map directly into your borehole point attribute table.
Exam Example
Exam Example: You have a point layer representing hundreds of individual California Bearing Ratio (CBR) soil test locations along a proposed highway alignment, and a polygon layer representing different geological wards. A Spatial Join will append the ward information (like ward number and dominant rock type) directly into the attribute table of each individual CBR point based entirely on which polygon the point physically falls inside.
Attribute Table Example — Spatial Join
Target Layer (Borehole Points):
| FID | BH_ID | SPT_N | Depth_m |
|---|---|---|---|
| 1 | BH-01 | 12 | 15 |
| 2 | BH-02 | 8 | 20 |
| 3 | BH-03 | 22 | 12 |
Join Layer (Ward Polygons):
| FID | Ward_No | Ward_Pop | Rock_Type |
|---|---|---|---|
| 1 | 5 | 18,400 | Gravel |
| 2 | 6 | 24,100 | Sand |
Output (Spatially Joined):
| FID | BH_ID | SPT_N | Depth_m | Ward_No | Ward_Pop | Rock_Type |
|---|---|---|---|---|---|---|
| 1 | BH-01 | 12 | 15 | 5 | 18,400 | Gravel |
| 2 | BH-02 | 8 | 20 | 5 | 18,400 | Gravel |
| 3 | BH-03 | 22 | 12 | 6 | 24,100 | Sand |
I. Update Asked 1 time
Years: 2073
- Concept: Computes the geometric intersection and replaces the input layer's features and attributes with the update layer's features and attributes where they overlap.
- Spatial Map: A base map of land use, and a smaller polygon of a "New Airport Development". The Output shows the base map, but the area under the new development is entirely replaced by the new polygon's shape.
- Attribute Table: The attributes of the base layer are overwritten by the attributes of the update layer purely in the overlapping region.
Exam Example
Exam Example: You have a master land-use map of a rural municipality from 2020. Recently, a "Smart Village" initiative successfully developed a specific ward, completely changing its infrastructure and land use. You use the Update tool to overlay the new 2026 ward data onto the old 2020 master map. The old map remains intact everywhere else, but the exact footprint of the upgraded ward is completely replaced by the new geometry and attributes.
Attribute Table Example — Update
Base Layer (Land Use 2020):
| FID | LU_Type | Year | Area_ha |
|---|---|---|---|
| 1 | Agriculture | 2020 | 80.0 |
| 2 | Forest | 2020 | 120.0 |
| 3 | Residential | 2020 | 45.0 |
Update Layer (New Development 2026):
| FID | LU_Type | Year | Area_ha |
|---|---|---|---|
| 1 | Smart Village | 2026 | 30.0 |
Output (Updated):
| FID | LU_Type | Year | Area_ha |
|---|---|---|---|
| 1 | Agriculture | 2020 | 55.0 |
| 2 | Forest | 2020 | 120.0 |
| 3 | Residential | 2020 | 45.0 |
| 4 | Smart Village | 2026 | 30.0 |
J. Split Asked 1 time
Years: 2073
- Concept: Breaks a single input layer into multiple separate output files using the boundaries of a split layer.
- Spatial Map: A map of rivers crossing through three different district polygons. The Output results in three completely separate files (e.g., River_DistA.shp, River_DistB.shp, River_DistC.shp).
- Attribute Table: The original attribute table is divided into multiple smaller tables, one for each new output file.
Exam Example
Exam Example: You have a complete, national-level vector layer of every bridge in the country. For administrative distribution, you need to send files to the respective provincial transport offices. You use the Split tool, using a "Provincial Boundaries" polygon layer as the split feature. The tool automatically chops the national bridge layer into seven completely separate shapefiles, one for each province.
Attribute Table Example — Split
Input (National Bridges):
| FID | Bridge_Name | Type | Span_m |
|---|---|---|---|
| 1 | Koshi Bridge | Suspension | 120 |
| 2 | Bagmati Bridge | Beam | 85 |
| 3 | Karnali Bridge | Cable-stayed | 500 |
| 4 | Trishuli Bridge | Arch | 65 |
Split Layer (Provinces): 7 provincial boundary polygons
Output File 1 — Province_1_Bridges.shp:
| FID | Bridge_Name | Type | Span_m |
|---|---|---|---|
| 1 | Koshi Bridge | Suspension | 120 |
Output File 2 — Province_3_Bridges.shp:
| FID | Bridge_Name | Type | Span_m |
|---|---|---|---|
| 1 | Bagmati Bridge | Beam | 85 |
| 2 | Trishuli Bridge | Arch | 65 |
4. Differentiating Specific Functions
PAST EXAM QUESTIONS ON THIS TOPIC:
- Differentiate between: (a) Clip and intersect (b) Merge and dissolve (2075 Bhadra, Q6a, Q6b)
Clip vs. Intersect
| Aspect | Clip | Intersect |
|---|---|---|
| Concept | Cookie-cutter — cuts input features using clip boundary | Finds the spatial overlap between two layers |
| Attribute output | Only input layer attributes retained | Attributes from BOTH layers are joined in output |
| Geometry output | Input features trimmed to clip boundary | Only the overlapping area from both layers |
| Number of inputs | Input layer + Clip layer | Input layer + Intersect layer |
| Analogy | Using a cookie cutter on dough | Finding the common area on a Venn diagram |
| Use case | Extract roads within a study area boundary | Find which land use types fall within a flood zone (need attributes of both) |
Merge vs. Dissolve
| Aspect | Merge | Dissolve |
|---|---|---|
| Concept | Combines multiple separate datasets into one | Removes internal boundaries within a single dataset based on a common attribute |
| Input | Two or more separate feature classes | One feature class |
| Features in output | All features from all inputs retained | Fewer features — adjacent features with same attribute value are merged |
| Attribute handling | Combined (may have NULL for non-matching columns) | Dissolve field retained; other fields can be summarized (SUM, MEAN) |
| Geometry change | No change — features combined as-is | Internal boundaries removed; external boundary preserved |
| Use case | Combine district-level shapefiles into national dataset | Merge all "Residential" parcels into one polygon per zone |
5. Prove that Intersection = Union + Clip
PAST EXAM QUESTIONS ON THIS TOPIC:
- Prove that Intersection = Union + Clip [part of 12] (2074 Magh, Q3e)
This mathematical/logical proof requires you to break down the operations step-by-step:
- Let Layer A be the Input Layer and Layer B be the secondary layer.
- The Union Step: Performing a Union on Layer A and Layer B results in a combined map containing three distinct geometric areas: A unique, B unique, and the Overlap (A ∩ B). Crucially, the attribute table now contains the joined columns of both A and B.
- The Clip Step: Take the output of the Union and Clip it using Layer B's exact boundary as the cookie-cutter.
- Clipping to Layer B removes anything outside of B (deleting A unique). We are left with only the area inside B. Since the problem asks for the interaction of A and B, clipping the unioned layer strictly to the overlapping zone isolates the spatial geometry of (A ∩ B).
- Conclusion: The final geometry is just the overlapping area. Because the first step was a Union, the attribute table contains the joined data from both A and B. A geometric overlap that contains the joined attributes of both input layers is the exact definition of an Intersection. Therefore, Union + Clip = Intersection.
1. The Theory Question
PAST EXAM QUESTIONS ON THIS TOPIC:
- Define the term spatial analysis. Explain different types of vector overlay operations in GIS. Also explain three examples of neighborhood functions [2+4+4] (2071 Magh, Q7)
Question: Define the term spatial analysis. Explain different types of vector overlay operations in GIS. Also explain three examples of neighborhood functions. [2+4+4]
A. Definition of Spatial Analysis (2 Marks)
Spatial analysis is the core analytical process in GIS where we extract or create new information about a set of geographic features. It involves evaluating suitability, predicting outcomes, measuring proximities, and modeling relationships between spatial data to solve complex engineering and planning problems.
B. Types of Vector Overlay Operations (4 Marks)
Vector overlay involves combining two or more separate polygon layers to create a completely new layer containing both the spatial boundaries and the attribute data of the inputs.
Intersect (The "AND" Operator): Keeps only the overlapping regions of the input layers. The output attribute table combines data from both.
Union (The "OR" Operator): Keeps the entire extent of all input layers. Polygons are split wherever lines cross, and the attribute table joins all data.
Identity / Erase: Identity keeps the base map's boundaries but adds the overlay's attributes. Erase completely removes the overlapping portions from the base map.
C. Three Examples of Neighborhood Functions (4 Marks)
Neighborhood functions analyze the relationship between a target feature and its surrounding area.
- Buffering: Creating a zone of a specified distance around a point, line, or polygon (e.g., establishing a 100m no-build zone around a river).
- Near / Distance Analysis: Calculating the exact shortest distance from one feature to another (e.g., finding the distance from a proposed school to the nearest existing hospital).
- Thiessen Polygons (Voronoi Diagrams): Creating boundaries around a set of points so that any location inside a given polygon is closer to that polygon's central point than to any other point (e.g., mapping the service areas for different rainfall stations).
Landfill Site Selection Workflow
PAST EXAM QUESTIONS ON THIS TOPIC:
10 Marks
Question: Write about the necessary tools and explain how you will perform the following analyses using GIS: Best location for landfill area so that following constraints are fulfilled: Houses > 1000m, River > 1500m, Road < 500m, Water bodies > 1500m. Provided data: Shapefile of river, land use data, point data of the houses, shapefile of roads, polygon shapefile of the study area. [10]
Here is the precise step-by-step workflow you need to write:
Step 1: Buffer the Restricted Features (Tool: Buffer)
Since a landfill is hazardous, it must be far from people and water. We buffer the restrictions:
- Buffer the "Houses" point layer by 1,000m.
- Buffer the "River" line layer by 1,500m.
- Buffer the "Water bodies" polygon layer by 1,500m.
Step 2: Combine the Restricted Zones (Tool: Union or Merge)
Use the Union tool to combine the three buffers from Step 1 into a single, massive "Restricted Area" polygon layer.
Step 3: Extract the Available Land (Tool: Erase)
Take the total "Study Area" polygon as the input feature, and use the "Restricted Area" from Step 2 as the erase feature. The output is a map of the "Available Land" where it is legally safe to build.
Step 4: Buffer the Favorable Proximity Feature (Tool: Buffer)
The site must be accessible for garbage trucks. Buffer the "Road" line shapefile by 500m to create the "Accessibility Zone".
Step 5: Isolate the Final Suitable Sites (Tool: Intersect)
Intersect the "Available Land" (from Step 3) with the 500m "Road Buffer" (from Step 4). The resulting polygons are the exact locations that meet every single distance constraint.
Step 6: Filter by Appropriate Land Use (Tool: Select by Attributes)
Using the provided "Land use data" shapefile, perform a Spatial Join with your final sites. Then, run an SQL query (e.g., SELECT * WHERE Land_Use = 'Barren') to ensure the landfill isn't placed on top of agricultural or forested land.
(Make sure to sketch a simple conceptual flowchart or a mock map showing a road with a buffer overlapping an available land polygon to secure the full 10 marks!)
Flood Plain Analysis Workflow
PAST EXAM QUESTIONS ON THIS TOPIC:
- Using GIS, perform the following analyses: (a) Locate settlements within 1 km of rivers, (b) Flood plain zoning, (c) Agricultural land in flood plain. Provided data: river shapefile, settlement point data, land use polygon shapefile, DEM, study area boundary. [10] (2073 Bhadra, Q6)
This is a multi-step vector analysis problem that uses Buffer, Intersect, and Select operations to answer three related flood-risk questions.
Part (a): Locate Settlements Within 1 km of Rivers
- Buffer the river line shapefile by 1,000 m (1 km) on both sides. Output: "River_Buffer_1km" polygon.
- Intersect (or Clip) the settlement point data with the River_Buffer_1km polygon.
- Output: Only the settlement points that fall inside the 1 km river buffer — these are the at-risk settlements.
Part (b): Flood Plain Zoning
Flood plain zoning classifies land adjacent to rivers into risk zones based on distance.
- Create multiple buffers around the river at different distances:
- 0–500 m → High Risk Zone (Zone A — Floodway)
- 500–1,000 m → Moderate Risk Zone (Zone B — Flood Fringe)
- 1,000–2,000 m → Low Risk Zone (Zone C)
- Erase the smaller buffer from each larger one to create distinct ring-shaped zones (e.g., 1000m buffer ERASE 500m buffer = Zone B only).
- Alternatively, use Multiple Ring Buffer tool (available in ArcGIS/QGIS) to create all zones at once.
- Optionally intersect with DEM-derived low-elevation areas to refine the flood plain boundary using actual topography rather than distance alone.
Part (c): Agricultural Land in Flood Plain
- Take the flood plain polygon from Part (b) (e.g., the combined High + Moderate risk zones, or the 1 km buffer).
- Intersect the flood plain polygon with the land use polygon shapefile. The output contains all land use parcels that fall within the flood plain, with attributes from both layers.
- Select by Attributes: Run SQL query
SELECT * WHERE Land_Use = 'Agriculture'on the intersected output. - Output: Polygons showing only the agricultural land that lies within the flood plain — this is the cropland at risk of flood damage.
- Optionally, calculate the total area: use the Calculate Geometry tool to sum the area of all selected agricultural polygons.
Summary of Tools Used
| Step | GIS Tool | Input | Output |
|---|---|---|---|
| (a) Settlements near rivers | Buffer + Intersect | River line + Settlement points | At-risk settlement points |
| (b) Flood plain zoning | Multiple Ring Buffer + Erase | River line | Zoned flood plain polygons |
| (c) Agriculture in flood plain | Intersect + Select by Attributes | Flood plain polygon + Land use polygon | Agricultural land at risk |
Figure-Based Question: Clip, Buffer, Intersect, Union
Figure below shows 2 roads, 7 buildings as points, and the area of interest (AOI) as polygon layers. (a) Sketch the road and building layers after clipping with the AOI polygon (assume clip-road and clip-bld are the outputs respectively). (b) Draw the 50 m buffer for each of the clipped layers along with clip-road and clip-bld layers (assume buffered layers are named as buf-road and buf-bld respectively). (c) Sketch the intersection of buf-road and buf-bld and also show the output fields. (d) Sketch the union of buff-road and buf-bld and also show the output fields.
(a) Sketch the clipped layers (2 Marks)
- What to draw: 1. Draw a dashed rectangle representing the Area of Interest (AOI). 2. Inside this rectangle, draw the roads (lines) and buildings (dots) strictly stopping at the dashed boundary. 3. Crucial detail: Do not draw any lines or dots outside the AOI. The Clip tool acts as a cookie-cutter, completely discarding anything outside the AOI polygon.
- Labels: Label the lines as clip-road and the dots as clip-bld.
(b) Draw the 50m Buffers (2 Marks)
- What to draw: 1. Redraw your clip-road lines and clip-bld dots from part (a). 2. Around every building dot, draw a circle (this is your 50m point buffer). 3. Along every road line, draw a thick, parallel boundary on both sides (this is your 50m line buffer). 4. Crucial detail: Make sure some of the building circles overlap with the road buffers, as this is required for the next steps!
- Labels: Label the circular polygons as buf-bld and the road polygons as buf-road.
(c) Sketch the Intersection and show output fields (3 Marks)
- What to draw: 1. Look at where your buf-road polygon crosses over your buf-bld circles. 2. Draw only the specific overlapping, lens-shaped areas where both buffers exist at the exact same time. Erase everything else.
- The Output Fields (Attribute Table): Because an Intersect joins the tables of both input layers, the output table must contain the columns of both the roads and the buildings.
- Draw a table with these columns: [FID] | [Shape] | [Road_fid] | [Road_name] | [Road_type] | [Bldg_fid] | [Bldg_name]
- Note: The question provided these specific fields for the road and buildings, so you must write them out to get the marks.
(d) Sketch the Union and show output fields (3 Marks)
- What to draw: 1. Draw the entirety of both buffer layers from part (b). Draw all the road buffers and all the building circles. 2. However, everywhere a circle crosses a road buffer, draw a distinct solid line to show that a new, smaller polygon has been created by the overlapping boundaries.
- The Output Fields (Attribute Table): A Union also joins the tables of both layers.
- Draw a table with the exact same columns as part (c): [FID] | [Shape] | [Road_fid] | [Road_name] | [Road_type] | [Bldg_fid] | [Bldg_name]
- Crucial detail for extra marks: Write a quick note below the table stating: "Where a building buffer does not overlap with a road buffer, the road attribute fields will contain 'Null' values, and vice versa."
Chapter Summary
This chapter covers vector-based spatial analysis in GIS, divided into data management and data analysis functions. Data management functions include: coordinate transformation (affine, projective, polynomial), edge matching, rubber-sheeting, conflation, and map-to-map transformation. Data analysis functions form the core: retrieval/classification/measurement (attribute and spatial queries), overlay operations (point-in-polygon, line-in-polygon, polygon-on-polygon using Union, Intersect, Identity, Erase, Symmetrical Difference), buffer analysis (point/line/polygon buffers with fixed or variable width), network analysis (shortest path, allocation, tracing), and spatial join operations. Each overlay operation produces different output geometries and attribute combinations. Buffer analysis creates proximity zones critical for environmental impact assessment, infrastructure planning, and zoning regulations. Network analysis enables routing, service area delineation, and facility location optimization.